beautypg.com

Data buffer management and batch printing, Reset line count, Disable line count – IBM TM7 User Manual

Page 181: Hold printing until buffer is released, Document handling

background image

After the printer resets, it defaults to not sending status unless requested. If
an error occurs, the printer appears hung, unless a status is requested. If
unsolicited status is enabled, the printer sends the error to the system as
soon as it occurs.

Note: If transparent XON/OFF is disabled, X'10', X'11', and X'13' can be

imbedded in returned status and data. (See “XON/XOFF Control” on
page 24.)
To re-enable the printer, the printer must be reset.

Data Buffer Management and Batch Printing

Reset Line Count

RS-232 Syntax:

ESC 6 or X'1B36'

Purpose:

Resetting the line count lets the system track the print line where an error
occurs.

Remarks:

The line count is incremented at every print command. The count is sent in
every status message to the system. The count can go to 256 (X'0FF'),
when it rolls back to 0. (See “Print Character Commands” on page 148.)

Disable Line Count

RS-232 Syntax:

ESC 8 n or X'1B;38'n

Purpose:

To temporarily not increment the line count. This can be used when printing
predefined messages, if the number of lines embedded in the message is
unknown.

Hold Printing Until Buffer is Released

RS-232 Syntax:

ESC 7 or X'1B37'

Purpose:

If the system cannot send data to the printer at a speed needed to keep the
printer in constant motion, it can hold the printer queue until it sends all
data lines for a transaction.

Remarks:

The printer must be printing one line while processing the next line. If the
printer is unable to completely process a line, the print speed reduces to
half.

The line count is reset when the buffer is held.

Document Handling

Use the side load capability for documents that must be positioned to begin printing
at a particular location on the document. (There is an arrow on the side of the cover
to indicate where printing begins.) Use front load for all other cases.

updated March 18, 2002

Appendix C. RS-232 Programming Information

157

This manual is related to the following products: