Examples of settings for solaris 2.x – Oki B 6300 User Manual

Page 30

Advertising
background image

26

6 Printing From UNIX

3.

Registering PS01 set using OkiWebRemote

Important
• To specify multiple entries for the logical printer, make sure each printer entry is assigned its unique

spool directory. If a single spool directory is used for multiple printer entries, the printer select option may
not function correctly.

Note
• Add the printer name to the initial field of /etc/printcap. To specify multiple printer names, separate them

by “|”.

• lp:

The connected port device. No need to specify.

• rp:

This is the printer name of the remote host. The printer name corresponds to the print
language/mode.
The output style may be specified at the same time. The parameters for specifying a style
are the same as those available for the -C option. As the example of (2) shows, insert “_ ”
between the printer name and output parameters. You can enter up to 14 characters.
If PS%n or PLT%nH is specified for the printer name as in the example of (3), however,
the printer does not operate normally with an output style different from the preset one.
Set a printer name corresponding to the print language/mode and output style.

• rm:

This is the host name of the remote printer. Input the host name registered with /etc/hosts.

• sd:

This is the spool directory. Specify the absolute path of the spool directory which must be
created.

• lf:

This is the error log file. Create one if it does not already exist.

• mx#0:

The spool size limit is cancelled.

Refer to
• Manuals, such as online manuals, that came with various workstations
• For details about the -C option: “6.5 -C Option (lpr Command)” (P. 34).

Examples of Settings for Solaris 2.X

The examples below show printer settings for Solaris 2.6 where the printer host name is
printer1.

1.

Registering a printer (printer name: P001) supporting the PostScript language

2.

Registering a printer (printer name: P002) supporting the PostScript language that
feeds paper from an A4-size paper tray for duplex printing

3.

Registering a logical PostScript printer PS01 set using OkiWebRemote

Note
• Enter the host name and printer name of the remote host after -s by linking with !. The printer name

corresponds to the print language/mode.

• The output style may be specified at the same time. The parameters for specifying a style are the same

as those available for the -C option. As the example of (2) shows, insert “_” between the printer name
and output parameters. You can enter up to 14 characters.

• If PS%n or PLT%nH is specified for the printer name as in the example of (3), however, the printer does

not operate normally with an output style different from the preset one.

• Set a printer name corresponding to the print language/mode and output style.

#

##chosen PS decomposer on printer

##

P003 | printerPS:\

:lp=:rp=PS01:rm=printer1:\

:sd=/usr/spool/P003lpd:\

:lf=/usr/adm/printer1-errs:mx#0

#lpadmin -p P001 -s printer1\!PS

#lpadmin -p P002 -s printer1\!PS_A4_DUP

#lpadmin -p P003 -s printer1\!PS01

Advertising