
Revision C 16/01/96
Chapter 3 "PJL" - 33
7. STATUS READBACK COMMANDS
7.1. Introduction
Applications can request, by sending a PJL command to the printer, information such as configuration
and status of the printer. The printer can be programmed to send back this information when requested,
and also can send back voluntarily unsolicited information of its status such as cover open, off-line state,
toner empty, displayed prompt message on the LCD, and other necessary information.
PJL Status Readback will help you to program the application to appropriately set the printer settings.
In this chapter, you can learn how to use PJL Status Readback in programming an application. The
following Status Readback Commands are described :
INQUIRE ... requests the information of the specified PJL Default setting (PJL Current
Environment) set by @PJL SET or @PJL RESET command
DINQUIRE ... requests the information of the specified User Default setting (User Default
Environment) set by @PJL DEFAULT or @PJL INITIALIZE command or control panel
ECHO ... request the printer to send back to the host computer a comment for the purpose of
synchronization with each other in order to start communication
INFO ... requests a specified category of information from the printer
USTATUS ... gives the printer permission to send back unsolicited information.
USTATUSOFF ... turns off all unsolicited status information set by USTATUS
Job Recovery is also described in this chapter.
Synchronization with the printer
The printer sends the status responses to the same I/O port as it received the request from. Therefore, in
a shared or network environment, if the I/O port was used by another user and the printer is still
processing the previous job, the printer may send a response of the status of the previous user's job
against the request from the current application. In order to make sure that an application can receive
correct responses for its request, it must synchronize itself with the printer by sending the ECHO
command so as to be assured that the printer is ready for communication to you.
Basic Format of Status Readback Responses
The printer sends its status information to the host computer in the following format :
starts with the @PJL prefix
ends with a <FF> character
All the data is in a readable ASCII format.
Each line in the PJL status responses is in the following format :
starts with a specific keyword
ends with <CR><LF>
For example, the readback response against the @PJL DINQUIRE is :
@PJL DINQUIRE [LPARM :
personality] variable<CR><LF>
value<CR><LF>
<FF>
The application must read all the data between the @PJL and <CR><LF> codes. If the application can
not understand the meaning of the lines, it must ignore them. Future printers may send currently unused
keywords.
Refer to each command description to learn about the format of responses from the printer.
Содержание 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 ...