HP PCL/PJL reference - Printer Job Language Technical Reference Manual
7-8 Status Readback Commands EN
Example: Using INQUIRE for Printer
Language-Specific Variables
This example requests the PCL settings for pitch, point size, and
symbol set.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Requesting PCL Settings <CR><LF>
@PJL ECHO 12:22:23.9 11-05-92 <CR><LF>
@PJL INQUIRE LPARM : PCL PITCH <CR><LF>
@PJL INQUIRE LPARM : PCL PTSIZE <CR><LF>
@PJL INQUIRE LPARM : PCL SYMSET <CR><LF>
<ESC>%-12345X
For the HP LaserJet 4 printer, the response for this example is shown
on the following page. Other PJL printers may respond differently.
@PJL ECHO 02:18:23.9 05-30-92<CR><LF>
<FF>
@PJL INQUIRE RET<CR><LF>
MEDIUM<CR><LF>
<FF>
@PJL INQUIRE PAGEPROTECT<CR><LF>
OFF<CR><LF>
<FF>
@PJL INQUIRE RESOLUTION<CR><LF>
600<CR><LF>
<FF>
@PJL INQUIRE PERSONALITY<CR><LF>
AUTO<CR><LF>
<FF>
@PJL INQUIRE TIMEOUT<CR><LF>
15<CR><LF>
<FF>