Re: [Printing-architecture] PAPPL 1.2rc1 (Supply levels)
Till Kamppeter <[email protected]>
| Newsgroups | dev.linux.lists.printing-architecture |
|---|---|
| Message-ID | <[email protected]> |
On 16/05/2022 16:35, Michael Sweet wrote:
> Till,
>
> The status callback is called as needed, so you basically need to open the printer device, query, and set the supplies from the response. Look at the "pcl_status" code in my hp-printer-app for a complete example:
>
> https://github.com/michaelrsweet/hp-printer-app
>
> You don't need the "dummy" sample values I include in hp-printer-app (it is still mostly sample code, even if people are apparently using it :) - if you don't get a response, just don't set the supplies.
>
Perfect, that is what I was looking for. I will apply it to
pappl-retrofit soon.
Thank you very much.
Till