lpsched man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



LPSCHED(1M)			Printing Tools			   LPSCHED(1M)

NAME
     lpsched, lpshut, lpmove - start/stop the LP scheduler and move requests

SYNOPSIS
     /usr/lib/lpsched [-nofork] [-debug] [-nobsd]
     /usr/lib/lpshut
     /usr/lib/lpmove requests dest
     /usr/lib/lpmove dest1 dest2

DESCRIPTION
     lpsched schedules requests taken by lp(1) for printing on line printers
     (LP's). lpsched is normally invoked at boot time from the /etc/init.d/lp
     file. chkconfig (1M) can be used to enable or disable lpsched from
     starting ("chkconfig lp off" or "chkconfig lp on").

     lpsched will normally fork to free the calling process.  The -nofork
     option can be used to prevent lpsched from forking.  Do NOT use -nofork
     in the /etc/init.d/lp file (the intended use is for debugging when
     running lpsched from a shell). -debug can also be used to display verbose
     debug messages.

     lpsched normally binds a socket for the BSD spooler's well known port and
     will accept print requests from remote BSD spoolers via the socket
     connection.  If lpd(1M) is also running the bind call to the socket will
     fail and lpsched will ignore BSD print requests.  (If lpd is started
     after lpsched then lpd signals lpsched to drop the socket connection so
     lpd can acquire it.)  If the -nobsd flag is specified on the command line
     then lpsched will ignore the BSD spooler's well known port.

     Lpshut shuts down the line printer scheduler.  All printers that are
     printing at the time lpshut is invoked will stop printing.	 Requests that
     were printing at the time a printer was shut down will be reprinted in
     their entirety after lpsched is started again.

     Lpmove moves requests that were queued by lp(1) between LP destinations.

     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) will reject requests for dest1.

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

FILES
     /usr/spool/lp/*

SEE ALSO
     enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M)

									Page 1

LPSCHED(1M)			Printing Tools			   LPSCHED(1M)

KNOWN BUGS
     Because lpsched use "fifo" file limited to 10240 characters as defined by
     PIPE_BUF constant ( see pathconf(1) manual pages ), there is a limit of
     the number of printers that can be enabled before lpsched initialization.
     Since the size of a fifo file cannot be increased, the workaround is to
     disable enough printers before lpsched initialization and enable the
     remaining after lpsched is initialized.

     The maximum number of "enabled" printers before lpsched is initialized
     must be less than:	      sum of each (string length(printer_name) + 3 ) )

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net