Hello,

On Feb 26 07:43 dwelch91 wrote (shortened):
> On 2/26/07, Johannes Meixner <[EMAIL PROTECTED]> wrote:
> >
> > 2) Track the device status:
> > Why continuously track the device status when no user or process
> > asks for it?
> > Shouldn't it be sufficient to query the device status from the
> > lock file (if another process is currently accessing the device)
> > or if no such file exists query it anew directly from the device?
> 
> HPSSD runs as a daemon so that events that occur when the toolbox or other
> status tools are not running are collected and saved. Otherwise events that
> occurred without the toolbox running would mysteriously disappear or not be
> shown.

If it is a network device which is used from various workstations:
Wouldn't events mysteriously disappear or not be shown on a
particular workstation if it was shut down in the evening
and rebooted at a random time next day?

Is it a problem when some events from the past are not shown?

Are states like "paper jam" or "out of paper" not persistent
as long as the device is in this state?


> Also, HPSSD is used to handle fax communication for the case when the user
> prints to the fax queue from am application the hp-sendfax is not yet
> running.

Since CUPS 1.2 the hpfax backend could simply test if hp-sendfax
is running for the user who owns the current fax job and exit
with an appropriate exit code (e.g. CUPS_BACKEND_HOLD) according to
http://www.cups.org/documentation.php/man-backend.html
and hp-sendfax could be used to release the particular usre's
held jobs.


> HPSSD also caches a very slow to query value from some printers. Without
> this cache, the retrieval of this value takes up to a few seconds  during
> each device open. Admittedly, this value could easily be cached in a file
> instead.

Is this value mandatory to use the device for print/scan/fax ?
If yes, a daemon is really neded to make fast printing possible.
If not, it might be possible not to query it for each device open
but only if it is really needed?


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to