]> git.ipfire.org Git - thirdparty/cups.git/commit
Support bare staple and bind finishings values 1094/head
authorBenjamin Gordon <bmgordon@chromium.org>
Fri, 1 Nov 2024 19:51:42 +0000 (13:51 -0600)
committerBenjamin Gordon <bmgordon@chromium.org>
Fri, 1 Nov 2024 21:53:45 +0000 (15:53 -0600)
commite8faa967efdec9f9f0c48b0f547188f9437b04b6
tree760546cb6a63b03a62967125a9e9317aaf89bb63
parent057ad6578c3a9fd4086974d882100ecec7a338e9
Support bare staple and bind finishings values

In the generated PPD, IPP finishings "bind" is supposed to map to
"StapleLocation: BindAuto".  Similarly, "staple" is supposed to map to
"StapleLocation: SingleAuto".  The code already handles this, except
the lookup is blocked by a check that only accepts "staple-*" and
"bind-*" prefixed versions.  Fix this by adding the bare versions to the
existing checks.

Fixes issue #1073.
CHANGES.md
cups/ppd-cache.c