From b9bcaedc9d19a028deb9e0b2d4890cc83cf4b57c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 4 Nov 2014 10:58:08 +0000 Subject: [PATCH] IEEE 1284 Device ID for HP LaserJet Color M451dn (bug #1159380). --- hplip-deviceIDs-ppd.patch | 11 +++++++++++ hplip.spec | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/hplip-deviceIDs-ppd.patch b/hplip-deviceIDs-ppd.patch index 0399f5b..c869e03 100644 --- a/hplip-deviceIDs-ppd.patch +++ b/hplip-deviceIDs-ppd.patch @@ -592,3 +592,14 @@ diff -up hplip-3.13.7/prnt/ps/hp-laserjet_p3010_series-ps.ppd.deviceIDs-ppd hpli *Product: "(HP LaserJet P3015)" *Product: "(Hewlett-Packard HP LaserJet P3015)" *Product: "(HP LaserJet P3011)" +diff -up hplip-3.14.10/prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz-deviceid hplip-3.14.10/prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd +--- hplip-3.14.10/prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz-deviceid 2014-11-04 09:41:13.200005393 +0000 ++++ hplip-3.14.10/prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd 2014-11-04 09:42:13.168312042 +0000 +@@ -82,6 +82,7 @@ + *cupsManualCopies: False + *cupsLanguages: "en da de es fi fr it ja ko nb nl pt ru sv zh_CN zh_TW" + *cupsFilter: "application/vnd.cups-postscript 0 hpps" ++*1284DeviceID: "MFG:Hewlett-Packard;MDL:HP LaserJet 400 color M451dn;DES:HP LaserJet 400 color M451dn;" + *UIConstraints: *HPOption_Duplexer False *Duplex + *UIConstraints: *Duplex *HPOption_Duplexer False + *UIConstraints: *HPOption_Tray3 False *InputSlot Tray3 diff --git a/hplip.spec b/hplip.spec index 66afe0f..e4448ab 100644 --- a/hplip.spec +++ b/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.14.10 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and MIT Url: http://hplip.sourceforge.net/ @@ -216,6 +216,7 @@ mv prnt/drv/hpijs.drv.in{,.deviceIDs-drv-hpijs} # Designjet T770 (bug #747957) # Color LaserJet CM4540 MFP (bug #968177) # Color LaserJet cp4005 (bug #980976) +# HP LaserJet Color M451dn (bug #1159380) for ppd_file in $(grep '^diff' %{PATCH14} | cut -d " " -f 4); do gunzip ${ppd_file#*/}.gz @@ -492,6 +493,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop %postun libs -p /sbin/ldconfig %changelog +* Tue Nov 4 2014 Tim Waugh - 3.14.10-2 +- IEEE 1284 Device ID for HP LaserJet Color M451dn (bug #1159380). + * Tue Oct 07 2014 Jiri Popelka - 3.14.10-1 - 3.14.10