@@ -3461,31 +3461,27 @@ ppdCreateFromIPP2(char *buffer, /* I - Filename buffer */
3461
3461
printer_opt_strings_catalog );
3462
3462
cupsFilePrintf (fp , "*OpenUI *cupsPrintQuality/%s: PickOne\n"
3463
3463
"*OrderDependency: 10 AnySetup *cupsPrintQuality\n"
3464
- "*DefaultcupsPrintQuality: %d \n" ,
3464
+ "*DefaultcupsPrintQuality: Normal \n" ,
3465
3465
(human_readable ? human_readable :
3466
- _cupsLangString (lang , _ ("Print Quality" ))),
3467
- IPP_QUALITY_NORMAL );
3466
+ _cupsLangString (lang , _ ("Print Quality" ))));
3468
3467
if (ippContainsInteger (quality , IPP_QUALITY_DRAFT )) {
3469
3468
human_readable = lookup_choice ("3" , "print-quality" , opt_strings_catalog ,
3470
3469
printer_opt_strings_catalog );
3471
- cupsFilePrintf (fp , "*cupsPrintQuality %d/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n" ,
3472
- IPP_QUALITY_DRAFT ,
3470
+ cupsFilePrintf (fp , "*cupsPrintQuality Draft/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n" ,
3473
3471
(human_readable ? human_readable :
3474
3472
_cupsLangString (lang , _ ("Draft" ))),
3475
3473
min_res -> x , min_res -> y );
3476
3474
}
3477
3475
human_readable = lookup_choice ("4" , "print-quality" , opt_strings_catalog ,
3478
3476
printer_opt_strings_catalog );
3479
- cupsFilePrintf (fp , "*cupsPrintQuality %d/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n" ,
3480
- IPP_QUALITY_NORMAL ,
3477
+ cupsFilePrintf (fp , "*cupsPrintQuality Normal/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n" ,
3481
3478
(human_readable ? human_readable :
3482
3479
_cupsLangString (lang , _ ("Normal" ))),
3483
3480
common_def -> x , common_def -> y );
3484
3481
if (ippContainsInteger (quality , IPP_QUALITY_HIGH )) {
3485
3482
human_readable = lookup_choice ("5" , "print-quality" , opt_strings_catalog ,
3486
3483
printer_opt_strings_catalog );
3487
- cupsFilePrintf (fp , "*cupsPrintQuality %d/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n" ,
3488
- IPP_QUALITY_HIGH ,
3484
+ cupsFilePrintf (fp , "*cupsPrintQuality High/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n" ,
3489
3485
(human_readable ? human_readable :
3490
3486
_cupsLangString (lang , _ ("High" ))),
3491
3487
max_res -> x , max_res -> y );
0 commit comments