foo2zjs: Fix AirPrint color printing for Dell1250c
This commit is contained in:
parent
1430c4b0ed
commit
0752ba3568
2 changed files with 18 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
13
pkgs/misc/drivers/foo2zjs/dell1250c-color-fix.patch
Normal file
13
pkgs/misc/drivers/foo2zjs/dell1250c-color-fix.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/PPD/Dell-1250c.ppd b/PPD/Dell-1250c.ppd
|
||||
index 828ecd6..7e78ce4 100644
|
||||
--- a/PPD/Dell-1250c.ppd
|
||||
+++ b/PPD/Dell-1250c.ppd
|
||||
@@ -95,7 +95,7 @@
|
||||
*OpenUI *ColorMode/Color Mode: PickOne
|
||||
*FoomaticRIPOption ColorMode: enum CmdLine A
|
||||
*OrderDependency: 120 AnySetup *ColorMode
|
||||
-*DefaultColorMode: Monochrome
|
||||
+*DefaultColorMode: Color
|
||||
*ColorMode Color/Color: "%% FoomaticRIPOptionSetting: ColorMode=Color"
|
||||
*FoomaticRIPOptionSetting ColorMode=Color: "-c "
|
||||
*ColorMode Monochrome/Monochrome: "%% FoomaticRIPOptionSetting: ColorMode=Monochrome"
|
Loading…
Reference in a new issue