Fixed left/right margins for HP DeskJet 990C (LP #1405212).
This commit is contained in:
parent
6bb19f5994
commit
edcb172947
15
hplip-dj990c-margin.patch
Normal file
15
hplip-dj990c-margin.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -up hplip-3.14.10/prnt/drv/hpcups.drv.in.dj990c-margin hplip-3.14.10/prnt/drv/hpcups.drv.in
|
||||||
|
--- hplip-3.14.10/prnt/drv/hpcups.drv.in.dj990c-margin 2014-12-23 15:55:09.779368939 +0000
|
||||||
|
+++ hplip-3.14.10/prnt/drv/hpcups.drv.in 2014-12-23 15:55:24.488454126 +0000
|
||||||
|
@@ -1531,9 +1531,9 @@ Manufacturer "HP"
|
||||||
|
"<</cupsInteger0 2/PageSize[612 792]/ImagingBBox null>>setpagedevice"
|
||||||
|
CustomMedia "Letter.Duplex/Letter AutoDuplex 8.5x11in" 612 783 18 27 18 36 "<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
|
||||||
|
"<</cupsInteger0 2/PageSize[612 783]/ImagingBBox null>>setpagedevice"
|
||||||
|
- CustomMedia "A4/A4 210x297mm" 595.44 841.68 18 36.00 18 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
|
||||||
|
+ CustomMedia "A4/A4 210x297mm" 595.44 841.68 9 36.00 9 9.00 "<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
|
||||||
|
"<</cupsInteger0 26/PageSize[595.44 841.68]/ImagingBBox null>>setpagedevice"
|
||||||
|
- CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 18 27 18 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
|
||||||
|
+ CustomMedia "A4.Duplex/A4 AutoDuplex 210x297mm" 595 833 9 27 9 36 "<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
|
||||||
|
"<</cupsInteger0 26/PageSize[595 833]/ImagingBBox null>>setpagedevice"
|
||||||
|
CustomMedia "ExecutiveJIS/Executive (JIS) 8.5x12.986in" 612 936 18 36 18 9 "<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
|
||||||
|
"<</cupsInteger0 10/PageSize[612 936]/ImagingBBox null>>setpagedevice"
|
@ -7,7 +7,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.14.10
|
Version: 3.14.10
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
|
|
||||||
Url: http://hplip.sourceforge.net/
|
Url: http://hplip.sourceforge.net/
|
||||||
@ -35,6 +35,7 @@ Patch18: hplip-log-stderr.patch
|
|||||||
Patch19: hplip-avahi-parsing.patch
|
Patch19: hplip-avahi-parsing.patch
|
||||||
Patch20: hplip-reportlab.patch
|
Patch20: hplip-reportlab.patch
|
||||||
Patch21: hplip-device_open.patch
|
Patch21: hplip-device_open.patch
|
||||||
|
Patch22: hplip-dj990c-margin.patch
|
||||||
|
|
||||||
%global hpijs_epoch 1
|
%global hpijs_epoch 1
|
||||||
Requires: hpijs%{?_isa} = %{hpijs_epoch}:%{version}-%{release}
|
Requires: hpijs%{?_isa} = %{hpijs_epoch}:%{version}-%{release}
|
||||||
@ -259,6 +260,9 @@ done
|
|||||||
# port device is used (bug #1159161).
|
# port device is used (bug #1159161).
|
||||||
%patch21 -p1 -b .device_open
|
%patch21 -p1 -b .device_open
|
||||||
|
|
||||||
|
# Fixed left/right margins for HP DeskJet 990C (LP #1405212).
|
||||||
|
%patch22 -p1 -b .dj990c-margin
|
||||||
|
|
||||||
sed -i.duplex-constraints \
|
sed -i.duplex-constraints \
|
||||||
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
|
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
|
||||||
prnt/drv/hpcups.drv.in
|
prnt/drv/hpcups.drv.in
|
||||||
@ -495,6 +499,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 23 2014 Tim Waugh <twaugh@redhat.com> - 3.14.10-4
|
||||||
|
- Fixed left/right margins for HP DeskJet 990C (LP #1405212).
|
||||||
|
|
||||||
* Tue Nov 4 2014 Tim Waugh <twaugh@redhat.com> - 3.14.10-3
|
* Tue Nov 4 2014 Tim Waugh <twaugh@redhat.com> - 3.14.10-3
|
||||||
- IEEE 1284 Device ID for HP LaserJet Professional M1132 MFP
|
- IEEE 1284 Device ID for HP LaserJet Professional M1132 MFP
|
||||||
(bug #1158743 comment #5).
|
(bug #1158743 comment #5).
|
||||||
|
Loading…
Reference in New Issue
Block a user