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

“orientation-requested-default” cannot be set #313

Closed
szlt5 opened this issue Nov 30, 2023 · 1 comment
Closed

“orientation-requested-default” cannot be set #313

szlt5 opened this issue Nov 30, 2023 · 1 comment
Assignees
Labels
bug Something isn't working priority-low
Milestone

Comments

@szlt5
Copy link

szlt5 commented Nov 30, 2023

Describe the bug
“orientation-requested-default” cannot be set by IPP operation "IPP_OP_SET_PRINTER_ATTRIBUTES"

To Reproduce
Steps to reproduce the behavior:

  1. Run below command to set "orientation-requested-default" as "landscape".
printer-app modify -d foo -o orientation-requested=landscape
  1. Run below command to get "orientation-requested"
printer-app options -d foo | grep orientation-requested | grep default
  1. The output is -o orientation-requested=none (default)

Expected behavior
The output should be -o orientation-requested=landscape (default)

Additional context
The bug can be fixed by adding below code in the function papplPrinterSetDriverDefaults().

printer->driver_data.orient_default = data->orient_default;
@szlt5 szlt5 changed the title “orientation-requested-default” cannot be set by IPP operation "IPP_OP_SET_PRINTER_ATTRIBUTES" “orientation-requested-default” cannot be set Nov 30, 2023
@michaelrsweet michaelrsweet self-assigned this Nov 30, 2023
@michaelrsweet michaelrsweet added bug Something isn't working priority-low labels Nov 30, 2023
@michaelrsweet michaelrsweet added this to the Stable milestone Nov 30, 2023
@michaelrsweet
Copy link
Owner

[v1.4.x eab6b93] Set orient_default value (Issue #313)

Was already fixed in master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-low
Projects
None yet
Development

No branches or pull requests

2 participants