Citizen PPU-231 manual GS k n, UPC-A UPC-E JAN13 EAN JAN 8 EAN Code, Codabar NW-7, Upc-A

Page 81

PPU-231 User’s Manual

GS k n

[ d ] k

NUL

 

 

 

[Function]

 

Printing the Bar Code

 

 

 

[Code]

 

<1D>H<6B>H<n> [ < d> ] k <00>H

 

 

 

[Range]

 

{0 ≤ n ≤ 7}

Data are described in Hex code.

 

 

 

[Outline]

Specifying a type of bar code and printing bar codes.

 

 

 

 

• The beginning of line is considered as the next printing start position.

 

• Depending on the value of n, the following bar code can be selected.

 

d indicates a character code to be printed and k indicates the number of character to be

 

printed.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n (Hex)

 

Bar Code System

 

Maximum Columns

 

 

 

 

0

 

UPC-A

 

---

 

 

 

 

 

1

 

UPC-E

 

---

 

 

 

 

 

2

 

JAN13 (EAN)

 

---

 

 

 

 

 

3

 

JAN 8 (EAN)

 

---

 

 

 

 

 

4

 

CODE 39

 

19

 

 

 

 

 

5

 

ITF

 

34

 

 

 

 

 

6

 

CODABAR (NW-7)

 

25

 

 

 

 

 

7

 

CODE 128

 

23

 

 

[Caution]

When data being held in the print buffer, this command is ignored.

 

• Regardless of the specified feed pitch, this command feeds the paper to be required

 

 

to print a bar code.

 

 

 

 

• If the character code d cannot be printed in the respective bar code system, the bar

 

 

code so far will be printed, processing the subsequent data as normal data.

 

•When a bar code whose number of characters to be printed is fixed has been selected,

 

 

the number of characters k have to be always made equal to the number of

 

 

characters to be printed. (The bar code is not printed when not matching.)

 

• When the horizontal direction exceeds one line length, the excess part is not printed.

[Default]

• The initial value is not specified.

 

 

 

[Description of Bar Codes]

<For print examples, see Page 70.>

 

 

 

UPC-A

This bar code, consisting of numerals only, has a fixed length of 12 column; a 11-columns

 

number entered from the host or application software plus a check column(12th column)

 

automatically calculated inside the printer. If the 12th-column numeral is sent from the host,

 

the entire bar code will be printed as it is.

 

 

 

UPC-E

This bar code, consisting of numerals only, has a fixed length of 8 column; the first number

 

system character is "0" stationary. A 12-column numeral entered from the host or

 

application software is compressed to 8 columns with a check column and printed. The

68

CITIZEN

Image 81
Contents Line Thermal Printer Declaration of Conformity Important Safety Instructions Lärmemission kleiner 70dBA Wichtige SicherheitsanweisungenCitizen Be Sure to Observe Safety PrecautionsCitizen Precautions for Installation Precautions for Handling Daily Maintenance Contents DIP Switch Setting Appendix Features OutlineUnpacking Basic Specifications Model ClassificationsPPU series Printer/Presenter unit Options PHU series Paper holding unit 31AD series Power supply unitMiscellaneous PRU series Presenter unitPMU series Printer mechanism unit BD2 series Control PCB with accessories ESC/POS Basic SpecificationsPaper Specifications Recommended PaperPrinting Position Printing Head and Paper Cutter Layout PPU Printer/Presenter Unit Outer Appearance and Component PartsCitizen Optional PHU Paper Holding Unit Connecting the AC Adapter Using the Power ConnectorOperation Connecting a Power Cable to the Control PCB CN1GND Connecting the Interface Cable STB BusyACK TXD DTRRXD DSRInserting the Paper How to Remove Remaining Paper Roll Eliminating a Jam in the Printer Mechanism Eliminating the Paper JamEliminating a Jam in the Presenter Feed Switch Function Releasing a Locked CutterPaper End Function Paper Near End Function When Using the PHU Connecting the PHU Paper Holding UnitCN5 PNEAuto-Loading Function Self-Print FunctionPresenter Control Location of DIP Switch DIP Switch SettingDIP switch 1 DS1 DIP Switch FunctionDIP switch 2 DS2 Baud rate and parity settingPrint density Connectors Pin Configuration SpecificationsACK, BUSY, STROBE, FAULT, PE, Reset Strobe Twisted Pair GND Data ACK Busy Reset Fault Frame GNDInput and Output Signals Input and Output SignalsStrobe Electrical Characteristics Timing Chart Data Receiving ControlBuffering Serial Interface Input and Output Signals Error Detection Data ConfigurationOutput TXD, DTR Printer Side Electrical Characteristics RS-232C CircuitPower Connector Maintenance and Service Print Control Functions Commands List1DH 3AH Description of Items Command DetailsESC D DetailsESC SP ESC Lprint CHR$ &HA ESC ESC %ESC & s n P s × a m n +1 Citizen ESC ∗ m n1 N2 d k Example Sample Program ESC − n ESC 3 n ESC = 52CITIZEN ESC D n NUL ESC E ESC E ESC GESC R Condition Canceling 90-right- turned Characters Position ESC c Parallel Interface Only ESC d ESC cESC When Using Auto Cutter ESC m When Using Auto Cutter ESC t XON/XOFF ESC Serial Interface OnlyInverted printing means printing the line at 180turned ESC ¥ ESC $ n1ESC $ Type OnlyUPC-A UPC-E JAN13 EAN JAN 8 EAN Code GS k nCodabar NW-7 UPC-AJAN-8EAN JAN-13EANCODE39 ITFCode Btestcode A123 TestUPC-A GS w GS h n Specify before the GS k command GS H GS f nGS ∗ n1 N2 d n1 × n2 × Sample Program Print Results 203 DPI Double wide mode Lprint CHR$ GS n1 n2 n3 International Character Codes TableJapanese International Character Code Table Appendix 1. Block Diagram Unit mm Appendix 2. Outline Drawing for PPUAppendix 3. Outline Drawing for PHU