Status sent to system, Select character for reprinted lines, Reinitialize the printer – IBM TM7 User Manual
Page 161
This value is stored in the EEPROM in the printer so that it is not lost when
the printer is reset.
Status Sent to System
RS-232 Syntax:
ESC ) n or X'1B29;n'
where:
n
Select function.
Bit #
↓ Function
Bit=0
Bit=1
LSB 0 Print Buffer Empty/Full
Yes
No
1 Reserved
Yes
No
2 Front Document Sensor Change
Yes
No
3 Top Document Sensor Change
Yes
No
4 After status byte 6 is incremented or
status byte 3, bit 7, is set
Yes
No
5 Cash Draw Sensor Change
Yes
No
6 Key In Use
Yes
No
7 Cover Open
Yes
No
Remarks:
Bit 4 can be used in place of the Command Complete. When the buffer is
empty, the system can assume that everything stored in the printer has
been completed. To enable these status messages, unsolicited status must
be enabled. See “Asynchronous (Real-Time) Commands” on page 155.
Select Character for Reprinted Lines
RS-232 Syntax:
ESC + n or X'1B2B;n'
where:
n
The ASCII representation of the character printed in the first
character position on the print line when recovering from a home
error. This occurs in impact print stations only.
Default:
n = X'2A' (This is an asterisk (*) in most code pages.)
Remarks:
The value is stored in EEPROM to prevent loss when the printer is reset.
The default value after the reset is the value last sent.
Reinitialize the Printer
RS-232 Syntax:
ESC @ or X'1B40'
Purpose:
Reinitialize all printer settings to their default values and reset the impact
printhead.
Remarks:
Commands in the print buffer are not lost when this command is issued.
The settings that are reinitialized follow (all numbers are in hex):
updated March 18, 2002
Appendix C. RS-232 Programming Information
137