Can no longer print report to a folder I specify

J

Jason

I have a problem where I am trying to print a PDF file to a certain folder.
However Access always puts it under My Documents.
This is not all the code, but just the part where I try and print to a
certain OutputFile.

Set objPDF = New PDFClass
With objPDF
.ReportName = "rptCompOOPRegionals"
.OutputFile = "P:\OOP\OOP-" & intCompetitionID & ".pdf"
.ShowMessages = 0
.PrintImage
.OutputFile = "S:\AC\Regional\Common\Documents\2005-06 Regionals
OOP's\OOP-" & strSiteDate & ".pdf"
.PrintImage


The crazy thing is that this was working just fine back in March. We
haven't had a need to use this part of the program and it hasn't changed. It
just will no longer print to the directory I specify.

Anyone else have trouble with this in Access?
 
W

Wei Lu [MSFT]

Hi Jason,

I would like to know if you specify the file path as "c:\", does this issue
appeared?

Also, have you got any error message when you try to print the PDF file?

Sincerely,

Wei Lu

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
J

Jason

Wei,

If I change it to "C:\" it still prints to the My Documents folder.

I do not get any errors when I click the button to print the rerport. It
used to print the report and place it in two different folders. It worked
fine. Then one day it stopped printing to those folders and always printing
to the My Documents folder on the individuals Computer.

Thanks,

Jason
 
W

Wei Lu [MSFT]

Hello Jason,

It seems that the PDFClass have something wrong. I would like to know if
anyother access file using the PDFClass have got the same issue?

Since this class is not provided by the Microsoft Access, I would strong
recommend you to contact the provider of this Class. Please note that we
are happy to help provide information on this issue for you, we recommend
that you work with the third party vendor for assistance with this.

You could update any information here that if you have any questions or
concerns, please feel free to let me know.

Sincerely,

Wei Lu

Microsoft Online Community Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top