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