Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Avoid "Save" Dialog box when printing Access Report to Adobe PDF

Posted on 2006-07-13
3
Medium Priority
?
843 Views
Last Modified: 2012-05-05
I asked this question in the MS Access forum, but wasn't sure if it's more suited to this forum, so I'll ask it here as well:

Is there a way to bypass the "Save" dialog box when performing the following command for an Access Report:

Set Application.Printer = Application.Printers("Adobe PDF")

DoCmd.OpenReport "r_ByPerson", acViewNormal, , , , strSQL

Set printer back to original printer

The functionality works fine to generate the PDF from the Access Report, however the user is 1st required to save the document.  I'd like to bypass/avoid forcing the user to save the document such that the the report is automatically opened in Adobe (Only user's with Acrobat Professional will be using this feature).  Then, once in Adobe, the user can opt to save the document manually (File->Save) if they chose.

Thanks!
0
Comment
Question by:bkapla1
3 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 2000 total points
ID: 17101275
Download the "Distiller API Reference" from Adobe's web site: http://partners.adobe.com/public/developer/acrobat/sdk/index_doc.html#api (you may need to register for a free web account). On pages 19 and 20 it describes how to turn off the prompt for the filename. You have to create a register key with the file name.

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question