Operating System - HP-UX
1748216 Members
3989 Online
108759 Solutions
New Discussion юеВ

Re: Max. number of printers for lp & lpshed?

 
SOLVED
Go to solution
Kirk MacLean_2
Frequent Advisor

Max. number of printers for lp & lpshed?

Is there a hard limit for the number of printers that can be configured and/or effectively sheduled whithin the lp subsystem of HP-UX?

Model: 9000/800/L3000-6x
Main Memory: 2048 MB
Processors: 2
OS mode: 64 bit

Regards,

Kirk
8 REPLIES 8
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: Max. number of printers for lp & lpshed?

A. Clay Stephenson
Acclaimed Contributor

Re: Max. number of printers for lp & lpshed?

There are no hard limits and some UNIX boxes with about your level of resources have thousands of printers attached. Perhaps the biggest drawback to having many, many printers under the standard lp subsystem is that the scheduler must be stopped before adding a new queue or removing an existing queue which can result in some jobs being restarted when lpsched is run again. You might consider another spooler so that printers can be easily added or removed "on the fly".
If it ain't broke, I can fix that.
Kirk MacLean_2
Frequent Advisor

Re: Max. number of printers for lp & lpshed?

Jaime Great information, thank you!

Clay, are you referring to HPDPS or is there another I should be aware of?

Thank you,

Kirk
Bill Hassell
Honored Contributor

Re: Max. number of printers for lp & lpshed?

Plain old lp spooler has no limits. But as Clay states, the sheer number of printers can be a huge sysadmin task. For instance, adding a new printer means shutdown of lpsched -- this could take 10 minutes for 5000 printers (due to queue scans and cancels for active jobs). Starting lp after adding the printer may take even longer. Once working, the scheduler will run OK with thousands of printers, but be prepared to assign a fulltime sysadmin to handle printer problems (ie, out of paper, paper jam, network problems, etc). The lp spooler provides ZERO diagnostics for printer states.


Bill Hassell, sysadmin
A. Clay Stephenson
Acclaimed Contributor

Re: Max. number of printers for lp & lpshed?

Have a look at www.easysw.com. These are the guys who developed EasySpooler which became CUPS. You might consider a trial download and license of their product.
If it ain't broke, I can fix that.
Kirk MacLean_2
Frequent Advisor

Re: Max. number of printers for lp & lpshed?

Because of the amount of customization we have for network printing, we are going to continue using lp for printing at this time. I will be examining the kernel parameters as recommended. Further investigation will be done with alternate printing methods; those recommendations were helpful and will be taken seriously. This has once again proved to be an invaluable resource.

Blessings,

Kirk
A. Clay Stephenson
Acclaimed Contributor

Re: Max. number of printers for lp & lpshed?

You should note that many of the replacement printer solutions for UNIX are command-line compatible to their standard lp counterparts. You applications can still invoke "lp -dmyprinter -o postscript,nobanner file1 file2" and as long as the newer lp is earlier in the PATH than the standard version, everything works. Ditto for commands like lpstat.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Max. number of printers for lp & lpshed?

You should note that many of the replacement printer solutions for UNIX are command-line compatible to their standard lp counterparts. Your applications can still invoke "lp -dmyprinter -o postscript,nobanner file1 file2" and as long as the newer lp is earlier in the PATH than the standard version, everything works. Ditto for commands like lpstat.
If it ain't broke, I can fix that.