Printing with lpr command
When specifying a printer by IP address
c:> lpr -Sprinter's IP address [-Poption] [-ol] \path\file name
When using a host name instead of an IP address
c:> lpr -Sprinter's host name [-Poption] [-ol] \path\file name
When printing a binary file, add the "-ol" option (lowercase O, and lowercase L).
When using a printer with the host name "host" to print a PostScript file named "file 1" located in the "C:\PRINT" directory, the command line is as follows:
c:> lpr -Shost -Pfiletype=RPS -ol C:\PRINT\file1
Printing from the virtual printer
C:\>lpr -S "printer's IP address" -P[virtual printer name] [-ol] \path\file name
For details about the virtual printer configuration, see Using the Virtual Printer.