Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

accept(1M)

cancel(1)

enable(1)

lp(1)

lpadmin(1M)

lpana(1M)

lpstat(1)

rcancel(1M)

rlp(1M)

rlpdaemon(1M)

rlpstat(1M)

lpsched(1M)

NAME

lpsched, lpshut, lpmove, lpfence − start/stop the LP request scheduler, move requests, and define the minimum priority for printing

SYNOPSIS

/usr/lib/lpsched [−v] [−a]
/usr/lib/lpshut
/usr/lib/lpmove requests dest
/usr/lib/lpmove dest1 dest2
/usr/lib/lpfence printer fence

DESCRIPTION

lpsched Schedules requests taken by lp(1) for printing on line printers. lpsched(1M) is typically invoked in /etc/rc.  This creates a process which runs in the background until lpshut is executed.  The activity of the process is recorded in /usr/spool/lp/log. 

lpsched recognizes the following options:

−v Write a verbose record of the lpsched process on /usr/spool/lp/log. 

−a Write lpana(1M) logging data on /usr/spool/lp/lpana.log. 

lpshut Shuts down the line printer scheduler.  All printers that are printing at the time lpshut is invoked stop printing.  Requests that were printing at the time a printer was shut down are reprinted in their entirety after lpsched is started again.  All LP commands perform their functions even when lpsched is not running. 

lpmove Moves requests that were queued by lp(1) between LP destinations.  This command can be used only when lpsched is not running. 

The first form of the command moves the named requests to the LP destination, dest. requests are request ids as returned by lp(1).  The second form moves all requests for destination dest1 to destination dest2. As a side effect, lp(1) rejects requests for dest1.

Note that lpmove never checks the acceptance status (see accept(1M)) for the new destination when moving requests.

lpfence Defines the minimum required priority for the spooled file to be printed.  fence must be in between 0 (lowest fence) and 7 (highest fence).  Each printer has its own fence, which is initialized to 0 when it is configured by the lpadmin(1M) command. lpfence is used only when lpsched is not running. 

HP Clustered Environment

In the HP Clustered Environment, all spooling is handled as if the cluster nodes were a single system and all printers attached to either the cluster server or clients can be available.  Remote spooling applies to spooling from or to machines outside of the cluster nodes. 

EXTERNAL INFLUENCES

Environment Variables

LC_TIME determines the format and contents of date and time strings. 

LANG determines the language in which messages are displayed. 

If LC_TIME is not specified in the environment or is set to the empty string, the value of LANG is used as a default for each unspecified or empty variable.  If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG.  If any internationalization variable contains an invalid setting, lpsched, lpmove, and lpshut behave as if all internationalization variables are set to "C".  See environ(5).

FILES

/usr/spool/lp/∗

WARNINGS

Moving requests associated with remote printers can cause unpredictable results. 

lpsched, lpshut, lpmove, and lpfence perform their operation on the local system (or HP cluster) only. 

SEE ALSO

accept(1M), cancel(1), enable(1), lp(1), lpadmin(1M), lpana(1M), lpstat(1), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). 

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026