The following MS-DOS commands let you install iPrint printers without a Web browser and capture LPT ports to iPrint printers. These commands are useful when you have legacy applications that require output to an LPT port, or when you want to add printers through a login script.
Icapture.exe is an MS-DOS command line utility that lets you capture LPT ports and redirect the output to iPrint printers. The utility is installed when you install the iPrint Client, and it can be used at a MS-DOS window command line, called from a batch files, or called from a login script.
IMPORTANT: Icapture.exe requires that the iPrint printer be installed before the command is run. You can install a printer from the MS-DOS window command line using iprntcmd.exe.
Use the following parameters when executing the icapture.exe command.
ipaptureparameters
For example, to capture a printer named Printer1 to port number 2, you would enter either:
icapture l=2 p=printer1
or
icapture lpt2 p=printer1
To end the capture, you would enter either:
icapture endcap l=2
or
icapture endcap lpt2
If you need to install an iPrint printer but cannot use a Web browser, you can use the iprntcmd.exe command at a MS-DOS prompt. This command can install, remove, or set a printer as the default printer. It is most often used in login scripts in conjunction with the icapture.exe command. Use the following parameters when executing the iprntcmd.exe command.
iprntcmd iprint_printer_url parameters
To install a printer named ColorPrinter1 and set it as the default printer, you would enter the following for nonsecure printing"
iprntcmd ipp://printing.mycompany.com/ipp/ColorPrinter1 /add /default
iprntcmd http://printing.mycompany.com:631/ipp/ColorPrinter1 /add /default
NOTE: When using the http://, you need to specify the port number.
To install a printer named ColorPrinter1 and set it as the default printer, you would enter the following for secure printing:
iprntcmd https://printing.mycompany.com/ipps/ColorPrinter1 /add /default