Skip header
 

lpr

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

Note

  • "=", ",", "_", and ";" cannot be used for filenames. File names will be read as option strings.

  • If personal authentication (Basic, Windows, LDAP, or Integrated Server Authentication) is enabled, only authenticated users (users authenticated by login user name and password) can log on.

  • For "mput" command, "*" and "?" can be used as wild cards in file names.

  • When printing a binary file in ASCII mode, print may not come out correctly.

  • For details about login user name and password, see Security Reference, which is the administrator's manual.

  • For details about the virtual printer configuration, see "Setting the Virtual Printer".

  • For details about PDF direct print precautions, see "PDF Direct Print Precautions".