Where does hplip store the printers' past status events?

Asked by Oliver R.

Where does hp-toolbox get the information shown in a printer's status tab, namely the past events like "fax job started" etc.? The history is very short and I would like to keep record of all my faxes that have been sent.

Version: 2.8.2-0ubuntu8

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Adding a fax history log is on our todo list. Although I can't promise if/when/if ever this will be added..we are looking at adding this functionality in the future.

Sorry about the delay!

Aaron

Revision history for this message
Oliver R. (oliverr) said :
#2

Thanks for your quick answer!

Do I guess correctly that the entries hp-toolbox shows in the status tab are taken from hpssd and get lost as soon as this daemon gets stopped or restarted?

Revision history for this message
dwelch91 (dwelch91) said :
#3

Yes, the events are stored in a ring buffer in hpssd and are lost when that
process (hp-systray) exits. They are not written to disk (that would be easy
to add, however).

And, actually, in checking on this question for you, I found a bug in the
code - the prop.history_size value (which specifies the size of the ring
buffer) was not being initialized, and, because of the way the code is
written is returning a blank '' string... so, the length of the ring buffer
that holds these values in hpssd is essentially unlimited, I believe.

In regard to faxes, I want to support a fax log in the future, but this fax
log would be separate from the events in hp-systray. Notably, the device
itself does contain a fax log internally, and you can probably get a lot of
the information that you need directly from the device (front panel menu,
etc). I have the start of some code to retrieve the fax log from the device,
but it is currently not working or finished, and is in limbo until I have
the time to work on it again.

On Tue, Dec 2, 2008 at 5:58 AM, Oliver R. <
<email address hidden>> wrote:

> Question #53148 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/53148
>
> Status: Answered => Open
>
> Oliver R. is still having a problem:
> Thanks for your quick answer!
>
> Do I guess correctly that the entries hp-toolbox shows in the status tab
> are taken from hpssd and get lost as soon as this daemon gets stopped or
> restarted?
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Can you help with this problem?

Provide an answer of your own, or ask Oliver R. for more information if necessary.

To post a message you must log in.