Citizen PPU-231 manual ESC Serial Interface Only, Xon/Xoff

Page 77

PPU-231 User’s Manual

ESC v

(Serial Interface Only)

 

[Function]

Transmitting the printer status(Serial Type)

 

[Code]

<1B>H<76>H

 

[Outline]

Current printer status is transmitted..

 

[Caution]

Status sent out consists of 1 byte whose content is as in the table below.

 

 

In DTR/DSR control, after receptible state of the host (DSR signal being

in

SPACE state) is confirmed, only 1 byte is transmitted.

In

XON/XOFF

control, DSR signal state not being confirmed, only 1 byte

is transmitted.

In DTR/DSR control, when the host is in unreceptible state(DSR signal

being in

MARK state), it waits until receptible state is created.

 

 

In paper end (paper near end) status, this command may be unreceptible state due to BUSY state.

Remarks. This command is valid only for serial interface model.

Bit

Function

 

Value

 

 

0

 

1

0

Paper near end

with paper

 

without paper

1

Not defined

 

 

 

2

Paper end

With paper

 

Without paper

3

Not defined

 

 

 

4

Not used

Fixed to 0

 

5

Not defined

 

 

 

6

Not defined

 

 

 

7

Not defined

 

 

 

[Sample Program]

OPEN "COM1:N81NN" AS #1 ;

PRINT #1, CHR$ (&H1B) + "v" ;

A$ = INPUT$ (1, #1) ;

CLOSE #1

64

CITIZEN

Image 77
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 Unpacking FeaturesOutline PPU series Printer/Presenter unit Basic SpecificationsModel Classifications Options PHU series Paper holding unit 31AD series Power supply unitPMU series Printer mechanism unit MiscellaneousPRU series Presenter unit BD2 series Control PCB with accessories ESC/POS Basic SpecificationsPrinting Position Paper SpecificationsRecommended Paper Printing Head and Paper Cutter Layout PPU Printer/Presenter Unit Outer Appearance and Component PartsCitizen 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 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 Paper End Function Feed Switch FunctionReleasing a Locked Cutter Paper Near End Function When Using the PHU Connecting the PHU Paper Holding UnitCN5 PNEPresenter Control Auto-Loading FunctionSelf-Print Function 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 GNDStrobe Input and Output SignalsInput and Output Signals Electrical Characteristics Buffering Timing ChartData Receiving Control 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