beautypg.com

IBM TM7 User Manual

Page 125

background image

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'

126

Set or cancel double-high mode

ESC h n or X'1B68;n'

127

Set or cancel underline mode

ESC − n or X'1B2D;n':

127

Set or cancel overline mode

ESC x‘5F’ n or X'1B5F;n'

127

Set or cancel invert mode

ESC H n or X'1B48;n'

127

Set or cancel emphasized printing

ESC G n or X'1B47;n'

128

Set or cancel high quality print mode

ESC / n or X'1B;2F;n'

128

Set print station

ESC c 0 n or X'1B6330;n'

128

Select user-defined or resident
character sets

ESC % n or X'1B25;n'

129

Set code page

ESC t n or X'1B74;n'

129

Set inter-character spacing

ESC SP n or X'1B20;n'

129

Set inter-character spacing - DBCS

ESC T n or X'1B;52;n'

130

Set or cancel rotated character

ESC V n or X'1B56;n'

130

Set print station parameters

ESC c 1 n or 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 n or X'1B;72;n'

132

Set line spacing using minimum units

ESC 3 n or X'1B33;n'

132

Set sheet eject length

ESC C n or X'1B43;n'

133

Set horizontal tab positions

ESC D [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 n or X'1B61;n'.

134

Set or cancel unidirectional printing

ESC U n or X'1B55;n'

135

Set error recovery function

ESC c 4 n or X'1B63;34;n'

135

Define document wait time

ESC f x y or X'1B66;x;y'

136

Status sent to system

ESC ) n or X'1B29;n'

137

Select character for reprinted lines

ESC + n or X'1B2B;n'

137

Reinitialize the printer

ESC @ or X'1B40'.

137

Enable/disable the feed buttons

ESC c 5 n X'1B;63;35;n'

138.

Enable/disable the beeper

ESC BEL n1 n2 or X'1B;07;n1;n2'

138

Enable/disable upside-down printing

ESC { n or X'1B 7B n'

139

Select character size for scaleable fonts GS ! n or X'1D;21;n'

140

Fix font matrix

ESC : n or X'1B 3A n'

141

Print logo inline

GS J d n1 n2 data or X'1D 4A d n1 n2 data'

141

Enable/disable two-color printing

GS ; n or X'1D 3B n'

141

Bar Code Commands

Print bar code

GS k n NUL or X'1D6B;n;data;00'

142

Select horizontal size of bar code

GS w n or X'1D77;n'

145

updated March 18, 2002

Appendix C. RS-232 Programming Information

101

This manual is related to the following products: