HP 5100 Printer Job Language - Technical Reference Manual - Page 114
Example, Using, INQUIRE to Request, Feature Settings - laserjet error codes
UPC - 808736092500
View all HP 5100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 114 highlights
If the printer does not support the variable, the response is: @PJL INQUIRE [LPARM:personality | IPARM:port] ~variable "?" If a printer language-specific variable is not available because that printer language is not installed or is invalid, or if a port-specific variable is not available because that port is not supported, the command will return an appropriate error code if USTATUS DEVICE=VERBOSE is enabled. Note The LPARM : personality option must be used when requesting printer language-specific information. The IPARM : port option must be used when requesting port-specific information. Example: Using INQUIRE to Request Feature Settings This example requests the current print environment settings for RET, PAGEPROTECT, RESOLUTION, PERSONALITY, and TIMEOUT. The printer response for this example is listed below. %-12345X@PJL @PJL COMMENT ***Inquiring About @PJL COMMENT Environment Settings*** @PJL ECHO 02:18:23.9 05-30-92 @PJL INQUIRE RET @PJL INQUIRE PAGEPROTECT @PJL INQUIRE RESOLUTION @PJL INQUIRE PERSONALITY @PJL INQUIRE TIMEOUT %-12345X For the HP LaserJet 4 printer, a sample printer response for this example is as follows. Other PJL printers may respond differently. 7-6 Status Readback Commands