8 Printer Environment Settings

-C parameter

To print from the machine using the PostScript language, use the -C option to specify the form of output.

This option is valid in the spool mode. In the non-spool mode, the client must be a Windows NT machine to use this option.

NOTE: If the PostScript logical printer and the -C option are configured simultaneously using CentreWare Internet Services, some functions may not work as expected. Also, when specifying the PostScript logical printer as a default printer on UNIX, it is recommended not to use the -C option by lpr. Refer to the -C option of the lpr command.

NOTE: Some options which are not listed here (e.g. -m option) and which are not processed by the workstation sending the print instructions, will not be valid.

NOTE: In the spool mode, up to 32 files can be specified in one lpr command. Any files specified after the 32nd file will be ignored.

Example

To print a file named file1 to a printer named fxPS, enter the following command:

%lpr -PfxPS file1

To print three copies of file1 and three copies of file 2 to fxPS, enter the following:

%lpr -PfxPS -#3 file1 file2

To print a file named file1 to a printer named fxPS as an A4-sized (210 × 297 mm/

8.3×11.7 inches) duplex job, enter the following command:

%lpr -PfxPS -C,DUP,A4 file1

Delete (lprm)

The lprm command is used to delete print data.

Command format

/usr/ucb/lprm [-P printer name] job number

Command options

The following command options are available.

-P printer name

This option specifies the printer name registered with /etc/printcap. If this option is omitted, the default printer lp will be used.

• job number

This option specifies the job number of the print data to be deleted. A job number is a serial number between 1 and 999 determined by the workstation. These numbers can be checked by issuing an lpq command.

Instead of a job number, you can specify a user name or “-”. This option is invalid in the non-spool mode.

User name is only valid when you log in as a superuser. When this option is taken, all the print data you specify will be deleted.

This option is only valid in the spool mode.

242

Page 242
Image 242
Xerox 5222 manual Parameter, Delete lprm