IBM TG5 Printer User Manual


 
Return Home (Select Printhead Location)
RS-232 Syntax:
ESC < n or X'1B3C;n'
where:
n The print-head position:
00 Document home position
01 Open document throat position. The DI station throat will
automatically be closed if the CR station is exercised.
02 Reserved
03 Left home position
04 Refined document home position. This can be used to
recover from a home error.
05 Register document
v Close throat if open
v Advance paper forward to first position
06-FF Reserved
Purpose:
To move the printhead to the desired location.
Remarks:
Valid at the beginning of the line only. Valid in impact print stations only.
Paper Cut/DI Eject
RS-232 Syntax:
ESC i or ESC m or X'1B69 or 1B;6D'
Purpose:
To cut the paper in the customer receipt (CR) station.
Remarks:
v This command is the equivalent of a form feed (0C) in the document
insert (DI) station but does not feed the customer receipt in the CR
station.
v ESC i or X'1B69' does not increment status byte 6.
v ESC m or X'1B6D' does increment status byte 6.
Generate Drive Pulse for Cash Drawer
RS-232 Syntax:
ESC p mn1n2or X'1B70;m;n1;n2'
where:
m The cash drawer number-0or1.
n1 Pulse width on time × 2 milliseconds.
n2 Pulse width off time × 2 milliseconds.
Purpose:
To open one of the cash drawers attached to the printer.
updated March 18, 2002
Appendix C. RS-232 Programming Information 153