Citizen PPU-231 manual ESC c Parallel Interface Only

Page 72

PPU-231 User’s Manual

ESC c

3 n

 

 

 

 

(Parallel Interface Only)

[Function]

 

Selecting the paper near end sensor valid for a paper end signal output

[Code]

 

<1B>H<63>H<33>H<n>

 

 

 

 

[Range]

 

0 ≤ n ≤255

 

 

 

 

 

 

[Outline]

 

This command selects at which paper near end sensor a paper end signal should be output.

 

 

Each bit for n has the following meaning:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Position

 

 

Value

 

 

 

 

 

0

 

1

 

 

 

 

 

 

 

 

 

 

 

0

 

Paper near end

 

Disabled

 

Enabled

 

 

 

17

 

Undefined

 

 

 

 

 

 

 

This printer can only select one kind of paper end detection, a paper-near-end sensor. n is

 

 

valid for the least significant bit (n0).

 

 

 

 

[Caution]

 

This command is valid only for the parallel interface.

[Default]

 

A default of n is what has been set with the DIP switch (DS2-1).

[Sample Program]

 

 

 

 

 

 

 

 

LPRINT CHR$(&H1B);"c3";CHR$(0);

 

 

 

 

 

.………When outputting the paper-end signal at the paper end

 

 

LPRINT CHR$(&H1B);"c3";CHR$(1);

 

 

 

 

 

…………When outputting the paper-end signal at the paper near end

ESC

c

4

n

 

 

 

 

 

 

[Function]

 

Selecting the paper near end sensor valid for print stop

 

 

[Code]

 

 

<1B>H<63>H<34>H<n>

 

 

 

 

[Range]

 

0 ≤ n ≤ 255

 

 

 

 

 

 

[Outline]

 

This command selects at which paper near end sensor printing should be stopped. Each bit

 

 

 

for n has the following meaning:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Position

 

Value

 

 

 

 

 

 

 

0

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Paper near end

 

Disabled

 

Enabled

 

 

 

 

17

 

Undefined

 

 

 

 

 

 

 

 

This printer can only select one kind of paper-end detection, a paper-near-end sensor. n is

 

 

 

valid for the least significant bit (n0).

 

 

 

 

[Default]

 

A default of n is what has been set with the DIP switch (DS2-1).

[Sample Program]

LPRINT CHR$(&H1B);"c4";CHR$(0);

………When stopping printing at the paper end

LPRINT CHR$(&H1B);"c4";CHR$(1);

………When stopping printing at the paper near end

59

CITIZEN

Image 72
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 Features OutlineUnpacking Basic Specifications Model ClassificationsPPU series Printer/Presenter unit 31AD series Power supply unit Options PHU series Paper holding unitMiscellaneous PRU series Presenter unitPMU series Printer mechanism unit BD2 series Control PCB with accessories Basic Specifications ESC/POSPaper Specifications Recommended PaperPrinting Position Printing Head and Paper Cutter Layout Outer Appearance and Component Parts PPU Printer/Presenter UnitCitizen 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 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 Feed Switch Function Releasing a Locked CutterPaper End Function Connecting the PHU Paper Holding Unit Paper Near End Function When Using the PHUCN5 PNEAuto-Loading Function Self-Print 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 Timing Chart Data Receiving ControlBuffering 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