Job Request; Job Response - Avery Dennison ADTP1 Reference Manual

Monarch tabletop printer 1
Hide thumbs Also See for ADTP1:
Table of Contents

Advertisement

J o b R e q u e s t
A Job Request returns status information about the most recently processed print job. Send a
job request after an ENQ or batch. There are two levels of Job Requests:
♦ Numeric Error Codes Only (0, 1, or 2)
♦ Verbose (3 or 4)
Syntax
{J,#}
J1. J
J2. #
Example {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 returns the status. The printer interprets the format and batch
data before returning the response.
Note:
Press FEED (if necessary) to return the job response.
To clear an error, press ESCAPE. 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.

Job Response

The Job Response varies, depending on the type of request sent to the printer. The following
syntax is the response for a Job 0, 1,or 2 request.
Syntax
{J,Status1,Status2,"FMT-1","BCH-2"}
J1. J
J2. Status1
J3. Status2
J4. "FMT-1"
J5. "BCH-2"
Here is an example of a response returned to a J 0, 1, 2 request:
{J,8,0,"FMT-1","BCH-2"}
Indicates that a portion of the format extends off the tag in format 1, batch 2. Refer to the "Job
Status 0, 1, 2 Response Table" later in this chapter for brief explanations for J, 0, 1, 2 requests.
In the above example, refer to error 8 for an explanation.
7-6 Packet Reference Manual
Job Request Identifier.
Request number.
0
Returns ASCII coded strings or numeric error codes
1
Returns ASCII coded strings or numeric error codes
2
Returns ASCII coded strings or numeric error codes
3
Returns error number
4
Returns number of labels printed in batch
Job Response Identifier.
These errors stop the print job. Examples include out of stock,
supply faults, or data formatting errors. See
Responses."
These are errors in the syntax of the MPCL data stream. Printing
does not stop, but the information may not print properly. See
"Job Status
Responses."
Returns the format number.
Returns the batch number.
Options:
"Job Status

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents