HP PCL/PJL reference - Printer Job Language Technical Reference Manual

EN Status Readback Commands 7-13
Example: Using DINQUIRE for Printer
Language-Specific Variables
This example requests the default PCL pitch and symbol set using the
DINQUIRE command. The printer returns values of 10.00 and
ROMAN8.
<ESC>%-12345X@PJL <CR><LF>
@PJL COMMENT Inquiring Default PCL Settings
~<CR><LF>
@PJL ECHO 11:03:05.9 07-04-92 <CR><LF>
@PJL DINQUIRE LPARM : PCL PITCH <CR><LF>
@PJL DINQUIRE LPARM : PCL SYMSET <CR><LF>
<ESC>%-12345X
A sample HP LaserJet 4 printer response for this example is as
follows. Other PJL printer responses may vary.
Related Commands:
INQUIRE, ECHO, INFO, SET, DEFAULT, USTATUS
@PJL ECHO 08:10:33.7 04-17-93<CR><LF>
<FF>
@PJL DINQUIRE RESOLUTION<CR><LF>
600<CR><LF>
<FF>
@PJL DINQUIRE PERSONALITY<CR><LF>
AUTO<CR><LF>
<FF>
@PJL ECHO 11:03:05.9 07-04-92<CR><LF>
<FF>
@PJL DINQUIRE LPARM:PCL PITCH<CR><LF>
10.00<CR><LF>
<FF>
@PJL DINQUIRE LPARM:PCL SYMSET<CR><LF>
ROMAN8<CR><LF>
<FF>