ESC/ P Command Reference

Table Of Contents
6
Control code list
Character/style selection
ESC R 1B 52 Select international character set
ESC k 1B 6B Select font
ESC t 1B 74 Select character code table
Text printing
ESC 4 1B 34 Apply italic style
ESC 5 1B 35 Cancel italic style
ESC E 1B 45 Apply bold style
ESC F 1B 46 Cancel bold style
ESC G 1B 47 Apply double-strike printing
ESC H 1B 48 Cancel double-strike printing
ESC W 1B 57 Specify double-width characters
SI 0F Specify compressed characters
ESC SI 1B 0F Specify compressed characters
DC2 12 Cancel compressed characters
ESC - 1B 2D Apply/cancel underlining
ESC ! 1B 21 Global formatting
ESC X 1B 58 Specify character size
ESC i f 1B 69 66 Apply/cancel a frame (global)
CAN 18 Clear text
DEL 7F Delete one character
ESC CR 1B 0D Not available
Line feeds
ESC 0 1B 30 Specify line feed of 1/8 inch
ESC 2 1B 32 Specify line feed of 1/6 inch
ESC 3 1B 33 Specify minimum line feed
ESC A 1B 41 Specify line feed of n/60 inch
Horizontal movement
CR 0D Carriage return
ESC $ 1B 24 Specify absolute horizontal position
ESC \ 1B 5C Specify relative horizontal position
ESC a 1B 61 Specify alignment