|
-
May 23rd, 2007, 12:00 AM
#1
Re: print access form to specific printer
I think there is a command in vb 6.0 to let the user choose the correct printer
when a command button for print is clicked. The command can also be applied to access vba..
Have you tried doing research on the parameters of OpenReport?
greg
-
May 23rd, 2007, 04:28 AM
#2
Thread Starter
New Member
Re: print access form to specific printer
Hi, thanks for that suggestion, as i said i know a little vbscript but this is way beyond me but it makes sense to check out the parameters of OpenReport, i'll try that and see what i can find on that.
I just don't understand how this line opens and prints the doc..
Code:
DoCmd.OpenReport stDocName, acNormal
-
May 23rd, 2007, 10:10 AM
#3
-
May 24th, 2007, 06:01 AM
#4
Thread Starter
New Member
Re: print access form to specific printer
Hi, thanks for the explanation, but i couldn't find any examples of parameters that would select a printer to print to. i am unable to test the application because it is linked with sage on the network, i would have to go to the company and test it there - so trial and error isn't an option...
would something like this work?
Code:
Application.Printer = Application.Printers("my specific printer")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|