Citizen PPU-231 manual Specify before the GS k command

Page 87

PPU-231 User’s Manual

GS H n

[Function]

Selecting of Printing Position of HRI Code

[Code]

<1D>H<48>H<n>

 

 

[Range]

{0 ≤ n ≤ 3} Data is described in Hex code.

[Outline]

Selecting printing position of HRI code in printing bar codes.

 

• "n" means the followings.

 

 

 

 

 

 

 

 

n (Hex)

 

Printing Position

 

 

 

0

 

No printing

 

 

 

1

 

Above the bar code

 

 

 

2

 

Below the bar code

 

 

 

3

 

Both above and below the bar code

 

 

The HRI code refers to the bar code-turned characters so that you can read them.

[Caution]

The HRI code is printed in the font selected with GS f.

 

Specify before the GS k command.

[Defult]

• The initial value of n is "0".

[See Also]

GS f

 

 

[Sample Program]

 

 

 

[Print Results]

LPRINT CHR$ (&H1B) + "3" + CHR$ (5) ;

LPRINT CHR$ (&H1D) + "h" + CHR$ (50) ;

LPRINT CHR$ (&H1D) + "H" + CHR$ (0) ;

GOSUB BC

LPRINT CHR$ (&H1D) + "H" + CHR$ (1) ;

GOSUB BC

LPRINT CHR$ (&H1D) + "H" + CHR$ (2) ;

GOSUB BC

LPRINT CHR$ (&H1D) + "H" + CHR$ (3) ;

GOSUB BC

END

BC :

LPRINT CHR$ (&H1D) + "k" ;

LPRINT CHR$ (4) ;

LPRINT "12" + CHR$ (0) ;

LPRINT CHR$ (&HA) ;

RETURN

74

CITIZEN

Image 87
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 DSR DTRTXD RXDInserting 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 PNE Connecting the PHU Paper Holding UnitPaper Near End Function When Using the PHU CN5Auto-Loading Function Self-Print FunctionPresenter Control Location of DIP Switch DIP Switch SettingBaud rate and parity setting DIP Switch FunctionDIP switch 1 DS1 DIP switch 2 DS2Print density Strobe Twisted Pair GND Data ACK Busy Reset Fault Frame GND SpecificationsConnectors Pin Configuration ACK, BUSY, STROBE, FAULT, PE, ResetInput 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 GS k nUPC-A UPC-E JAN13 EAN JAN 8 EAN Code Codabar NW-7ITF JAN-13EANJAN-8EAN CODE39Code 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