Genicom GEK 00031B Printer User Manual


 
GEK-00029A 5000 Series Programmer’s Manual
185
DSR Device Status Requests:
The host sends the Device Status Request
listed below to request a printer status report.
General Command Syntax
ESC [
Ps
n
Decimal: 27 71
Ps
86
Hex : 1B 5B
Ps
6E
BASIC: CHR$(27);"[";Ps;"n";
DSR Sequences to Request Status
Request Sequence Printer Response
<ESC>[0n or <ESC>[5n Sends an extended status report
<ESC>[6n Sends a cursor position report
The host sends the Device Status Request listed below to enable or
disable unsolicited status reports.
DSR Sequences to Enable or Disable Unsolicited Reports
Request Sequence Printer Response
<ESC>[?1n Disables all unsolicited reports
<ESC>[?2n
Enable brief unsolicited status
reports and sends an extended status
report.
<ESC>[?3n
Enable extended, unsolicited status
reports and sends an extended status
report.
Responses: Cursor Position Report
<ESC>[Pn1;Pn2R
Pn1 is the active line
Pn2 is the active column
Brief Unsolicited Messages Enabled
<ESC>[Pn1n
Pn1 = 0 After an error condition has been corrected or
no error exists.
Pn1 = 3 If an error is detected.
Extended Unsolicited Messages Enabled
<ESC>[?20n No error exists.
<ESC>[?Pn1;Pn2n A error is detected. (See
following table)