*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> lpsched (1m)              


 lpsched(1M)                                                     lpsched(1M)

 NAME    [Toc]    [Back]
      lpsched, lpshut, lpmove, lpfence - start the LP request scheduler,
      stop the LP request scheduler, move requests between LP destinations,
      and define the minimum priority for printing

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/lpsched [-v] [-a]
      /usr/sbin/lpmove requests dest
      /usr/sbin/lpmove dest1 dest2
      /usr/sbin/lpfence printer fence

 DESCRIPTION    [Toc]    [Back]
      lpsched     Schedules requests taken by lp(1) for printing on
                  printers.  lpsched(1M) is typically invoked in /sbin/rc.
                  This creates a process which runs in the background until
                  lpshut is executed.  The activity of the process is
                  recorded in /var/adm/lp/log.

                  lpsched recognizes the following options:

                     -v    Write a verbose record of the lpsched process on

                     -a    Write lpana(1M) logging data on

      lpshut      Shuts down the printer scheduler.  All printers that are
                  printing at the time lpshut is invoked stop printing.
                  Requests that were printing at the time the scheduler 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,
                  dest1 rejects requests.

                  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

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 lpsched(1M)                                                     lpsched(1M)

                  lpadmin(1M) command.  lpfence is used only when lpsched is
                  not running.

    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, the
      commands behave as if all internationalization variables are set to
      "C".  See environ(5).

 WARNINGS    [Toc]    [Back]
      lpsched, lpshut, lpmove, and lpfence perform their operation on the
      local system only.

 FILES    [Toc]    [Back]

 SEE ALSO    [Toc]    [Back]
      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            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
lpsched IRIX start/stop the LP scheduler and move requests
gang_sched HP-UX Gang Scheduler
schedctl IRIX scheduler control call
crontab HP-UX user job file scheduler
sched_setscheduler FreeBSD set/get scheduling policy and scheduler parameters
realtime IRIX introduction to realtime and scheduler facilities
NSTRSCHED HP-UX number of STREAMS scheduler daemons to run
nstrsched HP-UX number of STREAMS scheduler daemons to run
sched_getscheduler FreeBSD set/get scheduling policy and scheduler parameters
uusched IRIX the scheduler for the uucp file transport program
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service