InstallPrinter
Installing the Printer
Definition
Installs a local printer.
Requirements for incorporating the command:
- The printer must be installed on the computer on which the installation package is generated.
- The printer is
"supplied with the operating system", i.e. installation of the
printer is included in the operating system's scope of delivery.
(For printers which are not included in the delivery: see Installation of printers not supplied with the operating system).
This command is not generated by NetInstall Spy.
You cannot use the InstallPrinter command to install Plug
& Play printers.
Instead, please create a package to install the Plug
& Play device (Insert > New >
Package for Plug&Play Devices).
Proceed as follows to include the command:
- Install the printer with the mechanisms provided in Windows using an administrator account.
- Open the required package in the script window of the NetInstall Manager.
- Select command InstallPrinter. The Select Printer dialog appears.
- Select the required printer. Click OK.
- The
Install printer dialog appears. Values are
already defaulted in the text fields. You will normally not need to change
anything. You can substitute fixed values with variables if required.
You can select another printer by clicking the Browse button. - Click OK. This takes you back to the script window.
Settings
Input
Input in the dialog Install Printer:
- Printer
name
The descriptive name of the printer. - Use
as default printer
The printer is defined as default for all programs. - Port
name /Share
The port the printer is connected to and is available at.
Windows printer
\\Server\<Share>. The value can be changed.
Printers addressed as UNIX print queues
- via default TCP/IP-Port (Windows 2000 and higher): IP_<IP Address>
- via LPR port (Windows NT 4.0 and higher): <Printer>:<Queue>
The value cannot be changed.
See also: UNIX Printer Queues - Files
to be installed
The driver files for this printer.
The content of this field cannot be changed. - Source
path for driver files
The path on which the driver files for this printer are located.
Two options are available:- Administrative share on the print server
Relates to administrative (hidden) share print$:
The directory w32x86 of the administrative share print$ (%winsysdir%\spool\drivers\w32x86) is used: \\servername\print$\w32x86. - Specify source path
Permits the source path to the specified directly; use the default if possible (.\Extern$\Drivers\).
Warning: If you use a path outside .\Extern$, the driver files are not replicated! Specify the path where you want to copy the driver files from.
- Administrative share on the print server