beautypg.com

Dbcs address vectors, Setup commands, Set print mode – IBM TM7 User Manual

Page 149

background image

DBCS Address Vectors

RS-232 Syntax:

ESC S n or X'1B;53;n'

where:

n

Specifies the DBCS address vector.
v 33 for address vector 1
v 34 for address vector 2
v 35 for address vector 3

Purpose:

To determine the address ranges that are assumed for the DBCS and
SBCS code pages.

Remarks:

v The DBCS address vector value is sent over the serial line in status

bytes 9 and 10.

v The vector ranges should be stored in the printer at the time of

download.

v All ranges are for DBCS addresses. SBCS addresses are assumed to be

those outside the defined vector ranges.

v The unused vector ranges are set to 00,00.

Example:

Assume there will be 2 vector ranges required: 82–9F and E9–FC. An
example of how print data is interpreted follows.

Hex data sent:

″89;30;E9;A0;A0;40;41;82;41;0A″

Interpreted as:

v 8930 from the DBCS code page

v E9A0 from the DBCS code page

v A0, 40, and 41 from the SBCS code page

v 8241 from the DBCS code page

v 0A is an end of line and line feed command.

Setup Commands

Setup commands change character font, inter-character spacing, and the target
print station.

Set Print Mode

RS-232 Syntax:

ESC ! n or X'1B;21;n'

where:

n

Specifies print characteristics, such as user-defined thermal and
impact code pages.

Bit #

↓ Function

Bit=0

Bit=1

Thermal

Impact

LSB 0 Char/Page 0

See Below

See Below

yes

yes

1 Char/Page 1

See Below

See Below

yes

yes

2 Overline

Cancel

Set

yes

no

3 Emphasized

Cancel

Set

yes

yes

updated March 18, 2002

Appendix C. RS-232 Programming Information

125

This manual is related to the following products: