streamline installation process?

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.
Post Reply
hbueno
Posts: 7
Joined: Thu Apr 10 2003

streamline installation process?

Post by hbueno »

Is it possible to install PDF Converter in an umprompted manner? That is, have it preconfigured to install with proper license key, mail settings, paper size settings, directory settings, etc? This would make my life as an admin much easier.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

You can write a batch file or a script to install the printer on the sytem, activate it, and set the settings you wish. Here is a small script that installs the Evaluation version of the PDF Converter:
' This VB script can be used to Install the PDF Converter on LPT1: port,
' and set "confirm before overwrite" as a default option for the driver.


Option Explicit

Dim PDF

Set PDF = CreateObject("cdintfex.cdintfex")

PDF.PDFDriverInit( "My PDF Export" )


'Enable the printer, version 2.1

PDF.EnablePrinter "Professional Evaluation", "07EFCDAB01000100A4AA3DF532D3E4008BCD94D237CEA55BE435430DB090F946F9F93A9FDC015B9EDF03AAB7B67652A96B885DE97FD8E34433B8590D2323C186EB08B9E119E931CA1F74B1C3DDA43AE9D503714AA5E825C06C83C04E3A019F473BF4FB90C5506CC9921B2C"


PDF.DriverInit( "My PDF Export" ) 'To prevent the printer from being removed

PDF.FileNameOptions = (4096) 'Confirm Before Overwrite

Set PDF = Nothing
Hope this helps.
hbueno
Posts: 7
Joined: Thu Apr 10 2003

Post by hbueno »

It works, but I don't understand how (I'm not a programmer). What is cdintfex and how does it help install the software?

Does this method work on both NT 4 and Win2K?
hbueno
Posts: 7
Joined: Thu Apr 10 2003

Post by hbueno »

I spoke too soon. It only worked on my PC. Other PC's get a complaint from Windows Scripting Host about cdintfex. Could it be this install script only works on the developer version? Can I substitute cdintdf for cdintfex?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hi,

The script mentioned here will work if you have the files of the PDF Converter in the same folder as this script and if you have CDintf210.dll stored and registered in your system directory.

CDintfEx is used with version 2.10 of the driver while CDintf was used in older versions.

As you noticed, this script doesn't set all the options you asked for, you will need to add code to configure the other settings of the printer like the paper size, output file, ect...

Hope this helps a little bit.
hbueno
Posts: 7
Joined: Thu Apr 10 2003

Post by hbueno »

Where do cdintfex and cdintf210.dll come from? They're not part of the installation files that I downloaded.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

CDIntf210.dll is the name of the DLL copied to the systme directory when running Install.exe. If you are not running Install.exe you need to rename CDintf.dll that you received to CDintf210.dll and copy it yourself to c:\Winnt\system32 if you are under Windows 2000.

CDintfEx is the name of the ActiveX interface used by the application (if you are writing some code).

If you feel confused with all of this, please send an e-mail to our support, telling them which license you want to buy so they can prepare a script for you to install the printer with the features you wish.

Thanks.
hbueno
Posts: 7
Joined: Thu Apr 10 2003

Post by hbueno »

I think a ciustomized script would be good. I'll contact support.

Thanks
Post Reply