Wikis - Page

iManager iPrint tasks using command line tool

0 Likes

Here are some useful Command Line iPrint management tasks.  These can be done in iManager, but sometimes CLI is more useful and sometimes more desirable for scripting purposes:

Create iPrint Driver Store

Syntax:

iprntman ids "[ids]" -c

Example:

iprntman ids "cn=myIDS,ou=myContainer,o=myOrganization" -c


Create Print Manager

Syntax:

iprntman psm "[psm]" -c --use-ids "[driverstore]"

Example:

iprntman psm "cn=myPSM,ou=myContainer,o=myOrganization" -c --use-ids "cn=myDriverStore,ou=myContainer,o=myOrganization"

Create a Printer

Syntax:

iprntman printer [printer] -c --container [context] --gateway-load-string "iprintgw PORT=LPR HOSTADDRESS=[ip_address_of_printer] PRINTERNAME=PASSTHROUGH"

Example:

iprntman printer p1 -c --container ou=print,o=novell --gateway-load-string "iprintgw PORT=LPR HOSTADDRESS=137.65.215.146 PRINTERNAME=PASSTHROUGH"


Associate Windows XP, Windows 2000, and Linux drivers to an existing printer

iprntman printer p1 -m --driver-winxp "HP LaserJet 4200 PCL 5e"
iprntman printer p1 -m --driver-win2k "HP LaserJet 3200 Series PCL 5e"
iprntman printer p1 -m --driver-linux "HP LaserJet 8000 Series"
iprntman printer p1 -m --driver-win764 "Xerox WorkCentre 7855" -u cn=admin,o=iPrintAppliance
iprntman printer p1 -m --driver-win1064 "Xerox Phaser 6360 Series Class Driver" -u cn=admin,o=iPrintAppliance
---> note: driver-win1064 updates the Win8/10 driver association.  driver-win864 updates the same thing.

p1 = printer name

Driver name in quotes can be found within the /var/opt/novell/iprint/resdir/<OS Type> directory.

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended