From: Jamie C. <jca...@we...> - 2003-06-07 03:43:10
|
That's not a bad idea - I'll have the next release of webmin use the printers.conf file, at least for the main menu. Hopefully Sun doesn't change the format in future releases! - Jamie John Samson wrote: > Jamie, > Would it be possible to read the printer names from /etc/printers.conf (Solaris) rather than issuing lpstat -v ? > > Thanks, > John > > > -----Original Message----- > From: Jamie Cameron [mailto:jca...@we...] > Sent: Thursday, June 05, 2003 7:11 PM > To: web...@li... > Subject: RE: [webmin-l] Printer administration Slown > > > That's as good as it gets unfortunately - webmin runs the command > lpstat -v to get the names of all printers, so if it is slow the module > will be too.. > > - Jamie > > On Fri, 2003-06-06 at 02:40, John Samson wrote: > >>Jamie, >>I finally found the printer module config and followed your advised. >>It has improved a little but it is still a bit slow. >> >>Any idea ? >> >>Thanks, >>John >> >>-----Original Message----- >>From: John Samson >>Sent: Thursday, June 05, 2003 9:37 AM >>To: web...@li... >>Subject: RE: [webmin-l] Printer administration Slown >> >> >>Jamie, >>I appreciate your response. But I can't find the module config on the webmin menu. >>Is it available from the web-based menu or do I need to manually edit a file. >> >>Thank you very much. >> >>Best Regards, >>John >> >>-----Original Message----- >>From: Jamie Cameron [mailto:jca...@we...] >>Sent: Wednesday, June 04, 2003 7:11 PM >>To: web...@li... >>Subject: Re: [webmin-l] Printer administration Slown >> >> >>The module's main page tries to run lpstat -l -p for each printer to get >>it's details, which can be slow on Solaris. The work-around is to click >>on Module Config and change the 'On main page show' option so that only >>printer names appear. >> >> - Jamie >> >>On Thu, 2003-06-05 at 00:44, John Samson wrote: >> >>>We are planning on using webmin to control our printer job queues. Going into printer administration takes a long time. We have approximately 600+ printers. >>>I've seen a similar post on this issue which could be related to the lpstat -l -p printername command. >>>Can it just read the /etc/printers.conf instead of executing the lpstat since we are only after in controling the printer queues ? >>> >>>I would greatly appreciate if anybody could provide a workaround or a fix to the problem. >>> >>>Thanks, >>>John |