1773345 - Problems with HP M281fdw LaserJet

This commit is contained in:
Zdenek Dohnal 2019-11-18 14:21:59 +01:00
parent 35def6bed1
commit c07d98eebd
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/data/models/models.dat b/data/models/models.dat
index f4d9955..234902f 100644
--- a/data/models/models.dat
+++ b/data/models/models.dat
@@ -62355,7 +62355,7 @@ usb-pid=af2a
usb-vid=3f0
wifi-config=3
-[hp_color_laserjet_mfp_m278-m281]
+[hp_colorlaserjet_mfp_m278-m281]
align-type=0
clean-type=0
color-cal-type=0

View File

@ -121,8 +121,12 @@ Patch47: hplip-systray-blockerror.patch
Patch48: hplip-missing-drivers.patch
# laserjet 2200 has different device id than HP expects...
# https://bugzilla.redhat.com/show_bug.cgi?id=1772698
# reported upstream
# reported upstream https://bugs.launchpad.net/hplip/+bug/1853002
Patch49: hplip-missing-laserjet2200.patch
# color laserjet m278-m281 printers report themselves as colorlaserjet... in queries
# https://bugzilla.redhat.com/show_bug.cgi?id=1773345
# upstream https://bugs.launchpad.net/hplip/+bug/1851013
Patch50: hplip-m278m281-bad-model.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: python3-pillow
@ -378,6 +382,8 @@ rm prnt/hpcups/ErnieFilter.{cpp,h} prnt/hpijs/ernieplatform.h
%patch48 -p1 -b .missing-drivers
# 1772698 - Can't setup printer (HP LJ 2200): no attributes found in model.dat
%patch49 -p1 -b .missing-laserjet-2200
# 1773345 - Problems with HP M281fdw LaserJet
%patch50 -p1 -b .m278-m281-bad-model
sed -i.duplex-constraints \
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
@ -684,6 +690,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
%changelog
* Mon Nov 18 2019 Zdenek Dohnal <zdohnal@redhat.com> - 3.19.10-2
- 1773345 - Problems with HP M281fdw LaserJet
* Fri Nov 15 2019 Zdenek Dohnal <zdohnal@redhat.com> - 3.19.10-2
- 1772698 - missing HP LaserJet 2200 driver