The secondary server installation process can also be automated via command line switches issued to the installer program. This may be useful when there is a need to install the Print Provider on a number of desktop systems hosting local attached printers.
To automate the installation:
Copy the windows installer program, pcng-setup.exe
, into a directory accessible to the target
systems (i.e. A network share or mapped drive).
Copy the print-provider.conf
file from main server. This file is located
at [app-path]/providers/print/win
. Place the file in the
same directory as the install program (as performed in step 1.)
Edit the print-provider.conf
file and define the correct server name or IP
address of the main application server in the line starting with
ApplicationServer=
.
Use a batch file or equivalent to start the install program as follows:
pcng-setup.exe /TYPE=secondary_print /SILENT
Note: The installer requires administrator level - needed to install a system service.
Note:
The executable name of the installer program may vary depending on the version.
Replacing the /SILENT
option with /VERYSILENT
will suppress all visual output
during the installation process.
The copy of the print-provider.conf
file is used during the install process to ensure the installation
is aware of the location of the main application server.
For a full list of command-line arguments, see the section called “Automating / Streamlining Installation on Windows”.
© Copyright 1999-2011. PaperCut Software International Pty Ltd. All rights reserved.