Bug 244832

Summary: print/gutenprint: cups printer configuration, duplicate model names displayed
Product: Ports & Packages Reporter: freebsd
Component: Individual Port(s)Assignee: Christoph Moench-Tegeder <cmt>
Status: New ---    
Severity: Affects Only Me CC: tijl
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description freebsd 2020-03-15 18:11:37 UTC
When adding a printer and selecting the model, duplicate entries are displayed for some models of the same printer.  For example, one sees:
  HP Color Laserjet 2500 - CUPS+Gutenprint v5.3.3 (en)
  HP Color Laserjet 2500 - CUPS+Gutenprint v5.3.3 (en)
and
  Epson Stylus Pro 3880 - CUPS+Gutenprint v5.3.3 (en)
  Epson Stylus Pro 3880 - CUPS+Gutenprint v5.3.3 (en)
  Epson Stylus Pro 3880 - CUPS+Gutenprint v5.3.3 Simplified (en)
  Epson Stylus Pro 3880 - CUPS+Gutenprint v5.3.3 Simplified (en)
It's not clear if these are simply duplicate entries, or specifications with different capabilities.  In the Epson case above, there should be two choices, the full one and the simplified one, not four?
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2020-03-15 18:52:16 UTC
I believe this is because the update to gutenprint 5.3.3 added ppd files to /usr/local/share/cups/model, so now CUPS picks up these ppd files in addition to models provided by libexec/cups/driver/gutenprint.5.3.  Gutenprint should work without these ppd files and removing them would make the package a lot smaller too.
Comment 2 Christoph Moench-Tegeder freebsd_committer freebsd_triage 2020-04-06 19:45:03 UTC
Sorry for missing this...
Has anyone tested removing the ppds from /usr/local/share/cups/model?
Fun fact, I haven't owned a gutenprint-supported printer for years.
Comment 3 freebsd 2020-06-02 23:50:48 UTC
Thought I already posted this but don't see it so here it is again:

I moved /usr/local/share/cups/model/gutenprint/5.3/C to C_unused back on 2020-03-15 and things seem to be working fine.  Ran for quite a while without rebooting but have rebooted and things appear to print fine.