IBM TM6 Printer User Manual


 
Select printable area
EIA-232 Syntax:
ESC X or X'1B;58;x;y;dx;dy'
where:
v x, y
Two-byte horizontal and vertical starting position (in dots)
v dx, dy
Two-byte horizontal and vertical printing area (in dots)
Remarks:
v When sent in standard mode, this command sets the printable area for
page mode, but has no effect on standard mode printing.
v If the starting position (x, y) is outside the maximum range, the entire
command is ignored.
v If the printing area is defined outside the maximum page size, the
printing area is limited to the page size.
v Maximum page size is 576 dots in the horizontal direction, and 800 dots
in the vertical direction (except Models Tx8 and Tx9, which is 1250 dots
in the vertical direction).
Select printing direction/position
EIA-232 Syntax:
ESC T n or X'1B;54;n'
where:
n
Table 27. Print direction
n = Direction / position
X'00' Left to right / top left
X'01' Bottom to top / bottom left
X'02' Right to left / bottom right
X'03' Top to bottom / top right
Remarks:
When sent in standard mode, this command sets the print direction for
page mode, but has no effect on standard mode printing.
Starting position is within the printable area defined by the Select printable
area command (X'1B;58...)'.
Set vertical position
EIA-232 Syntax:
GS $ y or X'1D;24;y'
where:
y is a two-byte vertical printing position (in dots)
Remarks:
v Applies to page mode only.
Updated April 2, 2009
178 SureMark Printers User’s Guide