Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glossy paper not showing up in printing dialog for hp photosmart 5510 #766

Closed
belegdol opened this issue Jul 26, 2023 · 4 comments
Closed
Labels
third-party The bug/fix is in a different project

Comments

@belegdol
Copy link

Describe the bug
Even though glossy paper is available in the hplip driver for photosmart 5510 printer, it is not showing for selection when printing.

To Reproduce
Steps to reproduce the behavior:

  1. Install a hp 5510 series printer using hpcups driver from hplip-3.23.5
  2. Open a photo in eog
  3. Pick print
  4. Go to page setup
  5. Open paper type dropdown

Expected behavior
Plain paper, Glossy paper and Transparency film are available

System Information:

  • Fedora 38
  • I tried eog, gnome-text-editor and libreoffice calc. All are affected
  • CUPS 2.4.6

Additional context
Glossy paper is shown if one goes to localhost:631 and goes to set up default printer options.

@zdohnal
Copy link
Member

zdohnal commented Jul 27, 2023

Hi,

CUPS is able to show the option via lpoptions and via IPP Get-Printer-Attributes request:

$ lpoptions -p hp5510 -l
PageSize/Media Size: Card3x5 Card4x6 PhotoL L.FB Photo3.5x5 PhotoL.FB Photo4x6 Photo4x6.FB Photo4x6tab Photo4x6tab.FB A6 A6.FB Hagaki Hagaki.FB Photo5x7 Photo5x7.FB Card5x8 A5 A5.FB Cabinet Cabinet.FB 2L 2L.FB Oufuku JB5 Executive *Letter Letter.FB A4 A4.FB Legal Photo10x15 Photo10x15.FB Photo10x15tab Photo10x15tab.FB Photo2L Photo13x18 Photo8x10 8x10.FB EnvA2 EnvC6 EnvChou4 Env6 EnvCard EnvMonarch EnvDL Env10 EnvChou3 EnvC5 Custom.WIDTHxHEIGHT
ColorModel/Output Mode: *RGB CMYGray KGray
MediaType/Media Type: *Plain Glossy TransparencyFilm
OutputMode/Print Quality: *Normal FastDraft Best Photo
InputSlot/Media Source: *Auto PhotoTray Upper
$ ipptool -tv ipp://localhost:631/printers/hp5510 get-printer-attributes.test | grep -i glossy
        media-type-supported (1setOf keyword) = stationery,photographic-glossy,transparency

thus IMO the issue is not in CUPS.

Please report the issue to specific applications.

@zdohnal zdohnal closed this as completed Jul 27, 2023
@zdohnal zdohnal added the third-party The bug/fix is in a different project label Jul 27, 2023
@belegdol
Copy link
Author

belegdol commented Jul 27, 2023

I am happy to report it to a specific application, but would you mind giving some pointers where to or how to debug this further? Gnome-text-editor uses a gtk4 print dialog, eog uses a gtk3 one whereas libreoffice uses its own dialog. All seem to be affected.
The only two apps I was able to find which is not affected are:

  • scribus (which uses qt5) but it appears to work on a lower level.
  • firefox, if one switches to the system dialog. This is an interesting one as the dialog looks exactly like the eog one otherwise.

Oddly enough, system print dialog reports setting conflicts for the glossy paper:
Bildschirmfoto vom 2023-07-27 09-36-09
Bildschirmfoto vom 2023-07-27 09-36-19
While there are UIConstraints listed in the ppd file, glossy paper only appears to conflict with fast draft and some page sizes. Borderless Photo 4x6in from the screenshot does not conflict with the glossy paper, yet it is shown as such. I am guessing this is related.
If this is a wrong place for this discussion, would you mind sharing where to the gnome-print-dialog issues should be reported? I was looking for this yesterday but did not find the proper place. Thanks in advance.

@belegdol
Copy link
Author

Reported to gnome as well:
https://gitlab.gnome.org/GNOME/gtk/-/issues/5987

@zdohnal
Copy link
Member

zdohnal commented Jul 27, 2023

If this is a wrong place for this discussion, would you mind sharing where to the gnome-print-dialog issues should be reported? I was looking for this yesterday but did not find the proper place. Thanks in advance.

Gtk for GNOME print dialogs (and system dialogs, if you run GNOME), Libreoffice, Firefox, Chromium have their own, okular and other KDE apps use Qt.

Probably the restriction is applied to all settings instead of only with specified options...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third-party The bug/fix is in a different project
Projects
None yet
Development

No branches or pull requests

2 participants