View Single Post
  #9 (permalink)  
Old 28-Jul-2006, 08:37 AM
Pieter Wijnen's Avatar Pieter Wijnen
Posts: n/a
Re: VB Code to print to .pdf

It should be the same


"Jennifer Cali" wrote in message
> Would the name of the printer be the name I see when I select the dropdown
> or
> is there another "name" that is recoginized by the computer?
> --
> Thank you! - Jennifer
> "UpRider" wrote:
>> Jennifer, the below code works for me. You don't have to mess around
>> with
>> changing the default printer and then changing it back again. The code
>> changes the target printer for this report this time. Works for any
Reference:: Sikh Philosophy Network
>> report,
Reference:: Sikh Philosophy Network
>> any printer (Not tested for networked printers). Access 2003.
>> HTH, UpRider
>> DoCmd.OpenReport "YourReportName", acViewPreview
>> Application.Reports("YourReportName").Printer =
>> Application.Printers("YourPDFPrinter")
>> "Jennifer Cali" wrote in message
>> >I want to print the file to .pdf, but am not sure how to code the VB to
>> >do
>> > 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:

Reply With Quote
Page generated in 0.08944 seconds with 25 queries