Re: [HPLIP-Devel] HPLIP 1.7.3 build problem

2007-03-28 Thread François Manchon
 Installing on Red Hat 9 is complicated, although not impossible.
 Please refer to:
 http://hplip.sourceforge.net/install/manual/distros/redhat.html
 for assistance.

Thanks for the hint.  I double checked the instructions and I think I meet 
all the requirements.  I have more recent versions of the packages, in 
particular cups-devel-1.1.17-13.  I also have hplip 0.9.11 up and running. 
No build problem with this version.

So I looked into the source code, and the fact is that the structure 
ppd_group_str has no member name 'name'.  Instead it has this (in 
/usr/include/cups/ppd.h):

  char  text[PPD_MAX_TEXT];   /* 
Human-readable group name */

I replaced name with text in the lines reported by gcc, and everything 
worked smoothly :-)

Sincerely,

François



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel


[HPLIP-Devel] hplip 1.7.3 low supply / fax bug

2007-03-28 Thread Bernard Johnson
I installed 1.7.3.  When I try to fax, I get an error code 1804 (low 
toner).  While it is true that I do have a low toner condition, why is 
that considered an error?  Especially when faxing?

Starting on line 547 of faxsendformjob.py there is:

 if self.dev.error_state  ERROR_STATE_MAX_OK:
 self.FailureUI(self.__tr(bDevice is busy or in an error 
state (code=%1)/bpPlease wait for the device to become idle or clear 
the error and try again.).arg(self.dev.status_code))
 return

Looking at debug messages reveals error state is 102 (low supplies) 
which triggers this.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel


Re: [HPLIP-Devel] hplip 1.7.3 low supply / fax bug

2007-03-28 Thread dwelch91

Good question.

The problem is that the error checking is (so far) simple minded. For
faxing, printing, etc. it checks to see if the device has any errors -
unfortunately, right now, low supplies is an error which is then trapped
by the code you found.

I will put this into my hopper of stuff to look at. In the meantime, can you
just comment out this code? (with a #).

Thanks,

Don


On 3/28/07, Bernard Johnson [EMAIL PROTECTED]
wrote:


I installed 1.7.3.  When I try to fax, I get an error code 1804 (low
toner).  While it is true that I do have a low toner condition, why is
that considered an error?  Especially when faxing?

Starting on line 547 of faxsendformjob.py there is:

 if self.dev.error_state  ERROR_STATE_MAX_OK:
 self.FailureUI(self.__tr(bDevice is busy or in an error
state (code=%1)/bpPlease wait for the device to become idle or clear
the error and try again.).arg(self.dev.status_code))
 return

Looking at debug messages reveals error state is 102 (low supplies)
which triggers this.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel


Re: [HPLIP-Devel] hplip 1.7.3 low supply / fax bug

2007-03-28 Thread Bernard Johnson
dwelch91 wrote:
 Good question.
 
 The problem is that the error checking is (so far) simple minded. For
 faxing, printing, etc. it checks to see if the device has any errors -
 unfortunately, right now, low supplies is an error which is then
 trapped by the code you found.
 
 I will put this into my hopper of stuff to look at. In the meantime, can
 you just comment out this code? (with a #).

Already done, which is how I knew it worked (sent a couple of faxes to
test) :)

I didn't really expect that this would get fixed right away.  Before I
posted, I looked at what it would take to change the behavior to be more
correct, and it looks like it's non-trivial with the structure of the
error codes and checking that goes on.

Thanks


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel