Using the v1.23 ebuild of fax4cups and configuring a printer or type hylafax: and model hylafax, attempts to print/fax via lpr/lp fail with the following misleading message in syslog: FaxQueuer[25541]: NOTIFY: bin/notify "doneq/q47" "rejected" "" The problem is that the hylafax ppd (/usr/share/ppd/model/hylafax.ppd) is flawed causing the fax to fail. cupstestppd verifies the PPD is bad NOTE: efax.ppd is most likely flawed as well. Reproducible: Always Steps to Reproduce: 1.Configure hylafax, test faxing works via the /usr/bin/sendfax command 2.Configure a printer in cups of type hylafax:local model hylafax 3.try to print to that printer/fax via: lpr -J######### /etc/hosts; or via: lp -o phone=#######; (####### is the destination fax number) 4. no faxes occur. 5. Try to verify the PPD cupstestppd /usr/share/ppd/model/hylafax.ppd Actual Results: Fax no go. Error message in syslog: FaxQueuer[25541]: NOTIFY: bin/notify "doneq/q47" "rejected" "" cupstestppd returns "FAILED" Expected Results: Faxed the /etc/hosts file Found a 2003 BB message indicating a faulty hylafax.ppd was floating around. Fixed the hylafax.ppd (and copied it to the appropriate /etc/cups/ppd/ file) I can noy fax via the lpr/lp command
Here's the FIX Patch /usr/share/cups/model/hylafax.ppd --- /tmp/hylylafax.ppd.bad 2005-06-23 02:43:01.000000000 -0700 +++ /usr/share/cups/model/hylafax.ppd 2005-06-23 03:20:27.000000000 -0700 @@ -5,7 +5,7 @@ *LanguageEncoding: ISOLatin1 *PCFileName: "HYLAFAX.PPD" *Manufacturer: "HylaFAX" -*Product: "HylaFAX" +*Product: "(HylaFAX)" *cupsFax: True *cupsFilter: "application/vnd.cups-postscript 0 -" *cupsVersion: 1.1 @@ -44,6 +44,9 @@ *PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice" *DefaultImageableArea: A4 +*ImageableArea Letter/US Letter: "18 36 594 756" +*ImageableArea Legal/US Legal: "18 36 594 972" +*ImageableArea A4/A4: "18 36 577 806" *DefaultPaperDimension: A4 *PaperDimension A4: "595 842"
NOTE: initial bug report should complaine about /usr/share/cups/model/hylafax.ppd /usr/share/ppd/model does not exist.
This doesn't belong to Hylafax: rama ~ # qpkg -f /usr/share/cups/model/hylafax.ppd net-print/fax4cups * If the ppds are broken, I would recommend updating the package with ones that work. Also, some logic to set the A4/US letter default, based on timezone perhaps, would be a nice addition. I'm not sure what comment #2 means tho...
Basically I just hoped to submit a bug fix for the fax4cups package. Hopefully this is the correct venue. And this bug is in the correct group. If I am in fact going about this all wrong, please accept my apologies and provide instructions (or directions on where to RTFI ;-)
sorry, my fault, i assigned to the wrong herd. i added fax4cups-1.24 to portage, please try that version, if that does not work i'll commit your fix.
any feedback on this ? fax4cups-1.25 is in cvs
fax4cups-1.26 commited. I'm closing this bug reopen if you notice the same problem then i will commit the patch. Thanks all for the reports