
Revision C 16/01/96
Chapter 3 "PJL" - 48
Device Variable
The @PJL USTATUS DEVICE command allows the printer to send status messages when the printer
status changes. The printer will send the status by the status code shown in the table below.
Status code
Status
10000 - 10999
Status information such as printer on-line or off-line.
11000 - 11999
Status of available paper in paper input sources, such as paper empty, and auto-
switching to another paper source.
20000 - 20999
PJL parser errors. The entire command line of a PJL command is ignored when
an error (except for code 20004 ) occurs.
25000 - 25999
PJL parser errors. Part of a PJL command is ignored when the error occurs.
27000 - 27999
PJL semantic errors, which means that they are grammatically acceptable but
cannot be executed. For example, locking the only sole unlocked paper tray
causes this error.
30000 - 30999
Errors which do not stop the printing procedure if the CONTINUE is set to
AUTO (auto continue mode). If the CONTINUE mode is set to STOP, the
printer stops printing and goes to off-line status, and resumes when the
CONTINUE or SEL key are pressed.
35000 - 25999
Errors which may cause incorrect printing results, such as loss of some print
data on a page. The operator's mediation may be required.
40000 - 40999
Errors such as paper empty, cover open, or paper jams, which suspend printing
until the operator takes the corresponding corrective action.
41000 - 41999
Errors in the paper source such as running out of paper in current paper tray
and not available from any other paper sources.
Example :
Example 1 :
The application sends the following command to the printer :
<ESC>%-12345X@PJL <CR><LF>
@PJL USTATUS DEVICE = VERBOSE <CR><LF>
<ESC>%-12345X
The printer may send back the answer for the above command :
@PJL USTATUS DEVICE<CR><LF>
CODE=40021<CR><LF>
DISPLAY='12 COVER OPEN '<CR><LF>
ONLINE=FALSE<CR><LF>
<FF>
Example 2 :
When the following wrong PJL command is sent :
<ESC>%-12345X@PJL <CR><LF>
@PJL USTATUS DEVICE = VERBOSE <CR><LF>
@PJL ECO wrong sample 3-6-1993 23:12:00 <CR><LF>
<ESC>%-12345X
The printer may send back the answer for the above command :
@PJL USTATUS DEVICE<CR><LF>
CODE=20002<CR><LF>
<FF>
Содержание HL- SERIES
Страница 13: ...Revision A 16 01 96 Chapter 1 Introduction ...
Страница 16: ...Revision C 16 01 96 Chapter 2 PCL 1 Chapter 2 PCL ...
Страница 123: ...Revision C 16 01 96 Chapter 2 PCL 3 W width raster area 78 Y y offset raster 79 ...
Страница 124: ...Revision C 16 01 96 Chapter 3 PJL 1 Chapter 3 PJL Printer Job Language ...
Страница 180: ...Revision C 16 01 96 Chapter 4 Diablo 630 1 Chapter 4 Diablo 630 ...
Страница 200: ...Revision C 16 01 96 Chapter 5 EPSON FX 850 1 Chapter 5 EPSON FX 850 ...
Страница 237: ...Revision C 16 01 96 Chapter 6 IBM Proprinter XL 1 Chapter 6 IBM Proprinter XL ...
Страница 259: ...Revision C 16 01 96 Chapter 7 Bar Codes Control 1 Chapter 7 Bar Code Control ...
Страница 267: ...Revision C 16 01 96 Chapter 8 HP GL2 1 CHAPTER 8 HP GL 2 Graphics Language ...
Страница 280: ...Revision C 16 01 96 Chapter 8 HP GL2 14 220 END Sample 21 ...
Страница 328: ...Revision C 16 01 96 Chapter 9 HP GL 1 CHAPTER 9 HP GL Graphics Language ...
Страница 332: ...Revision C 16 01 96 Chapter 9 HP GL 5 1 3 2 Printing Area a b d c a b c d mm A4 4 5 5 5 Letter 6 5 5 5 Legal 6 5 5 5 ...
Страница 342: ...Revision C 16 01 96 Chapter 9 HP GL 15 Sample 68 ...
Страница 387: ...Revision C 16 01 96 APPENDIX A COMPALISON LIST 24 RESOLUTION 300 600 300 600 300 600 ...