Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / September 2004

Tip: Looking for answers? Try searching our database.

Print PDF files from Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CrowT - 30 Sep 2004 17:03 GMT
Scenario: I have a PDF document stored as follows:
c:\Files\MyDoc.pdf

On an Access form, I have a 'Preview' button and a 'Print' button.
Specifically, what code do I write to:
    a. Preview the pdf document (Note: It does not need to preview in
some kind of embedded control on the form; it just needs preview the
file in whatever application is easiest; installing any specialty
applications other than IE or Acrobat is not an option)
    b. Print the pdf document automatically (ie, when the user pushes
the 'Print' button, the pdf document goes straight to the printer with
no preview or user intervention)

Thanks!!
Salad - 30 Sep 2004 23:03 GMT
> Scenario: I have a PDF document stored as follows:
> c:\Files\MyDoc.pdf
[quoted text clipped - 5 lines]
> file in whatever application is easiest; installing any specialty
> applications other than IE or Acrobat is not an option)

You might try the code at http://www.mvps.org/access/api/api0018.htm.
Or perhaps look at Shell.

>      b. Print the pdf document automatically (ie, when the user pushes
> the 'Print' button, the pdf document goes straight to the printer with
> no preview or user intervention)

Don't know.  Does Acrobat allow parameters to be passed to it?  THat'd
be the easiest.  Maybe go to Tucows http://www.tucows.com and see if
there is a utility to print PDF files on the fly.  Or check at
http://groups.google.com in advanced search for printing them.

> Thanks!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.