Merge pull request #176930 from onny/foo2zjs-colorfix
foo2zjs: Fix AirPrint color printing for Dell1250c
This commit is contained in:
commit
baa8afa319
@ -13,11 +13,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [
|
||||
./no-hardcode-fw.diff
|
||||
# Support HBPL1 printers https://www.dechifro.org/hbpl/
|
||||
# Support HBPL1 printers. Updated patch based on
|
||||
# https://www.dechifro.org/hbpl/
|
||||
./hbpl1.patch
|
||||
# Fix "Unimplemented paper code" error for hbpl1 printers
|
||||
# https://github.com/mikerr/foo2zjs/pull/2
|
||||
./papercode-format-fix.patch
|
||||
# Fix AirPrint color printing for Dell 1250c
|
||||
# See https://github.com/OpenPrinting/cups/issues/272
|
||||
./dell1250c-color-fix.patch
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
|
29
pkgs/misc/drivers/foo2zjs/dell1250c-color-fix.patch
Normal file
29
pkgs/misc/drivers/foo2zjs/dell1250c-color-fix.patch
Normal file
@ -0,0 +1,29 @@
|
||||
diff --git a/PPD/Dell-1250c.ppd b/PPD/Dell-1250c.ppd
|
||||
index 828ecd6..98f49e1 100644
|
||||
--- a/PPD/Dell-1250c.ppd
|
||||
+++ b/PPD/Dell-1250c.ppd
|
||||
@@ -92,15 +92,15 @@
|
||||
*FoomaticRIPOptionSetting Quality=normal: " "
|
||||
*CloseUI: *Quality
|
||||
|
||||
-*OpenUI *ColorMode/Color Mode: PickOne
|
||||
-*FoomaticRIPOption ColorMode: enum CmdLine A
|
||||
-*OrderDependency: 120 AnySetup *ColorMode
|
||||
-*DefaultColorMode: Monochrome
|
||||
-*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
|
||||
-*FoomaticRIPOptionSetting ColorMode=Color: "-c "
|
||||
-*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
|
||||
-*FoomaticRIPOptionSetting ColorMode=Monochrome: " "
|
||||
-*CloseUI: *ColorMode
|
||||
+*OpenUI *ColorModel/Color Mode: PickOne
|
||||
+*FoomaticRIPOption ColorModel: enum CmdLine A
|
||||
+*OrderDependency: 120 AnySetup *ColorModel
|
||||
+*DefaultColorModel: RGB
|
||||
+*ColorModel RGB/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
|
||||
+*FoomaticRIPOptionSetting ColorModel=RGB: "-c "
|
||||
+*ColorModel Gray/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
|
||||
+*FoomaticRIPOptionSetting ColorModel=Gray: " "
|
||||
+*CloseUI: *ColorModel
|
||||
|
||||
*OpenUI *PageSize/Page Size: PickOne
|
||||
*FoomaticRIPOption PageSize: enum CmdLine A
|
Loading…
Reference in New Issue
Block a user