pause printer or open printer window

K

Kevin K. Sullivan

Does anyone know a way to pause the default printer or open the Windows
printer window (which shows the print queue) from VBA?

Thanks,

Kevin
 
M

MIkeC

Kevin,

Below is a quick way to display the printer window. In
this example, I'm assuming you want to print a report.

Dim stDocName As String

stDocName = "YourReport"

DoCmd.SelectObject acReport, stDocName, True
DoCmd.RunCommand acCmdPrint
 
K

Kevin K. Sullivan

Thanks Mike. That code is great to allow the user to change printers,
number of copies, etc.

Actually, what I'm trying to replicate is double-clicking the printer in the
Printers and Faxes folder of the Control Panel.

Does anyone have any ideas?

TIA,

Kevin
 

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

Top