lpfence

lpfence

The lpfence program sets the fence priority for a printer. The fence priority is the minimum priority value that a request must have to be printed on that printer. The runstring is as follows:

CI> lpfence printer priority

Priority values are from 0 (lowest priority) to 7 (highest priority). Only requests with the given priority or greater are printed on the named printer. A request that could otherwise be sent to the printer, but that has a priority lower than the fence, is sent to the printer once the priority fence is lowered (or the request may be sent to another member of the destination class).

This command affects only the local operation of a remote printer. The fence setting on the remote host may be different than that of the local system.

You must be a superuser to run lpfence.

The lpadmin and lpfence programs are identical executables. Only one of these program files needs to be a type 6 executable; the other may be, for example, a symbolic link to the type 6 file or a prototype ID segment for the type 6 file.

Return Status

lpfence returns the following status:

$RETURN1 = the number of errors encountered; zero if none.

LP Spool System 225