10/10/03
CHAPTER 5 PJL - 43
Response Syntax
@PJL ECHO [< words >] <CR><LF>
<FF>
• < words >
The beginning of this parameter must be a printable character. Then this parameter consists of characters
from ASCII 33 to 255, space characters and horizontal tab characters.
This < words > parameter can be written without quotation marks as this is not a string of variables.
The parameter is recommended to be unique, distinguishable words from other print jobs, such as the time
determined by the real time clock and user name, so as to confirm the received message from the printer is
definitely the answer for the
ECHO
command which the application sent.
The length of the < word > must be within 80 characters.
Parameters
Parameter Valid characters
< words >
ASCII 33 to 255, <SP>, <HT>
Example
The application sends the following example to the printer :
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT the ECHO command follows <CR><LF>
@PJL ECHO This is a sample 22:03:00 <CR><LF>
<ESC>%-12345X
The printer sends back the answer for the above ECHO command :
@PJL ECHO This is a sample 22:03:00 <CR><LF>
<FF>
After receiving the above answer, all the messages from the printer are the requested information from the
application, except for unsolicited status information.
7.5. INFO Command
The
INFO
command requests the printer to send back information on a specific category of the printer such
as 'ID' (model name), 'CONFIG' (printer configuration), 'MEMORY' (available printer memory), 'STATUS'
(current printer status), 'VARIABLES' (list of setting variables), 'USTATUS' (list of unsolicited status
variables), 'PAGECOUNT' (total printing page number of the printer), 'PHYSICALMEMORY' (Physical
memory size of printer) as shown in the following table.
This INFO command can request the information from only one category at a time. If you would like to get
the information from more categories, send multiple INFO commands.
Syntax
@PJL INFO category [<CR>]<LF>
Response Syntax
@PJL INFO category <CR><LF>
[lines of printable characters or <WS> with <CR><LF> at the end of
each line]
<FF>
If the variable is not supported by the printer, it returns the response in the following syntax :
@PJL INFO category <CR><LF>
"?"<CR><LF>
<FF>