When specifying a printer by IP address
c:> lpr -Sprinter's IP address [-Poption] [-ol] \pass name\file name
When using a host name instead of an IP address
c:> lpr -Sprinter's host name [-Poption] [-ol] \pass name\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