Using the pjldetect command
If you have a printer that does not support SNMP, the pjldetect command can be used to find out whether it supports the PJL language. This information is useful to set wait-for-job-completion to true for a printer.
The format for the pjldetect command follows:
pjldetect ip-address portwhere ip-address is the Internet Protocol address of the printer you want to use and port is the TCP/IP port which that printer uses for PCL and PostScript print jobs. On HP, InfoPrint and Ricoh printers, the port is most often 9100. If you receive a message that indicates that a connection to the printer could not be established, please consult your configuration manuals for the printers to find the TCP/IP port.
When you run pjldetect, the printer must be turned on and online with no error conditions that would prevent it from printing, and it must not be in use by any other program. Once pjldetect has completed, you receive a message indicating whether your printer supports correct job completion. If you receive a message indicating that an error occurred while trying to detect job completion support, you should make sure that the printer is online and ready and not in use by another application. If you receive a message indicating that the printer does not support correct job completion, you cannot set wait-for-job-completion to true for that printer.
If you receive a message indicating that the printer does support correct job completion, you can add the printer model to the /usr/lpp/pd/bin/pjlprtrs.cfg file.