473,322 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

choose a printer

158 100+
I've been looking around and found several solutions, but the only one that i have not found yet is where a user presses the "print" button on a form and microsofts Print Dialog Box comes up to choose a printer. Any ideas on how to do this?

Thanks
Matt
Sep 11 '08 #1
5 2282
Megalog
378 Expert 256MB
Allen Browne has a little add-in for download, that lets a user select which printer he/she wants to use, you can check it out at:
http://allenbrowne.com/AppPrintMgt.html

Or, you can use the native Print box dialog simply by sending the shortcut keys:

Expand|Select|Wrap|Line Numbers
  1. SendKeys "^p"
Sep 11 '08 #2
Jollywg
158 100+
Allen Browne has a little add-in for download, that lets a user select which printer he/she wants to use, you can check it out at:
http://allenbrowne.com/AppPrintMgt.html

Or, you can use the native Print box dialog simply by sending the shortcut keys:

Expand|Select|Wrap|Line Numbers
  1. SendKeys "^p"
I found his solution, but i was wondering if there was anyway to get the print options box to pop up and let the user select the printer that way?
Sep 11 '08 #3
NeoPa
32,556 Expert Mod 16PB
Try using :
Expand|Select|Wrap|Line Numbers
  1. Call DoCmd.RunCommand(acCmdPrint)
or :
Expand|Select|Wrap|Line Numbers
  1. DoCmd.RunCommand acCmdPrint
Sep 11 '08 #4
Jollywg
158 100+
Try using :
Expand|Select|Wrap|Line Numbers
  1. DoCmd.RunCommand acCmdPrint

Worked like a charm! Thanks NeoPa!
Sep 11 '08 #5
NeoPa
32,556 Expert Mod 16PB
No worries Matt :)
Sep 11 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to...
2
by: Jody Burgess | last post by:
Hi; I am writing my first python program and would like to know how to change stdout to refer to my default printer or any other printer on my network. The other question is, Is there an API set...
0
by: James Griffiths | last post by:
Here is a report I've written about a printing problem that is being experienced by a particular company for whom I had developed a A97 system. After upgrading to Win XP and AXP, some printing...
3
by: giloosh99 | last post by:
Hello I have a report that needs to printed by a specific printer rather than the computers default printer? Is there a way to dynamically choose a specific printer to print a report through VBA...
1
by: Tim Marshall | last post by:
A2003 Most of the time, in past apps, my report routines are usually a preview first and then DoCmd.RunCommand acCmdPrint for the printer dialog. However, I'm now faced with wanting to send a...
1
by: =?Utf-8?B?SkxvYm8=?= | last post by:
How can i open a dialog box to choose a printer? -- JLobo
2
by: =?Utf-8?B?SkxvYm8=?= | last post by:
How can i open a dialog box to choose a printer? -- JLobo
4
by: ypper2001 | last post by:
I have a POS printer, Star TSP 100, that I would like to use to print a receipt. The problem is that when choosing the correct paper 72mm X receipt, Access comes up with an error telling me that the...
9
by: id10t error | last post by:
Hello, I am going to be using a Symbol WT4090 to scan items. I need to printer a tag from the Zebra ql320 plus. I am trying to do this is Visual basic 2005. Does anyone know and good site to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.