25
Control codes
Hexadecimal
codes
Function
<ESC> \ nL nH 1B 5C n Set relative print position
<ESC> a n 1B 61 n Select justification
<ESC> c 3 n 1B 63 33 n Select paper sensor to output
paper end signals
<ESC> c 4 n 1B 63 34 n Select paper sensor to stop
printing
<ESC> c 5 n 1B 63 35 n Enable/Disable panel button
<ESC> d n 1B 64 n Print and feed n lines
<ESC> p m t1 t2 1B 70 m t1 t2 Generate pulse
<ESC> t n 1B 74 n Select character code table
<ESC> { n 1B 7B n Turn on/off upside-down printing
mode
<FS> p n m 1C 70 n m Print NT bit image
<FS> q n …. 1C 71 n … Define NV bit image
<GS> ! n 1D 21 n Select character size
<GS> $ nL nH 1D 24 nL nH Set absolute vertical print position
in page mode
<GS> * x y ….. 1D 2A x y ….. Define downloaded bit image
<GS> / m 1D 2F n Print downloaded bit image
<GS> : 1D 3A Start/end macro definition
<GS> B n 1D 42 n Turn white/black reverse printing
mode on/off
<GS> H n 1D 48 n Select printing position of HRI
characters
<GS> I n 1D 49 n Transmit printer ID
<GS> L nL nH 1D 4C nL nH Set left margin
<GS> P x y 1D 50 x y Set horizontal and vertical motion
units
<GS> V m
<GS> V m n
1D 56 m
1D 56 m n
Select cut mode and cut paper
<GS> W nL hH 1D 57 nL nH Set printing area width
<GS> \ nL nH 1D 5C nL nH Set relative vertical print position
in page mode
<GS> ^ r t m 1D 5E r t m Execute macro
<GS> a n 1D 61 n Enable/Disable Automatic status
back
<GS> f n 1D 62 n Select font for HRI characters
<GS> h n 1D 68 n Set bar code height