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

  man pages->IRIX man pages -> lpsched (1)              


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

NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

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

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
lpmove HP-UX start the LP request scheduler,
lpsched HP-UX start the LP request scheduler,
lpfence HP-UX start the LP request scheduler,
lpshut HP-UX start the LP request scheduler,
vxclustadm HP-UX start, stop, and reconfigure a cluster
parmgr HP-UX Start or stop Partition Manager
startgfx IRIX start/stop the window system
profil Tru64 Start and stop execution profiling
mvPlay IRIX Start and stop movie playback
start-stop-daemon Linux start and stop system daemon programs
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service