Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96847 - cannot print to fax (HYLAFAX) using the fax4cups package
Summary: cannot print to fax (HYLAFAX) using the fax4cups package
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 04:05 UTC by Shawn Teague
Modified: 2005-08-22 08:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Teague 2005-06-23 04:05:19 UTC
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
Comment 1 Shawn Teague 2005-06-23 04:11:48 UTC
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"

Comment 2 Shawn Teague 2005-06-23 04:13:16 UTC
NOTE: initial bug report should complaine about /usr/share/cups/model/hylafax.ppd

/usr/share/ppd/model  does not exist.
Comment 3 Steve Arnold archtester gentoo-dev 2005-07-10 12:00:16 UTC
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...
Comment 4 Shawn Teague 2005-07-11 16:38:27 UTC
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 ;-)
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2005-07-13 10:39:06 UTC
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. 
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2005-08-02 09:15:18 UTC
any feedback on this ? fax4cups-1.25 is in cvs
Comment 7 Luis Medinas (RETIRED) gentoo-dev 2005-08-22 08:56:26 UTC
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