Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programatically create PDF's from CR9 1

Status
Not open for further replies.

SouthwestNut

Programmer
Sep 10, 2001
35
0
0
US
I am trying to use Visual Basic to programatically (and silently) create PDF's from CR9. However, the problem is that the user is continued to ask for the path they would like to store the pdf.

My code is as follows:

Dim Application As New CRAXDRT.Application
Dim Report As CRAXDRT.Report
Set Report = Application.OpenReport("reportpath")

'ADOBE DISTILLER
Report.SelectPrinter "AdobePS Acrobat Distiller", "Acrobat Distiller", "c:/test1.pdf"
Report.PrintOut False

Any insight as to why my path identifed in selectprinter method is not being used for the path would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top