|
Description
|
ASCII
|
Hex
|
IPCL equivalent code
|
|
Low Level paper Motion
|
|
|
|
|
Line feed
|
[LF]
|
0AH
|
&%LF
|
|
Carriage return
|
[CR]
|
0DH
|
&%CR
|
|
Back space
|
[BS]
|
08H
|
&%BS
|
|
Horizontal tab
|
[HT]
|
09H
|
&%HT
|
|
Set horizontal tab stops
|
[ESC] D <n1> <n2>... <ni> <0>
|
1BH,44H
|
none
|
|
Set horizontal position
|
[ESC] n <n1> <n2>
|
1BH,6EH
|
&%HP<m1> <m2> <m3>
|
|
Set justification
n=0 Left
n=1 Center
n=2 Right
n=8 Left (No line feed)
n=9 Center (No line feed)
n=10 Right (No line feed)
|
[ESC] a <n>
|
1BH,61H
|
&%JR {n=2}
&%JC {n=1}
&%JL {n=0}
|
|
Reset horizontal and vertical tab stops
|
[ESC] R
|
1BH,52H
|
&%HV
|
|
Set left/right print margins
n1 = Left margin, n2 = Right margin
|
[ESC] X <n1><n2>
|
1BH,58H
|
none
|
|
Select Minimum character Height and Width in points
|
[ESC] + P<w><h>
|
1BH 50H
|
none
|
|
Select Minimum character Height and Width in ¼ points
|
[ESC] + p<w><h>
|
1BH 70H
|
none
|
|
Perform a fine line feed
|
[ESC] J <n>
|
1BH,4AH
|
&%FM <m1> <m2> <m3>
|
|
Perform a fine line feed in reverse
|
[ESC] M <n>
|
1BH,4DH
|
&%FR <m1> <m2> <m3>
|
|
Set 1/8-inch line spacing
|
[ESC] 0
|
1BH,30H
|
&%ST
|
|
Set 7/72-inch line spacing
|
[ESC] 1
|
1BH,31H
|
&%SG
|
|
Begin variable line spacing (Enable [ESC] A <n>)
|
[ESC] 2
|
1BH,32H
|
none
|
|
Set variable line spacing to n/216 inch
|
[ESC] 3 <n>
|
1BH,33H
|
&%SV <m1> <m2> <m3>
|
|
Set variable line spacing to n/72 inch
|
[ESC] A <n>
|
1BH,41H
|
none
|
|
Feed <n> lines at current spacing
|
[ESC] d <n>
|
1BH,64H
|
&%FL <m1> <m2>
|
|
Feed <n> lines at current spacing in reverse
|
[ESC] e <n>
|
1BH,65H
|
&%FB <m1> <m2>
|
|
Set vertical tab stops
|
[ESC] B <n1> <n2> <n3>...<ni> 0
|
1BH,42H
|
none
|
|
Vertical tab
|
[VT]
|
0BH
|
&%VT
|
|
Form feed
|
[FF]
|
0CH
|
&%FF
|
|
Set top of form
|
[ESC] 4
|
1BH,34H
|
&%TF
|
|
Set form length in lines
|
[ESC] C <n>
|
1BH,43H
|
&%SL <m1> <m2>
|
|
Begin auto line feed n=0 End n=1
|
[ESC] 5 <n>
|
1BH,35H
|
&%CA {n=0}
&%MA {n=1}
|
|
Set form length in inches
|
[ESC] C [NUL] <n>
|
1BH,43H
|
&%SI <m1> <m2>
|
|
Reverse line feed
|
[ESC] ]
|
1BH,5DH
|
&%LR
|
|
Select Minimum character Height and Width in points
|
[ESC] + P<w><h>
|
1BH 50H
|
none
|
|
Select Minimum character Height and Width in ¼ points
|
[ESC] + p<w><h>
|
1BH 70H
|
none
|
|
Set character spacing in points
|
[ESC]+I<n>
|
1BH 2BH 49H
|
None
|
|
Set character spacing in ¼ points
|
[ESC]+i<n>
|
1BH 2BH 69H
|
None
|
|
Set character spacing in points with adjustment
|
[ESC]+J<n>
|
1BH 2BH 4AH
|
None
|
|
Set character spacing in ¼ points with adjustment
|
[ESC]+j<n>
|
1BH 2BH 6AH
|
None
|
|
Begin 10 CPI character pitch
|
[DC2]
|
12H
|
&%F3
|
|
Begin 12 CPI character pitch
|
[ESC] :
|
1BH,3AH
|
&%F2
|
|
Begin 17 CPI character pitch
|
[SI]
|
0FH
|
&%F1
|
|
Set character pitch
|
[ESC] [ P <n>
|
1BH,5BH, 50H
|
&%F<n>
|
|
Set inter-character spacing
|
[ESC] V <n>
|
1BH,56H
|
none
|
|
Begin 24 CPI character pitch
|
[ESC][SI]
|
1BH,0FH
|
&%F4
|
|
Select Minimum character Height and Width in points
|
[ESC] + P<w><h>
|
1BH 50H
|
none
|
|
Select Minimum character Height and Width in ¼ points
|
[ESC] + p<w><h>
|
1BH 70H
|
none
|
|
Select font
|
[ESC] + 3 <ID>
|
1BH 2BH 31H
|
none
|
|
Select font by name
|
[ESC] + N Filename<0>
|
1BH 2BH 4EH
|
none
|
|
Define Stacked Font
|
[ESC] + S <ID1> <ID2> …
|
1BH 2BH 53H
|
none
|
|
Set stroke font Brush Size
|
[ESC] + B <w>
|
1BH 2BH 42H
|
none
|
|
Select Minimum character Height and Width in points
|
[ESC] + P<w><h>
|
1BH 50H
|
none
|
|
Select Minimum character Height and Width in ¼ points
|
[ESC] + p<w><h>
|
1BH 70H
|
none
|
|
Begin 12 x 12 draft print
|
[ESC] # <0>
|
1BH,23H, 00H
|
&%QT
|
|
Set print quality mode
n=0 Draft (12 x 12)
n=1 Large draft (12 x 14)
n=2 NLQ (24 x 16)
n=3 NLQ (24 x 16)
n=4-7 Repeats 0-3
|
[ESC] I <n>
|
1BH,49H
|
&%QT {n=0}
&%QU {n=1}
&%QL {n=2}
&%QS {n=3}
|
|
Begin rotated font (See command description).
|
[ESC] P <n>
|
1BH,50H
|
&%RI
&%RF
&%RN
|
|
Select character code page
|
[ESC] [ T <nh> <nl>
|
1BH,5BH, 54H
|
&%CP <m1> <m2> <m3> <m4>
|
|
Insert euro character
|
[ESC] [ C <n>
|
1BH,5BH, 43H
|
&%EU
|
|
Print control character
|
[ESC] ^ <n>
|
1BH,5EH
|
&%CC <m1> <m2> <m3>
|
|
Define user-defined characters
|
[ESC] = <y> <c1> <c2>…
|
1BH,3DH
|
none
|
|
Enable user-defined characters
|
[ESC] > <n>
|
1BH,3EH
|
none
|
|
Cancel user-defined characters
|
[ESC] $
|
1BH,24H
|
none
|
|
Print control character.
|
[ESC] ^ <n>
|
1BH,5EH
|
&%CC <m1> <m2> <m3>
|
|
Print Unicode character
|
[ESC] “ <nL><nH>
|
1BH,22H
|
&%PU <m1> <m2> <m3> <m4> <m4>
|
|
Begin one-line double-wide print
|
[SO]
|
0EH
|
&%MW
|
|
Cancel one-line double-wide print
|
[DC4]
|
14H
|
&%MN
|
|
Multi-line double-wide double-high mode
n=0 Standard mode
n=1 Double-wide
n=2 Double-high
3 = Both
|
[ESC] W <n>
|
1BH,57H
|
&%FS {n=0}
&%FD {n=1}
&%FH {n=3}
|
|
Enable/disable overscore
n=0 End
n=1 Begin
|
[ESC] _ <n>
|
1BH,5FH
|
&%CO {n=0}
&%MO {n=1}
|
|
Begin Underline mode
n = 0 End
n = 1 Begin
|
[ESC] - <n>
|
1BH,2DH
|
&%CU {n=0}
&%MU {n=1}
|
|
Begin enhanced print
|
[ESC] G
|
1BH,47H
|
&%ME
|
|
End enhanced print
|
[ESC] H
|
1BH,48H
|
&%CE
|
|
Begin emphasized print
|
[ESC] E
|
1BH,45H
|
&%MM
|
|
End emphasized print
|
[ESC] F
|
1BH,46H
|
&%CM
|
|
Set print style (See command description.)
|
[ESC] [ @ ...
|
1BH,5BH, 40H…
|
&%DH
&%SH
|
|
Select superscript
|
[ESC] S <0>
|
1BH,53H, 00H
|
&%SP
|
|
Select subscript
|
[ESC] S <1>
|
1BH,53H, 01H
|
&%SB
|
|
End superscript or subscript
|
[ESC] T
|
1BH,54H
|
&%SE
|
|
Begin italics
|
[ESC] % G
|
1BH,25H, 47H
|
&%MI
|
|
End italics
|
[ESC] % H
|
1BH,25H, 48H
|
&%CI
|
|
Select page mode
|
[ESC][SUB] t <n>
|
1BH,1AH,74H
|
&%PM <m1>
|
|
Select page mode Print Area
|
[ESC][SUB] S …
|
1BH,1AH,53H
|
|
|
Select page mode Print Area (Fixed size)
|
[ESC][SUB]W…
|
1BH,1AH,57H
|
|
|
Select page mode Clear Window
|
[ESC][SUB]C …
|
1BH,1AH,41H
|
|
|
Select page mode Set Entry Position
|
[ESC][SUB]A …
|
1BH,1AH,41H
|
|
|
Select page mode Set Entry Position (Relative)
|
[ESC][SUB]R …
|
1BH,1AH,52H
|
|
|
Select page mode Exit
|
[ESC][SUB]P …
|
1BH,1AH,50H
|
|
|
Select page mode (Legacy)
|
[ESC] t <n>
|
1BH,74H
|
&%PM <m1>
|
|
Set page mode page position (Legacy)
|
[ESC] o <n1> …
|
1BH,6FH
|
&%PY<m1> <m2>
|
|
Set page mode page size (Legacy)
|
[ESC] u <n1> …
|
1BH,75H
|
&%PS<m1> <m2> <m3> <m4><m5> <m6>
|
|
Exit page mode
|
[FF]
|
0CH
|
&%FF
|
|
Print page mode page (Reenter page mode)
|
[ESC][FF]
|
1BH, 0CH
|
&%PP
|
|
Print single-density graphics
<n1>=0...255
<n2>=0…3
len=<n1> + 256 * <n2>
|
[ESC] K <n1> <n2>
|
1BH,4BH
|
none
|
|
Print half-speed double-density graphics
|
[ESC] L <n1> <n2>
|
1BH,4CH
|
none
|
|
Print full-speed double-density graphics
|
[ESC] Y <n1> <n2>
|
1BH,59H
|
none
|
|
Print quad-density graphics
|
[ESC] Z <n1> <n2>
|
1BH,5AH
|
none
|
|
Select bi-directional or unidirectional print
n=0 Bi-directional
n=1 Unidirectional
|
[ESC] U <n>
|
1BH,55H
|
&%GU {n=1}
&%GB {n=0}
|
|
Print graphics in mode <m>
|
[ESC] * <m> <n1><n2>
|
1BH,2AH
|
none
|
|
Reassign graphic mode
|
[ESC] ? <m><n>
|
1BH,3FH
|
none
|
|
Process horizontal graphics data
|
[ESC] h <color> <length> <format> <data>
|
1BH,68H
|
none
|
|
Set horizontal graphic mode
|
[ESC] * <m> <0> <0>
|
1BH,2AH
|
none
|
|
Begin named macro record
|
[ESC] [US] b <Name..> <0>
|
1BH,1FH, 62H
|
&%UB <Name..> <0>
|
|
Save macro data in user store
|
[ESC] [US] m <Name..> <0>
|
1BH,1FH, 6DH
|
&%UM <Name..> <0>
|
|
End named macro record
|
[ESC] [US] e <Name..> <0>
|
1BH,1FH, 65H
|
&%UG <Name..> <0>
|
|
Load item from user store
|
[ESC] [US] l <Name..> <0>
|
1BH,1FH, 6CH
|
&%UL <Name..> <0>
|
|
Save user-defined characters
|
[ESC] [US] c <Name..> <0>
|
1BH,1FH, 63H
|
&%UC <Name..> <0>
|
|
Run macro data from user store
|
[ESC] [US] r <Name..> <0>
|
1BH,1FH, 72H
|
&%UR <Name..> <0>
|
|
Flag item as a start-up macro
|
[ESC] [US] s <Name..> <0>
|
1BH,1FH, 6DH
|
&%US <Name..> <0>
|
|
Delete item from user store
|
[ESC] [US] d <Name..> <0>
|
1BH,1FH, 64H
|
&%UD <Name..> <0>
|
|
Flush information from user store
|
[ESC] [US] f ALL <0> or EXT <0>
|
1BH,1FH, 66H,00H
|
&%UF
|
|
Transfer user store to extended user store
|
[ESC] [US] t ALL <0>
|
1BH,1FH, 66H,00H
|
&%UF
|
|
Report on user store
|
[ESC] [US] q <Name..> <0>
|
1BH,1FH, 72H
|
&%UQ <Name..> <0>
|
|
Return a report on user store
|
[ESC] [US] ? <Name..> <0>
|
1BH,1FH, 72H
|
&%UQ <Name..> <0>
|
|
Process user macro
|
[ESC] g <0>
|
1BH,67H, 00H
|
&%GP
|
|
Start macro record
|
[ESC] g <1>
|
1BH,67H, 01H
|
&%GS
|
|
Stop macro record
|
[ESC] g <2>
|
1BH,67H, 02H
|
&%GE
|
|
Stop macro record and save
|
[ESC] g <3>
|
1BH, 67H, 03H
|
&%GW
|
|
Print bar code
n=0 Interleave 2 of 5
n=1 Code 39
n=2 Code 128
n=3 UPC A
n=4 EAN-13
n=5 UPC E
n=6 EAN-8
n= 7 Code 93
n = 8 Codabar
|
[ESC] b <n> ... [ETX]
|
1BH,62H
|
&%25 {n=0}
&%39 {n=1}
&%12 {n=2}
&%UP {n=3}
&%EA {n=4}
&%UE {n=5}
&%E8 {n=6}
&%93 {n=7}
|
|
Set bar code height
n=0 Restore defaults
n=1 - 9 Number of passes
(0.11 inch per pass)
|
[ESC] [EM] B <n>
|
1BH,19H, 42H
|
&%BH <m1><m2>
|
|
Set bar code justification, HRI print mode, and print direction
|
[ESC] [EM] J <n>
|
1BH,19H, 4AH
|
&%BJ<m1><m2>
|
|
Select receipt station
|
[ESC]f
|
1BH,66H
|
&%SR
|
|
Select validation station
|
[ESC]j
|
1BH,6AH
|
&%VS
|
|
Select validation station Wide Zone Select
|
[ESC]z
|
1BH,7AH
|
&%VW
|
|
Select validation and load for n lines
|
[ESC]k<n>
|
1BH,6BH
|
&%VL<m1>
|
|
Activate/Deactivate Auto Journal Feature
|
[ESC][GS]A<n>
|
1BH 1DH 41H
|
&%JO
&%JF
|
|
Activate Auto Journal
|
[ESC]i<n>
|
1BH,69H
|
%&VJ
|
|
Set wait for form timeout
|
[ESC][EM]C<n>
|
1BH,19H,43H
|
None
|
|
Set form sense delay
|
[ESC][EM]V<n>
|
1BH,19H,56H
|
None
|
|
Set validation Operation
|
[ESC] ~ 0 <n>
|
1BH,7EH,30H
|
None
|
|
Cancel form wait
|
[ENQ]<16>
|
05H,10H
|
None
|
|
Unicode
|
|
|
|
|
Initiate Unicode UTF-16BE encoding
|
[ESC] + H
|
1BH 2BH 48H
|
none
|
|
Initiate Unicode UTF-16LE encoding
|
[ESC] + L
|
1BH 2BH 4CH
|
none
|
|
Initiate Unicode UTF-8 encoding (MBCS)
|
[ESC] + M
|
1BH 2BH 4DH
|
none
|
|
Initiate Unicode UTF-8 Text only encoding (MBCS)
|
[ESC] + T
|
1BH 2BH 54H
|
none
|
|
Initiate normal 8-bit ASCII character encoding
|
[ESC] + A
|
1BH 2BH 41H
|
none
|
|
File System Commands
|
|
|
|
|
Open File
|
[ESC][RS] O<Mod> FileName<0>
|
1BH 1EH 4FH
|
none
|
|
Return Free Space for Open File
|
[ESC][RS] S
|
1BH 1EH 53H
|
none
|
|
Return Free Space for Partition
|
[ESC][RS] s
|
1BH 1EH 73H
|
none
|
|
Return Last File Command Status
|
[ESC][RS] ?
|
1BH 1EH 3FH
|
none
|
|
Close File
|
[ESC][RS] C
|
1BH 1EH 43H
|
none
|
|
Close All Files
|
[ESC][RS] K
|
1BH 1EH 4BH
|
none
|
|
Open File
|
[ESC][RS] O FileName<0>
|
1BH 1EH 4FH
|
none
|
|
Set/Clear File Attributes
|
[ESC][RS] A <Atb> FileName<0>
|
1BH 1EH 41H
|
none
|
|
Write File Data
|
[ESC][RS] W <LL> <LH> <data>
|
1BH 1EH 57H
|
none
|
|
Read File Data
|
[ESC][RS] R <LL> <LH>
|
1BH 1EH 52H
|
none
|
|
File Directory File
|
[ESC][RS] I
|
1BH 1EH 49H
|
none
|
|
Delete all Files in partition
|
[ESC][RS] E <p>
|
1BH 1EH 45H
|
none
|
|
De-fragment File system
|
[ESC][RS] F
|
1BH 1EH 46H
|
none
|
|
Electronic journal initialize and set password
|
[ESC][GS]I <Password><0>
|
1BH 1DH 49H
|
%&EI
|
|
Electronic journal erase the electronic journal
|
[ESC][GS]E <Password><0>
|
1BH 1DH 45H
|
&%EC
|
|
Print the electronic journal
|
[ESC][GS]P< Sl> <Sh>< Ll>< Lh>
|
1BH 1DH 50H
|
&%EP
|
|
Report the electronic journal
|
[ESC][GS]R< Sl> < Sh>< Ll>< Lh>
|
1BH 1DH 52H
|
&%EQ
|
|
Electronic journal begin entry
|
ESC]l <3>
|
1BH 6CH
|
%&EB
|
|
Electronic journal suspend entry
|
[ESC]l <2>
|
1BH 6CH
|
&%ES
|
|
Electronic journal resume entry
|
[ESC]l <1>
|
1BH 6CH
|
&%ER
|
|
Electronic journal end entry
|
[ESC]l <0>
|
1BH 6CH
|
&%EE
|
|
Electronic journal mode begin (Journal station)
|
[ESC]{
|
1BH 7BH
|
None
|
|
Set left/right margins. n1 = Left margin
n2 = Right margin
|
[ESC] X <n1><n2>
|
1BH,58H
|
none
|
|
Clear print buffer
|
[CAN]
|
18H
|
&%RP
|
|
Query marker
|
[ESC] q <n>
|
1BH,71H
|
none
|
|
Initialize printer
|
[ESC] @
|
1BH,40H
|
none
|
|
Enable paper error mode operation
|
[ESC] p <n>
|
1BH,70H
|
&%PE <m1> <m2>
|
|
Inquire status (Refer to command descriptions.)
|
[ENQ] <n>
|
05H
|
none
|
|
Inquire cash drawer 1 status
|
[ENQ] <1>
|
05H 01H
|
none
|
|
Activate Periodic Status back
|
[ESC][EM]P
|
1BH,19H,50H
|
none
|
|
Control Periodic Status back
|
[ESC][EM]p
|
1BH,19H,70H
|
none
|
|
Set control feature commands
|
[ESC] y <n>
|
1BH,79H
|
&%Y0 - 9 or &%YX <m1> <m2> <m3> (for numbers >9)
|
|
Extended diagnostics
|
[ESC] ~ <n>
|
1BH,7EH
|
none
|