HP 5100tn Printer Job Language - Technical Reference Manual - Page 115
Example, Using, INQUIRE for Printer, Language-Specific, Variables
View all HP 5100tn manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 115 highlights
@PJL ECHO 02:18:23.9 05-30-92 @PJL INQUIRE RET MEDIUM @PJL INQUIRE PAGEPROTECT OFF @PJL INQUIRE RESOLUTION 600 @PJL INQUIRE PERSONALITY AUTO @PJL INQUIRE TIMEOUT 15 Example: Using INQUIRE for Printer Language-Specific Variables This example requests the PCL settings for pitch, point size, and symbol set. %-12345X@PJL @PJL COMMENT Requesting PCL Settings @PJL ECHO 12:22:23.9 11-05-92 @PJL INQUIRE LPARM : PCL PITCH @PJL INQUIRE LPARM : PCL PTSIZE @PJL INQUIRE LPARM : PCL SYMSET %-12345X For the HP LaserJet 4 printer, the response for this example is shown on the following page. Other PJL printers may respond differently. Status Readback Commands 7-7
@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>
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.
Status Readback Commands
7-7