Specifying the Device Option
19
1
Specifying the Device Option
With the following options, you can print with specific printer functions.
Configuring the Device Option
The configuration of the print option varies, depending on printing commands.
• rsh
% rsh host_name print option1=value1,… < file_name
• rcp
% rcp file_name host_name:option1=value1,…
• ftp
ftp> put file_name option1=value1,…
“host_name” is the printer host name. “file_name” is the file name you want to
print. The device option is specified in the form of “option=value”. For more in-
formation about types of device options and values, see the following explana-
tions.
For example, the following settings are for printing with “rsh”, “rcp”, and “ftp”:
switch to PostScript 3, use paper from paper tray 1, set the number of copies to
3 sets, and print with the resolution set to 600 dpi (host_name: “nphost”;
file_name: “file1”).
• rsh
% rsh nphost print filetype=postscript,tray=tray1,cop-
ies=3,resolution=600 < file1
• rcp
% rcp file1 nphost:filetype=postscript,tray=tray1,cop-
ies=3,resolution=600
• ftp
ftp> put file1 filetype=postscript,tray=tray1,cop-
ies=3,resolution=600
Note
❒ Multiple options must be separated by commas (,). Do not use spaces.
❒ When the printing file contains the PCL, PJL, PostScript 3 commands control
of the option, the command takes priority.
❒ Enter the option using the “lp” or “lpr” command when the shell script is ex-
ecuted. The option settings made here are configured as default. You must
create another printer if you want to change printer option settings. For more
information about changing the configured option, see p.8 “Deleting the
printer”.
❒ When printing with the “lp” command, use “_” instead of “=” and “;” instead
of “,” for operating systems that cannot use “=” and “,” such as Solaris 2.5 or
later.