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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top