Get Printer

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

Before I open a report to print. I want to do an Application.Printer

First how do I find out using code what printer the report is printing to?
Its usually going to the default printer. I want to send up an error
message if the printer is disconnected or turned off. Will the
Application.Printer do this?
Thanks
DS
 
There's some sample code illustrating how to use the Printer object here:
http://allenbrowne.com/AppPrintMgtCode.html
Includes a sample database you can download to see it working.

AFAIK, the Printer object does not give you status info to know whether the
printer is switched on, on-line, has ink, has paper, etc.
 
Back
Top