Canon mg5500 mg5540 настройки качества печати

Под убунтой и дебианом принтер Canon mg5540 под CUPS по-умолчанию имеет только 2 вида качества печати: Normal и Custom.
Добавить дополнительные режими можно редактируя ppd файл. Мне не хватало Draft качества.

$ sudo nano /etc/cups/ppd/PRINTER_NAME.ppd

И вставить следующий код в нужное место

*OpenUI *StpQuality/Print Quality: PickOne
*OrderDependency: 10 AnySetup *StpQuality
*StpStpQuality: 0 1 0 0 255 0.000 0.000 0.000
*DefaultStpQuality: Standard
*StpDefaultStpQuality: Standard
*StpQuality None/Manual Control:    "<</HWResolution[720 360]/cupsRowFeed 1>>setpagedevice"
*StpQuality Economy/Economy:    "<</HWResolution[360 180]/cupsRowFeed 2>>setpagedevice"
*StpQuality Draft/Draft:    "<</HWResolution[360 360]/cupsRowFeed 3>>setpagedevice"
*StpQuality Standard/Standard:    "<</HWResolution[720 360]/cupsRowFeed 4>>setpagedevice"
*StpQuality High/High:    "<</HWResolution[720 720]/cupsRowFeed 5>>setpagedevice"
*StpQuality Photo/Photo:    "<</HWResolution[1440 720]/cupsRowFeed 6>>setpagedevice"
*StpQuality HighPhoto/Super Photo:    "<</HWResolution[1440 1440]/cupsRowFeed 7>>setpagedevice"
*StpQuality UltraPhoto/Ultra Photo:    "<</HWResolution[2880 2880]/cupsRowFeed 8>>setpagedevice"
*StpQuality Best/Best:    "<</HWResolution[5760 2880]/cupsRowFeed 9>>setpagedevice"
*CloseUI: *StpQuality

Если нужны еще выборы качества dpi то можно вставить след.код

*OpenUI *Resolution/Resolution: PickOne
*OrderDependency: 10 AnySetup *Resolution
*StpStpResolution: 0 1 0 1 255 0.000 0.000 0.000
*DefaultResolution: 361x360dpi
*StpDefaultResolution: 361x360dpi
*Resolution 361x360dpi/Automatic:    "<</HWResolution[720 360]>>setpagedevice"
*StpResolutionMap: 361x360dpi None
*Resolution 360x180dpi/360 x 180 DPI Draft:    "<</HWResolution[360 180]/cupsCompression 2>>setpagedevice"
*StpResolutionMap: 360x180dpi 360x180sw
*Resolution 360dpi/360 DPI:    "<</HWResolution[360 360]/cupsCompression 3>>setpagedevice"
*StpResolutionMap: 360dpi 360sw
*Resolution 720x360dpi/720 x 360 DPI:    "<</HWResolution[720 360]/cupsCompression 4>>setpagedevice"
*StpResolutionMap: 720x360dpi 720x360sw
*Resolution 720dpi/720 DPI:    "<</HWResolution[720 720]/cupsCompression 5>>setpagedevice"
*StpResolutionMap: 720dpi 720sw
*Resolution 1440x720dpi/1440 x 720 DPI:    "<</HWResolution[1440 720]/cupsCompression 6>>setpagedevice"
*StpResolutionMap: 1440x720dpi 1440x720sw
*Resolution 1441x720dpi/1440 x 1440 DPI:    "<</HWResolution[1440 1440]/cupsCompression 7>>setpagedevice"
*StpResolutionMap: 1441x720dpi 1440x1440ov
*Resolution 1442x720dpi/2880 x 1440 DPI:    "<</HWResolution[2880 1440]/cupsCompression 8>>setpagedevice"
*StpResolutionMap: 1442x720dpi 2880x1440sw
*Resolution 1443x720dpi/5760 x 1440 DPI:    "<</HWResolution[5760 1440]/cupsCompression 9>>setpagedevice"
*StpResolutionMap: 1443x720dpi 5760x1440sw
*Resolution 1444x720dpi/2880 x 2880 DPI:    "<</HWResolution[2880 2880]/cupsCompression 10>>setpagedevice"
*StpResolutionMap: 1444x720dpi 2880x2880sw
*Resolution 1445x720dpi/5760 x 2880 DPI:    "<</HWResolution[5760 2880]/cupsCompression 11>>setpagedevice"
*StpResolutionMap: 1445x720dpi 5760x2880sw
*CloseUI: *Resolution

Комментарии

Добавить комментарий