By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,345 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

Is it possible to specify a specific printer in the vba code?

P: n/a
RC
In my vba code I use do.cmd printout to send a report to a printer.
The report is set to use a specific printer not the default printer.
Sometimes the report seems to not go to the specified printer. Is
there a way to specify the printer in the code?
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Complete solution here;

http://www.mvps.org/access/reports/rpt0009.htm


"RC" <rc*********@yahoo.com> wrote in message
news:3c**************************@posting.google.c om...
In my vba code I use do.cmd printout to send a report to a printer.
The report is set to use a specific printer not the default printer.
Sometimes the report seems to not go to the specified printer. Is
there a way to specify the printer in the code?

Nov 13 '05 #2

P: n/a
In Access 2002 and 2003 you can also set the Printer to one of the items in
the Printers collection.

--
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.

"Saintor" <sa******@REMOVETHIShotmail.com> wrote in message
news:hf****************@wagner.videotron.net...
Complete solution here;

http://www.mvps.org/access/reports/rpt0009.htm
"RC" <rc*********@yahoo.com> wrote in message
news:3c**************************@posting.google.c om...
In my vba code I use do.cmd printout to send a report to a printer.
The report is set to use a specific printer not the default printer.
Sometimes the report seems to not go to the specified printer. Is
there a way to specify the printer in the code?

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.