Table12. RS-232 Commands Organized by Function (continued)
Description Command Page
Set or cancel double-wide mode ESC W n:ehp1. or X'1B57;n' 126
Set or cancel double-high mode ESC h nor X'1B68;n' 127
Set or cancel underline mode ESC − nor X'1B2D;n': 127
Set or cancel overline mode ESC x‘5F’ nor X'1B5F;n' 127
Set or cancel invert mode ESC H nor X'1B48;n' 127
Set or cancel emphasized printing ESC G nor X'1B47;n' 128
Set or cancel high quality print mode ESC / nor X'1B;2F;n' 128
Set print station ESC c 0 nor X'1B6330;n' 128
Select user-defined or resident
character sets
ESC % nor X'1B25;n' 129
Set code page ESC t nor X'1B74;n' 129
Set inter-character spacing ESC SP nor X'1B20;n' 129
Set inter-character spacing - DBCS ESC T nor X'1B;52;n' 130
Set or cancel rotated character ESC V nor X'1B56;n' 130
Set print station parameters ESC c 1 nor X'1B6331;n' 130.
Select 1/8-inch line spacing ESC 1 or X'1B31'. 131
Select 1/6-inch line spacing ESC 2 or X'1B32' 131
Select color printing ESC r nor X'1B;72;n' 132
Set line spacing using minimum units ESC3 nor X'1B33;n' 132
Set sheet eject length ESC C nor X'1B43;n' 133
Set horizontal tab positions ESCD [n1 n2] NUL NUL or X'1B44[n1 n2]0000' 133
Set left margin position ESC $ n1 n2 or X'1B24;n1;n2' 133
Set relative position ESC \ n1 n2 or X'1B5C;n1;n2' 134
Align positions ESC a nor X'1B61;n'. 134
Set or cancel unidirectional printing ESC U nor X'1B55;n' 135
Set error recovery function ESC c 4 nor X'1B63;34;n' 135
Define document wait time ESC f xyor X'1B66;x;y' 136
Status sent to system ESC ) nor X'1B29;n' 137
Select character for reprinted lines ESC+ nor X'1B2B;n' 137
Reinitialize the printer ESC @ or X'1B40'. 137
Enable/disable the feed buttons ESCc5nX'1B;63;35;n' 138.
Enable/disable the beeper ESCBEL n1 n2 or X'1B;07;n1;n2' 138
Enable/disable upside-down printing ESC { nor X'1B 7B n' 139
Select character size for scaleable fonts GS ! nor X'1D;21;n' 140
Fix font matrix ESC : nor X'1B 3An' 141
Print logo inline GS J dn1n2dataorX'1D 4A d n1 n2 data' 141
Enable/disable two-color printing GS; nor X'1D 3B n' 141
Bar Code Commands
Print bar code GS k nNUL or X'1D6B;n;data;00' 142
Select horizontal size of bar code GS w nor X'1D77;n' 145
updated March 18, 2002
AppendixC. RS-232 Programming Information 101