tsirakua
asked on
Datawindow to PDF using Acrobat Distiller without the dialog box to save the file
Hi!!
How to sava a dw to a pdf file using the Acrobat distiller?
I have a datawindow and I use the function PrintSetPrinter("Adobe PDF") to use the pdf writer, then when I call the function dw_1.print() appears the dialog box from Acrobat to the user selects the path and the file name, but I want that the pdf be generated in a specified path and with a name gived for the application without the user knows.
In few words, I want to show the datawindow in the screen and when the user click on a button to print that the pdf been created in a specified path with a file name gived for the application and that the dialog box to save the file don't appears.
For your help thanks!!!
Tsirakua
How to sava a dw to a pdf file using the Acrobat distiller?
I have a datawindow and I use the function PrintSetPrinter("Adobe PDF") to use the pdf writer, then when I call the function dw_1.print() appears the dialog box from Acrobat to the user selects the path and the file name, but I want that the pdf be generated in a specified path and with a name gived for the application without the user knows.
In few words, I want to show the datawindow in the screen and when the user click on a button to print that the pdf been created in a specified path with a file name gived for the application and that the dialog box to save the file don't appears.
For your help thanks!!!
Tsirakua
ASKER
Error: Illegal enumerated constant: Distill!
Why???
Thanks
Why???
Thanks
Which version of pb are you using.
Is adobe distiller installed
Is adobe distiller installed
ASKER
PB 9.0 Beta3
Acrobat Professional 6.0 with the distiller instaled
Maybe because is the beta version of PB I'll try to get the PB 9.0 no beta
Thanks, I'll tell you if is the error for that
Acrobat Professional 6.0 with the distiller instaled
Maybe because is the beta version of PB I'll try to get the PB 9.0 no beta
Thanks, I'll tell you if is the error for that
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you
Why a 'C'. Please review the grade.
ASKER
I'm sorry, how can I change the grade?
integer li
dw_1.object.DataWindow.Exp
li = dw_1.SaveAs("c:\dw.pdf", PDF!, true )