Citizen PPU-231 manual Esc =

Page 64

PPU-231 User’s Manual

ESC =

n

 

 

 

 

 

 

 

 

[Function]

 

Data Input Control

 

 

 

 

 

 

[Code]

 

<1B>H<3D>H<n>

 

 

 

 

 

 

[Range]

 

{0 ≤ n ≤FF}

Data is described in Hex code.

 

 

 

 

 

[Outline]

 

Selecting equipment in which data input from the host is effective.

 

 

 

 

 

• Each bit of n indicates as follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Equipment

 

 

Value

 

 

 

 

 

 

 

0

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Printer

 

Invalid

 

Valid

 

 

 

 

 

1

 

Not defined

 

 

 

 

 

 

 

 

 

2

 

Not defined

 

 

 

 

 

 

 

 

 

3

 

Not defined

 

 

 

 

 

 

 

 

 

4

 

Not defined

 

 

 

 

 

 

 

 

 

5

 

Not defined

 

 

 

 

 

 

 

 

 

6

 

Not defined

 

 

 

 

 

 

 

 

 

7

 

Not defined

 

 

 

 

 

 

 

 

 

• When the printer has not been selected, this printer abandons all the

 

received data

 

 

until it is selected by this command.

 

 

 

 

 

[Caution]

 

• Even when

the printer has not been selected, it can become BUSY state

 

 

through printer operation.

 

 

 

 

 

 

 

 

• When the printer is deselected, this printer

discards all the data

until it

is

 

 

selected with this command.

 

 

 

 

 

 

[Default]

 

• The initial value of n is "1".

 

 

 

 

 

 

[Sample Program]

LPRINT "AAAAA" ;

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

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

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

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

[Print Results]

51

CITIZEN

Image 64
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 Outline FeaturesUnpacking Model Classifications Basic SpecificationsPPU series Printer/Presenter unit 31AD series Power supply unit Options PHU series Paper holding unitPRU series Presenter unit MiscellaneousPMU series Printer mechanism unit BD2 series Control PCB with accessories Basic Specifications ESC/POSRecommended Paper Paper SpecificationsPrinting Position Printing Head and Paper Cutter Layout Outer Appearance and Component Parts PPU Printer/Presenter UnitCitizen 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 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 Releasing a Locked Cutter Feed Switch FunctionPaper End Function Connecting the PHU Paper Holding Unit Paper Near End Function When Using the PHUCN5 PNESelf-Print Function Auto-Loading FunctionPresenter Control 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 GNDInput and Output Signals Input and Output SignalsStrobe Electrical Characteristics Data Receiving Control Timing ChartBuffering 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