Author | Topic: printer - details | |
---|---|---|
Zdenko Bielik | printer - details on Wed, 06 Jun 2018 10:37:16 +0200 Hi, please, how is it possible get more details about installed printers? list() method of xbpPrinter() just returns names of installed printers, but I want know more details, e.g. port name(lpt1, usb1..n or ip-address...), printer-driver name(hp pcl5e, pcl6..., ), etc. TIA & Regards Zdeno | |
Paul Chong | Re: printer - details on Thu, 07 Jun 2018 02:02:12 +0800 Hi, Have you try iVar :devName & :devPort ? Regards Paul On Wed, 06 Jun 2018 10:37:16 +0200, Zdenko Bielik wrote: > Hi, > > please, how is it possible get more details about installed printers? > list() method of xbpPrinter() just returns names of installed printers, > but I want know more details, e.g. port name(lpt1, usb1..n or > ip-address...), printer-driver name(hp pcl5e, pcl6..., ), etc. > > TIA & Regards > > Zdeno | |
Otto Trapp | Re: printer - details on Thu, 07 Jun 2018 13:37:38 +0200 Hi, You can do something like this: oPrinter:=XbpPrinter():new() aList:= oPrinter:list() FOR nI:=1 TO Len(aList) oPrinter:=XbpPrinter():new():create(aList[nI]) ? oPrinter:devPort ? oPrinter:driverName ? oPrinter:spoolFormat ? oPrinter:setDuplexMode() etc. (see the XbpPrinter() doc for all the available methods and member vars. oPrinter:destroy() NEXT Regards, Otto 2018.06.06. 10:37 keltezéssel, Zdenko Bielik írta: > Hi, > > please, how is it possible get more details about installed printers? > list() method of xbpPrinter() just returns names of installed printers, > but I want know more details, e.g. port name(lpt1, usb1..n or > ip-address...), printer-driver name(hp pcl5e, pcl6..., ), etc. > > TIA & Regards > > Zdeno > |