Citizen PPU-231 manual ESC $ n1, Esc ¥

Page 79

PPU-231 User’s Manual

ESC $ n1

n2

[Function]

Specifying the Absolute Positions

[Code]

<1B>H<24>H<n1><n2>

[Range]

{0 ≤ n1 ≤ FF}

 

{0 ≤ n2 ≤ 1} Data is described in Hex code.

[Outline]

The printing start position is specified in the number of dots (1/203 inch

unit) from the beginning of line.

The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1.

Therefore, the printing start position is equal to n1 + n2 x 256 from the beginning of line..

[Caution]

• Specifying beyond the line end is ignored.

[Default]

• The initial value is not specified.

[See Also]

ESC ¥

[Sample Program]

 

 

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

 

LPRINT CHR$ (0) + CHR$ (0) + "A" ;

 

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

 

LPRINT CHR$ (50) + CHR$ (0) + "B" ;

 

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

 

LPRINT CHR$ (0) + CHR$ (1) + "C" ;

 

LPRINT CHR$ (&HA) ;

 

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

 

LPRINT CHR$ (100) + CHR$ (0) + "A" ;

 

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

 

LPRINT CHR$ (&HC2) + CHR$ (&HFF) + "B" ;

 

LPRINT CHR$ (&HA) ;

[Print Results]

 

66

CITIZEN

Image 79
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 Outline FeaturesUnpacking Model Classifications Basic SpecificationsPPU series Printer/Presenter unit Options PHU series Paper holding unit 31AD series Power supply unitPRU series Presenter unit MiscellaneousPMU series Printer mechanism unit BD2 series Control PCB with accessories ESC/POS Basic SpecificationsRecommended Paper Paper SpecificationsPrinting Position Printing Head and Paper Cutter Layout PPU Printer/Presenter Unit Outer Appearance and Component PartsCitizen Optional PHU Paper Holding Unit Using the Power Connector Connecting the AC AdapterOperation CN1 Connecting a Power Cable to the Control PCBGND Connecting the Interface Cable Busy STBACK 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 Releasing a Locked Cutter Feed Switch FunctionPaper End Function PNE Connecting the PHU Paper Holding UnitPaper Near End Function When Using the PHU CN5Self-Print Function Auto-Loading 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 Data Receiving Control Timing ChartBuffering 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