setting default options with a vbscript

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.

setting default options with a vbscript

Postby ddnwolff on Thu Nov 21 2002

Is their a way to set printing preferences such as resolution, default document folder, and font embedding options with an installation script? We would like to do a silent install with certain options set.

Thanks in advance for your help


Dan Wolff
ddnwolff
 
Posts: 7
Joined: Thu Nov 21 2002
Location: Des Moines, Ia

Postby Joan on Wed Nov 27 2002

Hello,

Yes you can do this. Mainly you need to call the different functions of CDintf from the VB script.

Here is a pseudocode that may be helpful:

Set cdintf = CreateObject( "cdintf.cdintf" ) 'to create the CDintf object

cdintf.PDFDriverInit ("My PDF Printer") ' to install a new printer

cdintf.DriverInit("My PDF Printer") ' to keep the printer

cdintf.SetResultuion = 600

cdintf.SetDefaultConfig() ' to be called after changing the settings

cdintf.DefaultFileName = "c:\temp\test.pdf"

'Appendix D of the manual "Amyuni PDF Converter.pdf" Contains all the
' options you can set from FileNameOptions.
cdintf.FileNameOptions = 1 + 3


If you need more information about this issue please contact support@amyuni.com

Hope this is helpful.
Joan
Amyuni Team
 
Posts: 2799
Joined: Wed Sep 11 2002


Return to Amyuni PDF Converter (PDF Printer Driver)

Who is online

Users browsing this forum: No registered users and 1 guest