beautypg.com

Examples of settings for hp-ux 11.0, 3 printing (sunos), Print (lpr) – Oki B 6300 User Manual

Page 31: Command format

background image

6.3 Printing (SunOS)

27

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 HP-UX 11.0

The examples below show printer settings for HP-UX 11.0 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 of the printer after -orm.
• Enter the printer name of the remote host after -orp. 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.

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)

6.3

Printing (SunOS)

This section describes the procedure for printing from workstations running SunOS.

Refer to
• Manuals that came with the workstations

Print (lpr)

The “lpr” command is used to print.

Command Format

/usr/ucb/lpr [-P Printer name] [-# No. of copies] [-C Option] File name

#lpadmin -pP001 -mrmodel -v/dev/null -ocmrcmodel

-ormprinter1 -osmrsmodel -orpPS -ob3

#lpadmin -pP002 -mrmodel -v/dev/null -ocmrcmodel

-ormprinter1 -osmrsmodel -orpPS_A4_DUP -ob3

#lpadmin -pP003 -mrmodel -v/dev/null -ocmrcmodel

-ormprinter1 -osmrsmodel -orpPS01 -ob3