Landscape printing commands – IBM TM7 User Manual
Page 183
form. This is because the bottom of the form is known (against the right stop)
and the top of the form is unknown to the printer.
v Different lengths of paper allow different print-line lengths. Therefore, the
application must know the size of the print line.
v The printer calculates the length of a document it is to print. To do that, it must
feed the document up past the bottom sensor and back to the top sensor. (On a
5-inch document this takes 2 seconds.)
v When landscape mode is used, the document should be inserted so that the right
edge is at the top of the printer, and the bottom edge is against the printer’s right
wall.
v To position the printing in landscape mode to the correct position, the system
must send line feeds. The printer assumes that the top of form for a document in
landscape mode is the far left edge of the document (to a maximum of 80 mm
from the bottom of the form).
v Line feeding is 5 steps per mm or 21 steps per line, at 6 lpi.
v All landscape printing must be done with one printing pass. Therefore:
– Double-high printing is not allowed.
– User-defined characters greater than 9 dots high are not allowed.
– DBCS characters are not allowed.
v There is no error recovery for landscape printing.
Landscape Printing Commands
1. ESC f (x) (y): Set up document wait time
Same as for portrait mode.
2. ESC c 0 X'08': Select document station - landscape print mode:
A
If the document was not previously loaded:
v The document present indicator blinks until a document is
detected.
v Once detected, the document will be grabbed by the printer and
fed to the right margin on the document. Because the document
is inserted on its side, this is at the top of the printer.
v If a document is not detected within the wait time (specified in
the ESC f command), the printer sends error status to the
system, and continues to wait.
The system can either cancel the print buffer, deleting all data in
the print buffer, or wait for a document to be inserted.
The printer appears to be hung until an action is taken.
B
If the document was previously loaded, the printer feeds the paper
to the right margin on the document.
3. Send print lines to be printed in this station.
The number of characters that can be printed on a line depends on the
width of the document. The print area is:
v 63 mm high, starting 17 mm from the bottom of the document
v The entire width of the document less 34 mm from the right edge and 10
mm from the left edge
4. Final handling.
You have an option on final handling, finish printing and either eject the
document or open the document throat to allow manual removal of the
document:
updated March 18, 2002
Appendix C. RS-232 Programming Information
159