|
Hello Roberto,You are right, sorry.
Am 04.08.2020 um 10:12 schrieb Roberto Tempesti <robertotempesti2@xxxxxxxxx>:
I think that Port 9100 (Bi-Directional) stands for PJL, so you can try to change SYSDRVPGM(*IBMSNMPDRV) into SYSDRVPGM(*HPPJLDRV). Please check the protocol settings on the device, has to be PCL6.
Please don't mix PCL (Printer Command Language) with PJL (Printer Job Language). Port 9100 stands for the standard HP JetDirect Port (as established first by HP, AFAIK) to transparently exchange data in a bidirectional, 8-Bit clean manner with the printer. You can perfectly send PostScript data to this port, and it will print (if the printer firmware can can detect and auto-switch to PostScript emulation).
PCL is mainly about how to place what *on the page*.
https://en.wikipedia.org/wiki/Printer_Command_Language
PJL is to have a means to know about the printer's status (amongst other things regarding the printer itself).
https://en.wikipedia.org/wiki/Printer_Job_Language
OS/400 and it's successors always output PCL data, if TRANSFORM is *YES. At least as far as I tested. I never managed to get PostScript Output. The Level of PCL is determined by the printer model configured.
IBM i offers SNMP as an alternative way to get the printer status, if the printer offers no PJL, or no compatible version if PJL.
:wq! PoC
PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.