How to get any information from Printer or Printer driver?

How to get any information from Printer or Printer driver?

Postby richard-service » Tue Nov 10, 2009 6:47 am

Hi All,

When my ap run to printing report ...

Ex.
1.How to know if printer turn off ( when local printer or select other printers )?

If printing and printer turn off, My ap get GPF error. But I want to First time avoid it.

2.How to select this printer paper box? No1 paper box or No2 paper box....etc
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: How to get any information from Printer or Printer driver?

Postby ukoenig » Fri Nov 13, 2009 12:18 am

Hello Richard,

please have a look at : \samples\prnstat.prg how to use Printer-Informations.
For many more functions at FWH-Docs < Fivewin Functions Guide => Printing >

Best Regard
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: How to get any information from Printer or Printer driver?

Postby richard-service » Fri Nov 13, 2009 2:21 am

ukoenig wrote:Hello Richard,

please have a look at : \samples\prnstat.prg how to use Printer-Informations.
For many more functions at FWH-Docs < Fivewin Functions Guide => Printing >

Best Regard
Uwe :lol:


Hi Uwe,

Thanks for your feeback.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 83 guests