28-Jul-2006, 08:37 AM
| || |
| || || || || |
| || |
Re: VB Code to print to .pdf
It should be the same
"Jennifer Cali" wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13344-vb-code-to-print-to-pdf.html
> Would the name of the printer be the name I see when I select the dropdown
> is there another "name" that is recoginized by the computer?
> Thank you! - Jennifer
> "UpRider" wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13344
>> Jennifer, the below code works for me. You don't have to mess around
>> changing the default printer and then changing it back again. The code
>> changes the target printer for this report this time. Works for any
>> any printer (Not tested for networked printers). Access 2003.
>> HTH, UpRider
>> DoCmd.OpenReport "YourReportName", acViewPreview
>> Application.Reports("YourReportName").Printer =
>> "Jennifer Cali" wrote in message
>> >I want to print the file to .pdf, but am not sure how to code the VB to
>> > it. Right now the print is going to the default printer; I need to
>> > change
>> > the
>> > printer that it prints to.
>> > --
>> > Thank you! - Jennifer
I am using the free version of SPAMfighter for private users.
It has removed 4231 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len