iprntcmd - iprint administrative utility.
iprntcmd <options> <parameter>
iprntcmd provides command-line functionality for iPrint administrative tasks on a workstation.
You must use quotes around parameters that contain spaces.
Most of the commands listed below are common for Windows and Mac operating system. If a command is valid for only Windows or Mac, we mentioned the specific operating system in that command.
Option type <parameter>
Installs the specified printer.
Clears all saved passwords.
Displays an iPrint icon to the notification area and launches the iprint-listener-gui process, if it is not running.
Launches the iprint-listener process if it is not already running.
Removes the specified printer.
Remove all the printers. This option requires your confirmation before removing all the printers.
Remove all the printers. This option removes all the printers forcibly without any user intervention.
Displays the default printer installed on the workstation.
Displays help for the command.
Lists the print jobs for the specified printer that are on the server in a pending or printing state.
Lists printers installed on the workstation.
Lists iPrint printers on the specified Print Manager, where psm-hostname or psm-address can be a host name or IP address.
Sends a printer-ready file to the specified iPrint printer.
Lists the PPDs installed on this workstation.
Sets the specified printer as the default.
Prints a test page to the specified printer.
(Mac workstation) Uploads the specified PPD files to the indicated driver store, where ids_uri is the IP address or host name for the driver store, and ppd is the directory path and filename to the PPD files. You can use a wildcard in the PPD filename.
Uploads the specified PPD files to the indicated Broker, where rms_uri is the IP address or host name for the Broker’s associated Print Manager, rms_name is the username with rights to add drivers to the broker, and ppd is the directory path and filename to the PPD files. You can use a wildcard in the PPD filename.
-U <ids_uri> <username> <password> INF-Filepath <model-name>
Uploads the Windows driver to the indicated Driver Store where ids_uri is the IP address or host name of the Driver Store, and INF-Filepath is the file path of the Windows driver.
-U [osx] <ids_uri> <username> <password> driver-Filepath
Uploads the specified Mac Driver package (Mac PPD or PDE driver package) files to the indicated Driver Store where ids_uri is the IP address or host name of the Driver Store, and driver-Filepath is the path of the Mac driver file (PPD or PDE).
Displays the server platform and version information, where server_uri is the URI for the server.
Displays the printer information.
Applies the iCM settings modified by the administrator. If the [no-gui] option is used, the modified settings are applied but no iCM GUI is displayed. To view the logs, see c:\NDPS/Users/user_name/icmlog.txt.
Sets the PSM address for iCM configuration.
Fetches the printer driver on local machine.
iprntcmd --<option> ipp://<host_address>/ipp/<printer_name>
iprntcmd --addprinter ipp://printing.MyCompany.com/ipp/Printer1
iprntcmd --delprinter ipp://printing.MyCompany.com/ipp/Printer1
iprntcmd --getdefault
iprntcmd --listjobs ipp://printing.MyCompany.com/ipp/Printer1
iprntcmd --listprinters
iprntcmd --listprintersonserver printing.MyCompany.com
iprntcmd --printfile ipp://printing.MyCompany.com/ipp/Printer1 /home/user1/temp.txt
iprntcmd --ppdlist
iprntcmd --setdefault ipp://printing.MyCompany.com/ipp/Printer1
iprntcmd --testpage ipp://printing.MyCompany.com/ipp/Printer1
iprntcmd --uploadids printing.MyCompany.com /usr/share/cups/model/HP/LaserJet_4V_4LJ_Pro-lj4dithp.ppd.gz
or
iprntcmd --uploadids 192.168.3.4 /usr/share/cups/model/HP/LaserJet_4V_4LJ_Pro-lj4dithp.ppd.gz
iprntcmd --uploadids printing.MyCompany.com /usr/share/cups/model/HP/LaserJet_4*
or
iprntcmd --uploadids 192.168.3.4 /usr/share/cups/model/HP/LaserJet_4*
iprntcmd --uploadbroker printing.MyCompany.com rms_name /usr/share/cups/model/HP/LaserJet_4V_4LJ_Pro-lj4dithp.ppd.gz
or
iprntcmd --uploadbroker 192.168.3.4 rms_name /usr/share/cups/model/HP/LaserJet_4V_4LJ_Pro-lj4dithp.ppd.gz
iprntcmd --uploadbroker printing.MyCompany.com rms_name /usr/share/cups/model/HP/LaserJet_4*
or
iprntcmd --uploadbroker 1.2.3.4 rms_name /usr/share/cups/model/HP/LaserJet_4*
iprntcmd --version printing.MyCompany.com
or
iprntcmd --version 192.168.3.4
iprntcmd --info ipp://printing.MyCompany.com/ipp/Printer1