Printing Files Directly from Windows

Printing Files Directly from Windows

❒ If the message "print requests full"

appears, no print jobs can be ac-

cepted. Try again when sessions

end. For each command, the

amount of possible sessions is indi-

cated as follows:

• lpr: 5(When the spool printing

function is available: 10)

• rcp, rsh: 5

• ftp: 3

❒ Enter the file name in a format in-

cluding the path from the directo-

ry executing commands.

Reference

The “option” specified in a com-

mand is an intrinsic printer option

and its syntax is similar to printing

from UNIX. For details, see UNIX

Supplement.

rcp

First, register the printer's host name

in the hosts file.

c:> rcp [-b] \pass name\file

name [pass name\file name...]

printer's host name:[option]

Note

❒ In file names, "*" and "?" can be used

as wild cards.

❒ When printing a binary file, add

the “-b” option.

When using a printer with the host

name "host" to print a PostScript file

named "file 1" or "file 2" located in the

"C:\PRINT" directory, the command

line is as follows:

c:> rcp -b C:\PRINT\file1

C:\PRINT\file2 host:file-

type=RPS

lpr

❖ When specifying a printer by IP ad-

dress

c:> lpr -Sprinter's IP ad-

dress [-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

5

Reference

For details about registering the

printer's host name in the hosts

file, see p.133 “Using a Host Name

Instead of an IP Address”.

ftp

Use the "put" or "mput" command ac-

cording to the number of files to be

printed.

❖ When one file is printed

ftp> put \pass name\file

name [option]

❖ When multiple files are printed

ftp> mput \pass name\file

n a m e [ \ p a s s n a m e\ f i l e

name...] [option]

Follow the procedure below to print

using the "ftp" command.

135

Page 141
Image 141
Open full-size image