Re: [Printing-architecture] PAPPL 1.2rc1 (Supply levels)

Till Kamppeter <[email protected]>
Newsgroups dev.linux.lists.printing-architecture
Message-ID <[email protected]>
On 15/05/2022 17:30, Michael Sweet wrote:
> Till,
> 
> You can set it unconditionally; ideally I'd at least look at the device URI and only do it for network printers.
> 

Set it unconditionally in pappl-retrofit, file 
pappl-retrofit/pappl-retrofit.c:

----------
--- a/pappl-retrofit/pappl-retrofit.c

+++ b/pappl-retrofit/pappl-retrofit.c

@@ -1785,7 +1785,7 @@ pr_driver_setup(

      driver_data->ppm_color = 0;



    // Properties not supported by the PPD

-  driver_data->has_supplies = false;

+  driver_data->has_supplies = true;

    driver_data->input_face_up = false;



    // Pages face-up or face-down in output bin?

----------

Now I get a "Supplies" button for each network printer setup.

But clicking it does not show any ink levels, only a gauge as it would 
appear above the ink level diagram (when comparing to what I see in the 
test app of PAPPL where the ink levels are totally artificial).

Printer is the HP OfficeJet Pro 8730.

Can it be that the printer does not supply sufficient info? How can I do 
a simple test on the printer?

system-config-printer (Right-click printer icon in main window -> 
Properties -> Ink/Toner Levels) displays the ink levels correctly (and I 
assume this uses some mechanism of CUPS).

GNOME Control Center (Printers) does not show the ink levels of this 
printer.

    Till
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.