Printing Files Directly from Windows
You can print files directly using Windows commands (lpr, ftp, or sftp). For example, you can print PostScript files for PostScript 3.
Follow the procedure below to make network environment settings.
Enable TCP/IP with the control panel, and then set up the printer's network environment about TCP/IP including IP addresses.
TCP/IP of the machine is set as default.Install a TCP/IP in Windows to set up the network environment.
Consult the network administrator for the local setting information.To print under Windows, install "Printing service for UNIX" as the network application.
For details about DHCP environment, see Using DHCP.
When a host name is defined, you can specify a printer by host name instead of IP address. The host names vary depending on the network environment.
When using DNS
Use the host name set to the data file on the DNS server.
When setting the IP address of a printer using DHCP
Use the printer name on the configuration page as the host name.
In other cases
Add the IP address and host name of the network printer to the hosts file on the computer used for printing. Methods of addition vary depending on operating systems.
Open the hosts file using memo pad files, for instance.
The hosts file can be found in the following folder:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS
Add an IPv4 or IPv6 address and host name to the hosts file using the following format:
192.168.15.16 host # NP
"192.168.15.16" is the IPv4 address, "host" is the printer's host name, and "#NP" is replaced by comments. Insert a space or tab between "192.168.15.16" and "host", between "host" and "#NP" respectively, using one line for this format.2001:DB::100 host # NP
"2001:DB::100" is the IPv6 address, "host" is the printer's host name, and "#NP" is replaced by comments. Insert a space or tab between "2001:DB::100" and "host", between "host" and "#NP" respectively, using one line for this format.Save the file.
When using a host name under Windows Server, with IPv6 protocol, perform host name resolution using an external DNS server. The host file cannot be used.
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.
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
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
For details about the virtual printer configuration, see Using the Virtual Printer.
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.
Formulate 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"
Enter 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.When 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.Specify 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
Quit ftp.
ftp> bye
"=", ",", "_", 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.