Citizen PPU-231 manual Type Only, Esc $

Page 80

PPU-231 User’s Manual

ESC

n1

n2

 

[Function]

 

Specifying the Relative Positions

[Code]

 

<1B>H<5C>H<n1>< n2>

[Range]

 

{0 ≤ n1 ≤ FF}

 

 

{0 ≤ n2 ≤ FF} Data is described in Hex code.

[Outline]

 

The printing start position is specified in the number of dots(1/203 inch unit) from the

 

 

current position.

 

 

• Rightward direction is taken as plus and leftward direction as minus.

• To specify N dot in minus (left) direction, use a complement of N for assignment. N dots = 65536 N

The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1.

[Caution]

• Specifying exceeding the top of line or the end of line is ignored.

[Default]

• The initial value is not specified.

[See Also]

ESC $

[Sample Program]

[Print Results]

 

See Sample Program and Print Results for ESC $ on Page 66.

GS S

(M-type Only)

 

[Function]

Detecting the Black Mark

[Code]

<1D>H<53>H

[Outline]

The command is valid only when the DS2-5 is set to OFF.

 

When the black mark is valid, inputting the command detects the black mark.

 

When the printer powers on, the black mark is detected and the printing paper is cut

 

and ejected.

 

When an 18-inch black mark cannot be detected, as an alarm, BUSY and FAULT are

 

printed and the printing paper is cut and ejected.

[Caution]

When the DS2-5 is set to ON, the command is disregarded.

 

Even when the command detects the black mark, the printer cuts the printing paper but

 

doesn't eject it.

 

After the alarm, powering the printer on again restores the command.

67

CITIZEN

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