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

Support bare staple and bind finishings values #1094

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

yetamrra
Copy link
Contributor

@yetamrra yetamrra commented Nov 1, 2024

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.

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 OpenPrinting#1073.
Copy link
Member

@michaelrsweet michaelrsweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zdohnal zdohnal merged commit 56c3eab into OpenPrinting:master Nov 6, 2024
4 of 6 checks passed
@yetamrra yetamrra deleted the staple-bind branch November 6, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants