-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix duplicate PPD->IPP media-type name mappings
If more than one MediaType in a PPD matched the pattern for a registered PWG media-type name, they would all be mapped to that name, making it impossible for a client using CUPS' IPP interface to distinguish between them or specify a particular one. This comes up with Epson-provided PPDs, which frequently hit this case by combining print quality with media type like so: *MediaType PLAIN_HIGH/Plain paper-High: " *MediaType PLAIN_NORMAL/Plain paper-Standard: " Solve this problem by not assigning the standard PWG name to either one when such duplication occurs.
- Loading branch information
Showing
1 changed file
with
76 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters