beautypg.com

System commands, Exercise program, Verify previous commands completed – IBM TM7 User Manual

Page 131: Status request, Extended address command – request printer id, System commands exercise program

background image

System Commands

Exercise Program

RS-232 Syntax:

ESC x or X'1B;78'

Purpose:

This tests printing functions of the printer. A test message is printed. (See
Figure 26 on page 57.) If there is a document in the printer, the test
message prints on the document. Otherwise, it prints at the customer
receipt station.

Error Conditions:

Home Error (on document station only)

Cash Receipt Print Error

Verify Previous Commands Completed

RS-232 Syntax:

X'1B;00;80;00'

Purpose:

This command can be used to ensure that all commands preceding it have
been completed. The application would just wait for the status return with
status byte 5, bit 1 set.

Remarks:

The printer status is returned in status bytes 1–8. Status byte 5, bit 1 is set
after this request has been executed. See “Status Summary” on page 160
for more information.

Error Conditions:

None.

Status Request

RS-232 Syntax:

ESC v or X'1B;76'

Purpose:

The printer status is sent to the system. This command will be processed in
the order it was received.

Remarks:

The printer status is returned in status bytes 1–8. See “Status Summary” on
page 160
for more information.

Error Conditions:

None.

Extended Address Command – Request Printer ID

RS-232 Syntax:

GS | SOH or X'1D;49;01'

Purpose:

This will return 8 bytes of printer status plus 5 bytes of printer-specific
information.

updated March 18, 2002

Appendix C. RS-232 Programming Information

107

This manual is related to the following products: