How to auto install iPrint printers using AD tools

  • 7015913
  • 21-Nov-2014
  • 25-Feb-2016

Environment

Novell iPrint Client for Windows
Novell iPrint Appliance

Situation

Users have been imported from Active Directory to the iPrint Appliance.  Users log onto Active Directory.  The Novell Client for Windows is not installed on the workstation.  What options exist to push the installation of iPrint printers to specific AD users, Groups, or workstations?

Resolution

1. Allow users with limited MS privileges to install printers.
  • Open a terminal session to the iPrint Appliance server.
  • Edit the /var/opt/novell/iprint/htdocs/iprint.ini file.
  • Change the AllowUserPrinters value from 0 to 3.
  • Save the change.

2. Configure a printer to be installed.
Within the Active Directory delivery tool of your choice, add the following command to install (add) a printer:
Syntax:
iprntcmd -a ipp://<IP or DNS of iPrint Server>/ipp/<PAname>
Example:
iprntcmd -a ipp://myiprint.company.com/ipp/HPLJ4240-3rdFloor
Note: iprntcmd exists on every Windows workstation which has the iPrint Client installed.
This document will not attempt to list all the possible AD delivery methods.  However, one example a user profile logon script, as show here:
  • Create a file on the AD server called iprint.bat
    • Any .bat file name can be used.  iprint.bat is simply the example for this.
    • Contents of iprint.bat:
      • Syntax:
      •     iprntcmd -a ipp://<IP or DNS of iPrint Server>/ipp/<PAname>
      • Example:
      •     iprntcmd -a ipp://myiprint.company.com/ipp/HPLJ4240-3rdFloor
  • Copy iprint.bat to c:\windows\sysvol\sysvol\<domain>\scripts
  • Locate the user in Active Directory Users and Computers
    • Start | Administrative Tools | Active Directory Users and Computers
    • Highlight the user and select Properties
    • Click on the Profile tab and enter iprint.bat in the Logon script field
    • Click OK
  • Restart the test PC and logon to the AD domain using the configured account

Additional Information

There are other methods to install iPrint printers to workstations during logon when the Novell Client for Windows is not installed.  See the iPrint documentation entry for "Configuring iCM for Windows Active Directory (AD) environments without Novell Client".