Citizen PPU-231 manual GS n1 n2 n3

Page 93

PPU-231 User’s Manual

GS ^ n1 n2 n3

[Function]

Executing the Macro

 

 

[Code]

<1D>H<5E>H<n1><n2><n3>

[Range]

{0 ≤ n1 ≤ FF}

 

 

 

{0 ≤ n2 ≤ FF}

 

 

 

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

[Outline]

Executing contents defined in macro.

 

• "n1∼n3" indicate as follows:

 

n1 : The number of times of macro execution

 

n2 : Waiting time on macro execution

 

 

Waiting time of n2 x 100 msec is given for every execution.

 

n3 : Macro execution mode

 

 

 

 

 

 

 

 

n3

 

Mode

 

 

 

0

 

Continuous execution

 

 

 

1

 

Execution by LFSW

 

 

Continuous execution:

The Macro is executed n1 times continuously at the time

 

 

 

 

intervals specified by n2.

 

Execution by FEED S:

After waiting for lapse of time specified by n2, the

 

 

 

 

ALAME LED flickers and the LF switch is waited to be

 

 

 

 

pressed. When it is pressed, the macro is executed once.

 

 

 

 

This action is repeated n1 times.

[Caution]

• When this command is received while in macro definition, suspension of macro

 

 

definition is indicated. At this time, the defined content is cleared.

 

• No execution takes place when macro is held undefined or n1=0.

 

• While in macro execution with n3=1, paper feed with the LF SW is not available.

[Default]

• Initially, this command is not specified.

[See Also]

GS :

 

 

[Sample Program]

 

 

 

[Print Results]

See Sample Program and Print Results for GS : on Page 79.

80

CITIZEN

Image 93
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