IBM TF7 Printer User Manual


 
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 18. Status byte 5, bit 1 is set
after this request has been executed. See Status Summaryon 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 18. See Status Summaryon
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