beautypg.com

Microcode tolerance (mct) information - request, Mct command definitions – IBM TM7 User Manual

Page 147

background image

where:

n

Microcode tolerance (MCT) that is being adjusted

h

The high-order byte of MCT data

l

The low-order byte of MCT data

Purpose:

The microcode tolerance (MCT) information is used to make adjustments to
the printer’s microcode. MCT data is nonvolatile data stored in the printer
EPROM that is specific to a printer. For example, an MCT parameter can
be defined to adjust for mechanical tolerances which cause a print line to
not be centered on a receipt. Another would be for adjusting for the number
of motor steps to the first print position on a document. This data remains
intact until changed by the user.

Remarks:

Table 15 lists the MCT values by the parameter (n). The table includes the
default, the minimum, and the maximum values of each MCT.

If you try to set an MCT value out of its defined range, it is set to the
closest limit (the minimum or maximum value) or rejected.

Error Conditions:

EPROM load error

Microcode Tolerance (MCT) Information - Request

RS-232 Syntax:

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

where:

n

Microcode tolerance (MCT) information that is being requested

Purpose:

To enable reading microcode tolerance (MCT) information from EEPROM.

Remarks:

v MCT data is sent over the serial line in status bytes 9 and 10. See

Table 15 for the values of parameter n.

v MCT write command values that are out of range cause the command to

be rejected. (See bit 7 of “Status Byte 1” on page 160.)

Table 15. MCT Command Definitions

DEC

HEX

MCT

Default

Min

Max

1

1

DBCS code page

Byte 1: Reserved, set to X'FF'

Byte 2: Matrix for the impact code

page
v 0 = 16 x 16 code page
v 1 = 9 x 19 code page

X'FF00'

X'FF00'

X'FF01'

2

2

Matrix of user-defined thermal code
page 1

Byte 1: Dot row width

Byte 2: Dot row height

X'0A14'

(10x20)

X'0810'

X'1020'

(16x32)

updated March 18, 2002

Appendix C. RS-232 Programming Information

123

This manual is related to the following products: