Citizen PPU-231 manual Print Control Functions, Commands List

Page 50

PPU-231 User’s Manual

10. PRINT CONTROL FUNCTIONS

10.1Commands List

 

Control Code

Function

Code

Page

1

HT

 

Horizontal tab

09H

40

2

LF

 

Printing and paper feed

0AH

40

3

CR

 

Print

0DH

41

4

ESC SP

Setting the right space amount of the character

1BH 20H n

41

5

ESC

!

Collective specifying printing mode

1BH 21H n

42

6

ESC

%

Specifying/canceling download character set

1BH 25H n

44

7

ESC

&

Defining download characters

1BH 26H s n m

 

 

 

 

 

[a p1 p2 ... ps×a]

45

 

 

 

 

m-n+1

 

 

 

 

 

 

 

8

ESC

Specifying the bit image mode

1BH 2AH m n1

47

 

 

 

 

n2 [d]k

 

 

 

 

 

9

ESC

Specifying/canceling underline

1BH 2DH n

49

10

ESC

2

Specifying 1/6-inch line feed rate

1BH 32H

49

11

ESC

3

Setting line feed rate of minimum pitch

1BH 33H n

50

12

ESC

=

Data input control

1BH 3DH n

51

13

ESC

@

Initializing the Printer

1BH 40H

52

14

ESC

D

Setting horizontal tab position

1BH 44H [n]k 00H

53

15

ESC

E

Specifying/canceling highlighting

1BH 45H n

54

16

ESC

G

Specifying/canceling double printing

1BH 47H n

55

17

ESC

J

Printing and feeding paper n/203 inch

1BH 4AH n

55

18

ESC

R

Selecting the international character set

1BH 52H n

56

19

ESC

V

Specifying/Canceling 90°-right- turned Characters

1BH 56H n

57

20

ESC

a

Aligning the characters

1BH 61H n

58

21

ESC

c3

Selecting the paper near end sensor valid for a paper end

1BH 63H 33H n

59

22

ESC

c4

Selecting the paper near end sensor valid for print stop

1BH 63H 34H n

59

23

ESC

c5

Enabling/disabling the panel switches

1BH 63H 35H n

60

24

ESC

d

Printing and feeding the paper by n lines

1BH 64H n

60

25

ESC

i

Activating auto cutter

1BH 69H

61

26

ESC

m

Activating auto cutter

1BH 6DH

62

27

ESC

p

NOP

 

 

28

ESC

t

Selecting the character code table

1BH 74H n

63

29

ESC

u

NOP

 

 

30

ESC

v

Transmitting the printer status (Serial type)

1BH 76H n

64

31

ESC

{

Specifying/canceling the inverted characters

1BH 7BH n

65

32

ESC

$

Specifying the absolute positions

1BH 24H n1 n2

66

33

ESC

 

Specifying the relative positions

1BH 5C n1 n2

67

34

GS

S

Detection of black mark (M model)

1DH 53H

67

35

GS

k

Printing the bar code

1DH 6BH n [“d”]k 00H

68

36

GS

w

Selecting the horizontal size (scale factor) of bar code

1DH 77H n

72

37

GS

h

Selecting the height of the bar code

1DH 68H n

73

38

GS

H

Selecting of print position of HRI code

1DH 48H n

74

37

CITIZEN

Image 50
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 RXD DTRTXD 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 CN5 Connecting the PHU Paper Holding UnitPaper Near End Function When Using the PHU PNEPresenter Control Auto-Loading FunctionSelf-Print Function DIP Switch Setting Location of DIP SwitchDIP switch 2 DS2 DIP Switch FunctionDIP switch 1 DS1 Baud rate and parity settingPrint density ACK, BUSY, STROBE, FAULT, PE, Reset SpecificationsConnectors Pin Configuration 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 $Codabar NW-7 GS k nUPC-A UPC-E JAN13 EAN JAN 8 EAN Code UPC-ACODE39 JAN-13EANJAN-8EAN 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