Closed szlt5 closed 11 months ago
Describe the bug “orientation-requested-default” cannot be set by IPP operation "IPP_OP_SET_PRINTER_ATTRIBUTES"
To Reproduce Steps to reproduce the behavior:
printer-app modify -d foo -o orientation-requested=landscape
printer-app options -d foo | grep orientation-requested | grep default
-o orientation-requested=none (default)
Expected behavior The output should be -o orientation-requested=landscape (default)
-o orientation-requested=landscape (default)
Additional context The bug can be fixed by adding below code in the function papplPrinterSetDriverDefaults().
papplPrinterSetDriverDefaults()
printer->driver_data.orient_default = data->orient_default;
[v1.4.x eab6b93] Set orient_default value (Issue #313)
Was already fixed in master...
Describe the bug “orientation-requested-default” cannot be set by IPP operation "IPP_OP_SET_PRINTER_ATTRIBUTES"
To Reproduce Steps to reproduce the behavior:
-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()
.