How to minimize the iPrntcmd DOS Window when installing iPrint printers.

  • 3882084
  • 08-Jun-2007
  • 19-Feb-2016

Environment

Novell iPrint Client for Windows

Situation

iprntcmd.exe has the ability to install printers from a command line. For example:
Syntax:
iprntcmd -a no-gui ipp://<ip or dns of iPrint server>/ipp/<printer name>

Example:
iprntcmd -a no-gui ipp://printsrv3.company.com/ipp/HP4200FLR3
This command can be invoked from a Novell Login Script by inserting a # or @ in front of iprntcmd. When installing many printers by this method, a cmd.exe Window may be on the user's desktop for many seconds. This Window may confuse end users and therefore is unacceptable.

Resolution

While iprntcmd does not include an option to minimize the cmd.exe Window, CMD does. The example below shows how to implement CMD's minimize command and execute the installation of an iPrint printer using iprntcmd.

Syntax:
@CMD /c start /min iprntcmd -a no-gui ipp://<ip or dns of iPrint server>/ipp/<printer name>

Example:
@CMD /c start /min iprntcmd -a no-gui ipp://10.3.1.9/ipp/PayrollCLR