Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2007

Tip: Looking for answers? Try searching our database.

Get Printer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DS - 29 Jan 2007 22:54 GMT
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
Allen Browne - 30 Jan 2007 01:09 GMT
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.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

> Before I open a report to print.  I want to do an Application.Printer
>
[quoted text clipped - 4 lines]
> Thanks
> DS
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.