Citizen PPU-231 manual Lprint CHR$

Page 92

PPU-231 User’s Manual

GS :

[Function]

Starting / Ending Macro Definition

[Code]

<1D>H<3A>H

[Outline]

Specifying starting / ending macro definition.

 

Means termination when received while defining a macro.

[Caution]

Maximum content available for macro definition is 2048 bytes. A portion

 

exceeding 2048 bytes is not defined.

Even with ESC @ (initialization of the printer) having been executed, defined content is not cleared. Therefore, it is possible to include ESC @ into the content of macro definition.

Normal printing operation is carried out even while in macro definition

[Default]

• Initially, Macro is not specified.

[See Also]

GS ^

[Sample Program]

[Print Results]

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

LPRINT "+ − − − +" + CHR$ (&HA) ;

LPRINT " " + CHR$ (&HA) ;

LPRINT "+ − − − +" + CHR$ (&HA) ;

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

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

LPRINT CHR$ (2) + CHR$ (10) ;

LPRINT CHR$ (0) ;

79

CITIZEN

Image 92
Contents Line Thermal Printer Declaration of Conformity Important Safety Instructions Wichtige Sicherheitsanweisungen Lärmemission kleiner 70dBACitizen Safety Precautions Be Sure to ObserveCitizen Precautions for Installation Precautions for Handling Daily Maintenance Contents DIP Switch Setting Appendix Unpacking FeaturesOutline PPU series Printer/Presenter unit Basic SpecificationsModel Classifications 31AD series Power supply unit Options PHU series Paper holding unitPMU series Printer mechanism unit MiscellaneousPRU series Presenter unit BD2 series Control PCB with accessories Basic Specifications ESC/POSPrinting Position Paper SpecificationsRecommended Paper Printing Head and Paper Cutter Layout Outer Appearance and Component Parts PPU Printer/Presenter UnitCitizen Optional PHU Paper Holding Unit Operation Connecting the AC AdapterUsing the Power Connector GND Connecting a Power Cable to the Control PCBCN1 Connecting the Interface Cable ACK STBBusy DTR TXDRXD DSRInserting the Paper How to Remove Remaining Paper Roll Eliminating the Paper Jam Eliminating a Jam in the Printer MechanismEliminating a Jam in the Presenter Paper End Function Feed Switch FunctionReleasing a Locked Cutter Connecting the PHU Paper Holding Unit Paper Near End Function When Using the PHUCN5 PNEPresenter Control Auto-Loading FunctionSelf-Print Function DIP Switch Setting Location of DIP SwitchDIP Switch Function DIP switch 1 DS1DIP switch 2 DS2 Baud rate and parity settingPrint density Specifications Connectors Pin ConfigurationACK, BUSY, STROBE, FAULT, PE, Reset Strobe Twisted Pair GND Data ACK Busy Reset Fault Frame GNDStrobe Input and Output SignalsInput and Output Signals Electrical Characteristics Buffering Timing ChartData Receiving Control Serial Interface Input and Output Signals Data Configuration Error DetectionElectrical Characteristics RS-232C Circuit Output TXD, DTR Printer SidePower Connector Maintenance and Service Commands List Print Control Functions1DH 3AH Command Details Description of ItemsDetails ESC DESC SP ESC Lprint CHR$ &HA ESC % ESCESC & 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 G ESC EESC R Condition Canceling 90-right- turned Characters Position ESC c Parallel Interface Only ESC c ESC dESC When Using Auto Cutter ESC m When Using Auto Cutter ESC t ESC Serial Interface Only XON/XOFFInverted printing means printing the line at 180turned ESC $ n1 ESC ¥Type Only ESC $GS k n UPC-A UPC-E JAN13 EAN JAN 8 EAN CodeCodabar NW-7 UPC-AJAN-13EAN JAN-8EANCODE39 ITFTest Code Btestcode A123UPC-A GS w GS h n Specify before the GS k command GS f n GS HGS ∗ n1 N2 d n1 × n2 × Sample Program Print Results 203 DPI Double wide mode Lprint CHR$ GS n1 n2 n3 Character Codes Table InternationalJapanese International Character Code Table Appendix 1. Block Diagram Appendix 2. Outline Drawing for PPU Unit mmAppendix 3. Outline Drawing for PHU