- Clear the media-empty-error printer state.
This commit is contained in:
parent
2dfe9f3b04
commit
2107213173
11
hplip-media-empty.patch
Normal file
11
hplip-media-empty.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- hplip-1.7.2/backend/hp/hp.c.media-empty 2007-04-04 18:14:12.000000000 +0100
|
||||
+++ hplip-1.7.2/backend/hp/hp.c 2007-04-04 18:15:01.000000000 +0100
|
||||
@@ -410,7 +410,7 @@
|
||||
int len, vstatus, cnt;
|
||||
char buf[HPLIP_BUFFER_SIZE+HPLIP_HEADER_SIZE];
|
||||
HplipMsgAttributes ma;
|
||||
- int paperout=0, offline=0;
|
||||
+ int paperout=1, offline=1;
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 1.7.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPL/MIT/BSD
|
||||
Group: System Environment/Daemons
|
||||
Conflicts: system-config-printer < 0.6.132
|
||||
@ -21,6 +21,7 @@ Patch5: hplip-libm.patch
|
||||
Patch6: hplip-ipv6.patch
|
||||
Patch7: hplip-marker-supply.patch
|
||||
Patch8: hplip-libsane.patch
|
||||
Patch9: hplip-media-empty.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
|
||||
Requires: desktop-file-utils >= 0.2.92
|
||||
@ -99,6 +100,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
||||
# Link libsane-hpaio against libsane (bug #234813).
|
||||
%patch8 -p1 -b .libsane
|
||||
|
||||
# Clear the media-empty-error printer state.
|
||||
%patch9 -p1 -b .media-empty
|
||||
|
||||
autoconf # for patch4
|
||||
|
||||
%build
|
||||
@ -247,6 +251,9 @@ fi
|
||||
exit 0
|
||||
|
||||
%changelog
|
||||
* Wed Apr 4 2007 Tim Waugh <twaugh@redhat.com> 1.7.2-4
|
||||
- Clear the media-empty-error printer state.
|
||||
|
||||
* Wed Apr 4 2007 Tim Waugh <twaugh@redhat.com> 1.7.2-3
|
||||
- Fixed typo in marker-supply-low patch.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user