Dell Open Print Driver: MSI Install Command Line Options Lockdown Policies
Dell Open Print Driver: MSI Install Command Line Options Lockdown Policies
Dell Open Print Driver: MSI Install Command Line Options Lockdown Policies
Table of Contents
MSI install command line options .......................................................................................................3 Using the DellOPD Installer from the Command Line............................................................................... 3 Lockdown Policies ..............................................................................................................................5 Managing Printer Features Using Group Policies ..................................................................................... 5 Available Policies....................................................................................................................................... 5 Discovery Policies .................................................................................................................................. 5 Discovery Feature Control ........................................................................................................................ 6 Printer Feature Control ............................................................................................................................. 7 Paper Size Feature Control / Allowable Paper Sizes ............................................................................. 9 How to Define Policies on the Server ..................................................................................................... 10 Policies with Multiple Selection .............................................................................................................. 20 How Users See Policies ........................................................................................................................... 24
Chapter 1
MSI install command line options
Using the DellOPD Installer from the Command Line
Like all Windows Installer MSI packages, the Dell Open Print Driver installer (DellOPD.msi) can be run from the Windows command line. The command-line syntax is:
msiexec.exe {/i | /x | /f} DellOPD.msi [/q{n|b|r|f} [/l log-file] [properties]
where: /i /x /f /qn /qb /qr /qf /l Indicates that the Dell Open Print Driver is to be installed Indicates that the Dell Open Print Driver is to be uninstalled Indicates that the Dell Open Print Driver is to be repaired Indicates that the installer is to be run silently. Note that on an uninstall or a repair, the installer will automatically restart the computer on completion Indicates that the installer will run with a minimal user interface (progress bar only) Indicates that the installer will run with a reduced user interface Indicates that the installer will run with a full user interface (this is the default) Causes the installer to log its activities to the specified log file. See the Windows SDK documentation for the full list of logging sub-options.
properties Optional properties to further customize the operation of the installer NODEFAULT=1 Do not set the DellOPD dynamic instance as the users default printer. If this property is omitted, the dynamic printer instance will be created as the default printer. Set multiple networks, where NW1 is Network Address. For e.g. NETWORKS =192.168.1.100, Set multiple subnets, where SN1 is Subnet Address. For e.g. SUBNETS =255.255.255.0, Note: If the number of subnets does not match the number of networks specified, installer only includes the first N networks, where N is the count of the shorter list. PRINTERADDRESSES = address, PRINTERADDRESSES = @path Install a static printer object for the printers at each of the given addresses. The addresses of the printers to be created may be specified either as a comma-separated list of printer addresses, or as a full file system path to an ANSI text file 3
NETWORKS =NW1,NW2,
SUBNETS =SN1,SN2,
containing a comma-separated list of addresses. A reference to a file path is marked by a leading @. The path must be an absolute path, and may be a local path (such as @C:\printers.txt) or a UNC path referring to a network location (such as @\\Server\InstallFolder\printers.txt). Each address is either an IP address (such as 192.168.1.118) or the UNC share name of a shared printer (such as \\Server\PrinterName). If the printer at a given address is a known and supported Dell printer, the static printer object will be created as the appropriate model. Otherwise, it will be created as a generic laser printer. If the specified printer is not accessible (e.g. if it is turned off or has been disconnected from the network) at the time the install is done, a static printer object will nevertheless be created for that printer. If the printer was specified with an IP address, the printer object name will be Dell Open Print Driver on <ip-address>; if it was specified with a UNC name, the printer object name will be <share-name> on <server-name>. It will be created as a generic laser printer with default printer settings. The correct model and specific printer configuration can be determined after the install is done, when the device can be successfully connected. In the context of a Windows domain (where Active Directory is present), it is recommended that server names be specified on the command line as fully-qualified domain names. That is, if the Windows domain is company.com, to install a server-attached printer, use \\server.company.com\printer rather than
\\server\printer
Chapter 2
Lockdown Policies
Managing Printer Features Using Group Policies
The Dell Open Print Driver supports the use of Windows Group Policies to control access to printers and printer features on a per-user or per-group basis. System administrators define the policies to be observed in their organization on a Windows server on their network; these policies are pushed out to individual users computers and are enforced by the Dell Open Print Driver when users discover and manage printers and when they print jobs on printers which use the Dell Open Print Driver.
Available Policies
Discovery Policies
The Dell Open Print Driver dynamically discovers printers on the network that the driver can support and the user can print to. Group policies are available which will control how wide a network the discovery process will and what kinds of printers will be made available to the user.
The following Dell printer models are supported by the Dell Open Print Driver: Dell 1130n Mono Laser Printer Dell 2130cn Color Laser Printer Dell 2135cn Color Laser MFP Dell 2145cn Color Laser MFP Dell 2150cdn Color Laser Printer Dell 2150cn Color Laser Printer Dell 2155cdn Color Laser MFP Dell 2155cn Color Laser MFP Dell 2230d Mono Laser Printer Dell 2330dn Mono Laser Printer Dell 2350dn Mono Laser Printer Dell 2355dn Mono Laser Printer Dell 3115cn Color Laser MFP Dell 3130cn Color Laser Printer Dell 3330dn Mono Laser Printer Dell 3333dn Mono Laser MFP Dell 3335dn Mono Laser MFP Dell 5110cn Color Laser Printer Dell 5130cdn Color Laser Printer Dell 5210n Mono Laser Printer Dell 5230n Mono Laser Printer Dell 5310n Mono Laser Printer Dell 5330dn Mono Laser Printer Dell 5350dn Mono Laser Printer Dell 5530dn Mono Laser Printer Dell 5535dn Mono Laser MFP Dell 7130cdn Color Laser Printer Dell 7330dn Mono Laser Printer Dell 7330n Mono Laser Printer
Discovery Timeout
The Dell Open Print Driver discovery process will time out after a certain amount of time. By default this value is 2000 milliseconds (i.e. two seconds). The system administrator may use this policy to shorten or lengthen this timeout value.
Feature Policies
Feature policies control which features are available to the user.
Disable Copies
When selected, this policy limits the user to printing a single copy of each job.
Disable Orientation
When selected, this policy prevents the user from printing in landscape orientation.
Disable Puncher
When selected, this policy prevents the user from using a devices installed hole puncher.
Disable Scaling
When selected, this policy prevents the user from scaling output up or down.
Disable Stapler
When selected, this policy prevents the user from using a devices installed stapler.
Disable Watermarks
When selected, this policy prevents the user from defining or using watermarks.
Force Duplex
When selected, this policy forces the user to print either simplex, duplex long edge, or duplex short edge.
Force NUp
When selected, this policy requires the user to print multiple pages on a single sheet (2-Up, 4-Up, etc.)
10
1. Open the Group Policy Management snap-in. Expand the tree view on the left to the desired domain, and right-click the Group Policy Objects folder, and select New.
2. Name the new Group Policy in the dialog that pops up, and click OK.
11
3. From the list of GPOs in the right-hand pane, select the new GPO, right-click it, and choose Edit to bring up the GPO Editor snap-in.
12
4. Import the Dell Open Print Driver administrative template into the GPO. In the GPO Editor tree view, select User Configuration; then select Policies / Administrative Templates, right-click it, and select Add/Remove Templates.
13
5. From the Add/Remove Templates dialog, click Add and browse to the location of the Dell Open Print Driver administrative template file lockdown.adm. Select lockdown.adm in the file selection dialog and click Open.
14
6. On the Add/Remove Templates dialog, click Close. Then in the tree view of the GPO Editor snapin, select Printer Feature Control under User Configuration/Policies/Classic Administrative Templates (ADM). The right-hand pane of the snap-in shows the policies that have been made available by the administrative template. (All of the policies will be in the not configured state.)
15
7. Double-click a policy (in this example, Force Print Quality) to configure it. The policy Properties dialog will be shown.
16
8. Select Enabled. This will enable the drop list to set the property value. Select the desired value for the property (Draft in this example).
9. Click OK. The new policy will be listed on the right-hand pane of the GPO Editor as Enabled. (In this example, a few other policies have also been enabled)
17
10. To link the new GPO to a group, return to the Group Policy Management snap-in. Right-click on the group you wish to link to (in this example, UserGroup1), and select Link an Existing GPO.
11. In the Select GPO dialog, select the GPO you have just created, and click OK.
18
12. The defined policies will be pushed out to the machines in the domain. When affected users log on, the defined policies will be reflected in their system registries. The following registry editor screen shot for a user in the Engineering group shows the registry entries resulting from the Group Policy Object created in this example:
19
20
3. Open the Properties dialog for Allowable Paper Sizes , select Enabled, and click Show.
4. The GPO Editor displays the Paper Sizes list box, with no entries.
21
5. For each Paper Size to be permitted, click the Add button and enter the numeric Paper Size ID.
6. When the system administrator is finished, the list box will contain a list of all valid values for the Paper Size feature. In this example, the values 5, 7, 9 and 37 refer to Legal, Executive, A4 and Envelope Monarch.
22
7. When this policy is pushed out the users machines, the resulting registry entries will be:
23
24
Note also the padlock icon in the lower right quadrant of the dialog. This icon appears on the printing preferences dialog whenever the features of the driver have been limited in any way by Group Policy. If the user clicks on the icon, a message box will be shown which briefly explains why some features are not available.
25