When specifying a printer by an IP address
c:\> lpr -Sprinter's IP address -Pprinter name [-ol] \pass name\file name
When specifying a printer by host name instead of an IP address
c:\> lpr -Sprinter host name -Pprinter's name [-ol] \pass name\file name
To print a binary file, include the “-ol” switch (a dash followed by a lowercase O and L) after the printer name.