Hello Clinton, Thank you for your answer. About port 9100 - my code works fine to sent and reseive PJL command like this: @PJL INFO PAGECOUNT and many other commands for HP and KYOSERA network printers, currently I need information how it is possible to get such information from local connected printers and for network printers from another vendors. Also I can get many info using MIB from this HP and KYOSERA printers, but can't find variables to get information about toner/ink level. May be anybody know how it is possible? On Wed, Feb 22, 2012 at 7:29 PM, Clinton Bessesen <clinton@xxxxxxxxxxxxxx> wrote: > Hi Alex, > Not sure this is correct. PORT 9100 is traditionally used for RAW protocol ( > similar to LPR but data is simply sent differently ). To get information > from a Printer Device i.e. MFP a second protocol SMB gets used. > The PJL commands are simply used as printer instructions, so can be used for > Job Ticketing, General Info ( Title, Colour spacing etc. ). So simply see it > as a JOB CONTROLLER and not a DEVICE STATUS > > The OCE printer doesn't comply to all the HP PJL syntax. Most of it actually > gets ignored. But this does depend on the model as OCE do have a huge range > ( small to large ). The LARGER devices prefer AFP so any input gets > converted/transformed. The smaller devices do have native PostScript/PCL > engines or external RIPS. -- Alex Egorov http://usefulsoft.com --- Questions? First check the UndocPrint pages at http://www.undocprint.org/winspool To unsubscribe, visit the List Server page at //www.freelists.org/list/winprndev