User Guide

Printing Commands

The following explains printing operations using the "lpr", "ftp", and "sftp" commands.

Enter commands using the command prompt window. The location of the command prompts varies depending on operating systems, see Windows Help for details.

Note

  • Match the data format of the file to be printed with the emulation mode of the printer.

  • If the message "print requests full" appears, no print jobs can be accepted. Try again when sessions end. For each command, the amount of possible sessions is indicated as follows:

    • lpr: 5 (When the spool printing function is available: 10)

    • ftp: 3

    • sftp: 3

  • Enter the file name in a format including the path from the directory executing commands.

  • The "option" specified in a command is an intrinsic printer option and its syntax is similar to printing from UNIX.

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

Note

Printing with ftp / sftp command

Use the "put" or "mput" command according to the number of files to be printed.

When one file is printed

ftp> put \path\file name [option]

Printing from the virtual printer

ftp> put \path\file name [virtual printer name],

When multiple files are printed

ftp> mput \path\file name [\path\file name...] [option]

Follow the procedure below to print using the "ftp" command.

1Formulate the printer's IP address or the host name of the hosts file printer as an argument and use the "ftp" command.

% ftp "printer's IP address"

2Enter the user name and password, and then press the [Enter] key.

For details about the user name and password, consult your network administrator.

User:

Password:

When user authentication is set, enter a login user name and password.

3When printing a binary file, set the file mode to binary.

ftp> bin

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

4Specify files to be printed.

The following shows the examples of printing a PostScript file named "file 1" in the "C:\PRINT" directory and printing file 1 and file 2.

ftp> put C:\PRINT\file1 filetype=RPS

ftp> mput C:\PRINT\file1 C:\PRINT\file2

5Quit ftp.

ftp> bye

Note

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

  • If you are using ftp, you cannot specify an option using the "mput" command.

  • If you are using ftp, you cannot specify an option using the "pwd" command.

  • If you are using sftp, you cannot specify an option using the "cd" command.

  • If you are using sftp, you cannot specify an option using the "pwd" command.

  • To use SFTP, you must create an open key for SSH communication. Use Web Image Monitor to create an open key. For details, see Web Image Monitor Help.

  • 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 in.

  • For the "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, contact your administrator.

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

Printing password protected PDF files using commands

Use the following procedure to print a password-protected PDF file directly.

To print a password-protected PDF file, enter the password using the control panel or Web Image Monitor.

Using the Control Panel

To enter a PDF password using the control panel, select [Change PDF Password] on [PDF Menu].

Using Web Image Monitor

To enter the PDF password using Web Image Monitor, set [PDF Temporary Password] under [Configuration]. For details, see Web Image Monitor Help.