Citizen PPU-231 manual Esc %

Page 57

PPU-231 User’s Manual

ESC %

n

 

 

 

 

 

 

[Function]

 

Specifying/Canceling Download Character Set

 

 

 

 

[Code]

 

<1B>H<25>H<n>

 

 

 

 

 

 

[Range]

{0 ≤ n ≤ FF} data is described in Hex code.

 

 

 

 

 

[Outline]

 

Specifying/canceling download characters.

 

 

 

 

 

 

 

Further, only the lowest bit (n0) is valid for n.

 

 

 

 

 

The lowest bit (n0) indicates the following.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n0

 

Function

 

 

 

 

 

 

0

 

Canceling download character set

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Specifying download character set

 

 

 

 

 

 

 

 

[Caution]

Download characters and download bit images can not be defined simultaneously.

[Default]

 

n = 0

 

 

 

 

 

 

[See Also]

 

ESC &

 

 

 

 

 

 

[Sample Program]

 

 

 

 

 

 

 

 

GOSUB SETCHR

 

DATA

6

 

 

 

 

 

LPRINT CHR$ (&H1B) + "%" + CHR$ (0) ;

DATA

&HFF,

&H80,

&H00

 

 

LPRINT "@A" + CHR$ (&HA) ;

DATA

&H80,

&H80,

&H00

 

 

LPRINT CHR$ (&H1B) + "%" + CHR$ (1) ;

DATA

&H80,

&H80,

&H00

 

 

LPRINT "@A" + CHR$ (&HA) ;

DATA

&H80,

&H80,

&H00

 

 

END

 

DATA

&HFF,

&HFF,

&HFF

 

SETCHR :

 

DATA

&HFF,

&HFF, &HFF

 

 

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

DATA

12

 

 

 

 

 

LPRINT CHR$ (3) + "@" + "A" ;

DATA

&HFF,

&HFF,

&HFF

 

 

FOR J=1 TO 2

 

DATA

&H80,

&H07,

&HF9

 

 

READ REP

 

DATA

&H80,

&HFF, &HF9

 

 

LPRINT CHR$ (REP) ;

 

DATA

&H87,

&HFE, &H01

 

 

FOR I=1 TO REP∗3

 

DATA

&H9F,

&H06,

&H01

 

 

READ D

 

DATA

&HF8,

&H06,

&H01

 

 

LPRINTCHR$ (D) ;

 

DATA

&HF8,

&H06,

&H01

 

 

NEXT I

 

DATA

&H9F,

&H06,

&H01

 

 

NEXT J

 

DATA

&H87,

&HFE,

&H01

 

 

RETURN

 

DATA

&H80,

&HFF, &HF9

 

 

 

 

 

DATA

&H80,

&H07,

&HF9

 

 

 

 

 

DATA

&HFF,

&HFF,

&HFF

[Print Results]

44

CITIZEN

Image 57
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 Details ESC 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