Bug 214180
| Summary: | hal_lpadmin should supply commandset | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Waugh <twaugh> | ||||||
| Component: | hal-cups-utils | Assignee: | Tim Waugh <twaugh> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 6 | CC: | davidz, ffesti, twaugh | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 0.6.2-4.2 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2006-11-14 11:05:55 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 207681, 214181 | ||||||||
| Attachments: |
|
||||||||
Created attachment 140650 [details]
Use default printer if only command set is known/matches
Needs current system-config-printer HEAD. Code is still untested due to missing
hardware.
I think HAL_PROP_PRINTER_COMMANDSET needs to be split on '\t' instead of ',' from my device testing. Created attachment 140667 [details]
hal-cups-utils-match-commandset.patch
Tested patch.
Fixed in devel:0.6.2-6, FC-6:0.6.2-4.1. Fixed in update: hal-cups-utils-0.6.2-4.2 |
Description of problem: hal_lpadmin should supply the 'commandset' list of accepted languages if present in the HAL data ppd = f.getPPD(self.make, self.model, self.description) Looks like this: printer.commandset = {'MLC', 'PCL', 'PML', 'DW-PCL', 'DYN'} (string list) and f.getPPD takes a Python list of strings for the optional "languages" 4th arg. Version-Release number of selected component (if applicable): hal-cups-utils-0.6.2-4 This would let us supply 'Generic PostScript' PPDs for otherwise unknown PostScript-capable printers.