The text of a manual · part 14 of 22
Monarch Printers 9403, 9820, 9830, 9835, pages 131 to 140
Pages 131 to 140 of 219
The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Monarch 9446
Page 131
Inquir y Request (ENQ) An ENQ character acts as a request for printer status information. You can send an ENQ in front of, in the middle of, or immediately following any packet downloaded to the printer. An ENQ is a command that can be executed as part of a packet or sent on its own (using a communications program). An ENQ is processed immediately. The ENQ character is user defined. The ENQ character does not appear as a visible character; however, we are representing the ENQ character as E .
Inquir y Response Printer status is returned to the host in a 3-byte (3-character) sequence. The first byte is the non-printable user-defined ENQ character, which is not visible on the response. The second and third bytes are printer status codes. See the ENQ Reference Tables for the meaning of bytes 2 and 3. Example:
E AB
The status codes (A and B in this case) are ASCII equivalents to the hexadecimal bits that represent the various types of status responses. This response indicates that the printer is online (Character A) and that there is a stock fault (Character B). Example:
E ??
Indicates that this is the first ENQ response since the printer was turned on. Send another ENQ immediately to receive the printer’s status. Example:
E @@
Indicates the printer is offline.
8-2 Status Polling
Page 132
The following graphics can be used as a quick reference for the Status of Byte #2 and Byte #3. Byte #1 is the non-printable user-defined ENQ character.
Status Polling 8-3
Page 133
E N Q R e f e r e n c e Ta b l e - B y t e # 2 Char
Const. OFF
Const. ON
Comp. Failure
Corr. Error
Online Data Error
Busy
Active
Online
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
@
0
1
0
0
0
0
0
0
A
0
1
0
0
0
0
0
1
B
0
1
0
0
0
0
1
0
C
0
1
0
0
0
0
1
1
D
0
1
0
0
0
1
0
0
E
0
1
0
0
0
1
0
1
F
0
1
0
0
0
1
1
0
G
0
1
0
0
0
1
1
1
H
0
1
0
0
1
0
0
0
I
0
1
0
0
1
0
0
1
J
0
1
0
0
1
0
1
0
K
0
1
0
0
1
0
1
1
L
0
1
0
0
1
1
0
0
M
0
1
0
0
1
1
0
1
N
0
1
0
0
1
1
1
0
O
0
1
0
0
1
1
1
1
P
0
1
0
1
0
0
0
0
Q
0
1
0
1
0
0
0
1
R
0
1
0
1
0
0
1
0
S
0
1
0
1
0
0
1
1
T
0
1
0
1
0
1
0
0
U
0
1
0
1
0
1
0
1
V
0
1
0
1
0
1
1
0
W
0
1
0
1
0
1
1
1
1
0
1
0
1
1
0
0
0
Y
0
1
0
1
1
0
0
1
Z
0
1
0
1
1
0
1
0
[
0
1
0
1
1
0
1
1
\
0
1
0
1
1
1
0
0
]
0
1
0
1
1
1
0
1
^
0
1
0
1
1
1
1
0
_
0
1
0
1
1
1
1
1
‘
0
1
1
0
0
0
0
0
A "1" indicates the bit is turned on. A "0" indicates the bit is off. 8-4 Status Polling
Page 134
E N Q R e f e r e n c e Ta b l e - B y t e # 2 ( c o n t i n u e d ) Char
Const. OFF
Const. ON
Comp. Failure
Corr. Error
Online Data Error
Busy
Active
Online
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0 a
0
1
1
0
0
0
0
1 b
0
1
0
1
0
0
0
1 c
0
1
1
1
0
0
0
1 d
0
1
0
0
1
0
0
1 e
0
1
1
0
1
0
0
1 f
0
1
0
1
1
0
0
1 g
0
1
1
1
1
0
0
1 h
0
1
0
0
0
1
0
1 i
0
1
1
0
0
1
0
1 j
0
1
0
1
0
1
0
1 k
0
1
1
1
0
1
0
1 l
0
1
0
0
1
1
0
1 m
0
1
1
0
0
1
0
1 n
0
1
0
1
1
1
0
1 o
0
1
1
1
1
1
0
1 p
0
1
0
0
0
0
1
1 q
0
1
1
0
0
0
1
1 r
0
1
0
1
0
0
1
1 s
0
1
1
1
0
0
1
1 t
0
1
0
0
1
0
1
1 u
0
1
1
0
1
0
1
1 v
0
1
0
1
1
0
1
1 w
0
1
1
1
1
0
1
1
1
0
1
0
0
0
1
1
1 y
0
1
1
0
0
1
1
1 z
0
1
0
1
0
1
1
1
{
0
1
1
1
0
1
1
1
|
0
1
0
0
1
1
1
1
}
0
1
1
0
1
1
1
1
~
0
1
0
1
1
1
1
1
Dec 127
0
1
1
1
1
1
1
1
A "1" indicates the bit is turned on. A "0" indicates the bit is off.
Status Polling 8-5
Page 135
E N Q R e f e r e n c e Ta b l e - B y t e # 3 Char
Const. OFF
Const. ON
Low Battery
Format Error
Waiting Ribbon Fault to Dispense Label
Stock Fault
Online Error
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
@
0
1
0
0
0
0
0
0
A
0
1
0
0
0
0
0
1
B
0
1
0
0
0
0
1
0
C
0
1
0
0
0
0
1
1
D
0
1
0
0
0
1
0
0
E
0
1
0
0
0
1
0
1
F
0
1
0
0
0
1
1
0
G
0
1
0
0
0
1
1
1
H
0
1
0
0
1
0
0
0
I
0
1
0
0
1
0
0
1
J
0
1
0
0
1
0
1
0
K
0
1
0
0
1
0
1
1
L
0
1
0
0
1
1
0
0
M
0
1
0
1
1
0
0
1
N
0
1
0
0
1
1
1
0
O
0
1
0
0
1
1
1
1
P
0
1
0
1
0
0
0
0
Q
0
1
0
1
0
0
0
1
R
0
1
0
1
0
0
1
0
S
0
1
0
1
0
0
1
1
T
0
1
0
1
0
1
0
0
U
0
1
0
1
0
1
0
1
V
0
1
0
1
0
1
1
0
W
0
1
0
1
0
1
1
1
X
0
1
0
1
1
0
0
0
Y
0
1
0
1
1
0
0
1
Z
0
1
0
1
1
0
1
0
[
0
1
0
1
1
0
1
1
\
0
1
0
1
1
1
0
0
]
0
1
0
1
1
1
0
1
^
0
1
0
1
1
1
1
0
_
0
1
0
1
1
1
1
1
‘
0
1
1
0
0
0
0
0
A "1" indicates the bit is turned on. A "0" indicates the bit is off. 8-6 Status Polling
Page 136
E N Q R e f e r e n c e Ta b l e - B y t e # 3 ( c o n t i n u e d ) Char
Const. OFF
Const. ON
Low Battery
Format Error
Waiting Ribbon Fault to Dispense Label
Stock Fault
Online Error
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0 a
0
1
1
0
0
0
0
1 b
0
1
1
0
0
0
1
0 c
0
1
1
0
0
0
1
1 d
0
1
1
0
0
1
0
0 e
0
1
1
0
0
1
0
1 f
0
1
1
0
0
1
1
0 g
0
1
1
0
0
1
1
1 h
0
1
1
0
1
0
0
0 i
0
1
1
0
1
0
0
1 j
0
1
1
0
1
0
1
0 k
0
1
1
0
1
0
1
1 l
0
1
0
1
0
1
1
0 m
0
1
1
1
1
0
0
1 n
0
1
1
0
1
1
1
0 o
0
1
1
0
1
1
1
1 p
0
1
1
1
0
0
0
0 q
0
1
1
1
0
0
0
1 r
0
1
1
1
0
0
1
0 s
0
1
1
1
0
0
1
1 t
0
1
1
1
0
1
0
0 u
0
1
1
1
0
1
0
1 v
0
1
1
1
0
1
1
0 w
0
1
1
1
0
1
1
1
1
0
1
1
1
1
0
0
0 y
0
1
1
1
1
0
0
1 z
0
1
1
1
1
0
1
0
{
0
1
1
1
1
0
1
1
|
0
1
1
1
1
1
0
0
}
0
1
1
1
1
1
0
1
~
0
1
1
1
1
1
1
0
Dec 127
0
1
1
1
1
1
1
1
A "1" indicates the bit is turned on. A "0" indicates the bit is off.
Status Polling 8-7
Page 137
Job Request A Job Request returns status information about the most recently processed print job. You can send a job request after an ENQ or batch. You can send two levels of Job Requests: u
Numeric Error Codes Only (0, 1, or 2)
u
Verbose (3 or 4)
Syntax
{J,#}
Field Type
Valid Options
Identifier
J
Job Status Request request#
0 1 2 3 4
Returns ASCII coded strings or numeric error codes
Example
Description
Returns error number Returns number of labels printed in batch
{J,3}
The job response may not be immediate. If the printer has an error (out of supplies, ribbon problem, etc.), is in pause mode, or has insufficient memory, correct the problem and then resend the job request. If the problem is not corrected, no response is returned. If a formatting error has occurred, the job request will return the status. The printer must first interpret the format and batch data before returning the response. To clear an error, press CLEAR or E, depending on your printer. An ENQ can also clear errors numbered less than 500. Once the error is corrected, a job request can be sent. The printer cannot accept another job request until the error is resolved.
8-8 Status Polling
Page 138
Page 139
The following syntax is the response for a Job 3 request. Syntax
{J,"Status1 A,B","Status2 A,B,C,D,E","FMT-1","BCH-2"}
"Status1 A,B"
Status1 A contains the field number, in the format or batch, where an error was found. If the error is not in the format or batch, a "0" is returned. Status1 B contains an error number, which represents the actual printer error. The error numbers can be found in Chapter 10, "Errors."
Example
{J,"2,612",}
2 is the field number where an error was found. 612 is the error number, indicating that data is missing or does not match the format definition for that field. Error numbers found in Status1 B, always have a value equal to or greater than 500. These are considered very serious errors. "Status2 A,B,C,D,E" contains the packet type, field type, field number, parameter, and error number. Status2 A- Packet Type represents the MPCLII packet that the error occurred on. The packet could be Format (F), Batch (B), Check Digit (A), Graphic (G), or Font (W).
Status2 B- Field Type represents the MPCLII field that the error occurred on. If the packet has no fields, Status2 A will be replicated. If the error occurs before the field is identified a question mark is sent. Since the batch data is variable, a D is sent to indicate data.
8-10 Status Polling
Page 140
Status2 C- Field Number represents the field number within each packet. The packet header is the first field and each subsequent field is indicated by the field separator.
Status2 D- Parameter represents the parameter within the field that the error occurred. The numbering begins after the field identifier.
Status2 E- Error Number is the error that coincides with the error numbers presented in Chapter 10, "Errors."
"FMT-1/BCH-2"
The format or batch number is returned.
If more than one error occurred then only the most serious error will be acknowledged. {J,"","F,B,4,6,33","FMT-1","BCH-2"} Indicates that an error occurred on a bar code (B) field within a format (F) packet. The bar code field is the fourth (4) field in the packet. The error occurred in the sixth (6) parameter of the field. Error number 33 means the bar code density is invalid. To clear an error, press CLEAR or E, depending on your printer. An ENQ can also clear errors numbered less than 500. Once the error is corrected, a job request can be sent. The printer cannot accept another job request until the error is resolved.
Status Polling 8-11