HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Attachment offset problem



Lee Howard wrote:

On 2003.10.01 19:17 J. Piers Hearn wrote:

Hi all, hoping someone can help me out with a problem. I'm using HylaFAX 4.1.7 on NetBSD 1.6.1/i386, and RelayFax 5.0.2 on a Windows 2000 Workstation as the client, with Procmail as the middleman. I can send faxes by printing to the RelayFax driver on the client, with the one problem that the resulting attached TIFF file ends up being offset by 2cm or so at the destination fax machine. The cover sheet seems fine, but whatever I send as the core fax suffers from this problem. I've tried three different faxmodems, so I don't think that they're the issue, but for the life of me I can't work this one out. I tried adjusting settings in the pagesizes database, but that had no useful effect. Anyone got any ideas or suggestions on where I should go with this?

What "offset" are you seeing, exactly?

Sorry, didn't make the error overally clear. The resulting fax appears as though it has been shifted several centimeters up the page, resulting in the top being cut off. The fax header line still appears as normal at the top. There is no shrinking or other modification of the TIFF.


RelayFax sends faxes in TIFF format, so you can look for the culprit in any number of steps: tiff2fax (which includes tiffcp, tiff2ps, and ps2fax) or in the sending procedure itself. The sending procedure itself adds a tagline and possibly introduces margins. You could narrow the search down by looking at the faxq-produced files in docq.

I've tried sending the TIFF manually with: sendfax -n -d <number> imagefile.tiff , and I get exactly the same problem. There appears to be no further coversion of the TIFF file, it's sent as is. The TIFF files in docq all appear as expected, no cropping or anything has occurred. The relevent portions of the log follow:


Oct 03 13:54:43.11: [24755]: SESSION BEGIN 00000015 xxxxxxxxxxx
Oct 03 13:54:43.11: [24755]: HylaFAX (tm) Version 4.1.7
Oct 03 13:54:43.11: [24755]: SEND FAX: JOB 14 DEST xxxxxxx COMMID 00000015 DEVICE '/dev/tty00'
Oct 03 13:54:43.11: [24755]: DELAY 75 ms
Oct 03 13:54:43.20: [24755]: DELAY 2600 ms
Oct 03 13:54:46.82: [24755]: DELAY 10 ms
Oct 03 13:54:46.84: [24755]: <-- [4:ATZ\r]
Oct 03 13:54:46.97: [24755]: --> [2:OK]
Oct 03 13:54:46.97: [24755]: DELAY 3000 ms
Oct 03 13:54:49.98: [24755]: <-- [5:ATE0\r]
[ Stuff deleted ]
Oct 03 13:54:54.53: [24755]: --> [2:OK]
Oct 03 13:54:54.54: [24755]: DIAL xxxxxxxx
Oct 03 13:54:54.54: [24755]: <-- [13:ATDTxxxxxxxx\r]
Oct 03 13:55:05.95: [24755]: --> [4:+FCO]
Oct 03 13:55:08.43: [24755]: --> [27:+FCI:" xxxxxxxx"]
Oct 03 13:55:08.43: [24755]: REMOTE CSI "xxxxxxx"
Oct 03 13:55:08.43: [24755]: --> [20:+FIS:1,3,0,2,0,0,0,4]
Oct 03 13:55:08.43: [24755]: --> [2:OK]
Oct 03 13:55:08.43: [24755]: REMOTE best rate 9600 bit/s
Oct 03 13:55:08.43: [24755]: REMOTE max page width 1728 pixels in 215 mm
Oct 03 13:55:08.43: [24755]: REMOTE max unlimited page length
Oct 03 13:55:08.43: [24755]: REMOTE best vres 7.7 line/mm
Oct 03 13:55:08.43: [24755]: REMOTE best format 1-D MR
Oct 03 13:55:08.43: [24755]: REMOTE best 20 ms, 10 ms/scanline
Oct 03 13:55:08.43: [24755]: USE 9600 bit/s
Oct 03 13:55:08.43: [24755]: USE 20 ms, 10 ms/scanline
Oct 03 13:55:08.43: [24755]: SEND file "docq/doc21.tif;30"
Oct 03 13:55:08.43: [24755]: USE page width 1728 pixels in 215 mm
Oct 03 13:55:08.43: [24755]: USE unlimited page length
Oct 03 13:55:08.43: [24755]: USE 3.85 line/mm
Oct 03 13:55:08.43: [24755]: USE 1-D MR
Oct 03 13:55:08.43: [24755]: <-- [23:AT+FIS=0,3,0,2,0,0,0,4\r]
Oct 03 13:55:08.67: [24755]: --> [2:OK]
Oct 03 13:55:08.67: [24755]: <-- [7:AT+FDT\r]
Oct 03 13:55:08.94: [24755]: --> [20:+FCS:0,3,0,2,0,0,0,4]
Oct 03 13:55:14.62: [24755]: --> [7:CONNECT]
Oct 03 13:55:14.62: [24755]: SEND begin page
Oct 03 13:55:14.62: [24755]: <-- data [1029]
[ Stuff deleted ]
Oct 03 13:55:36.80: [24755]: <-- data [988]
Oct 03 13:55:38.33: [24755]: SENT 15323 bytes of data
Oct 03 13:55:38.33: [24755]: SEND 1D RTC
Oct 03 13:55:38.33: [24755]: <-- data [9]
Oct 03 13:55:38.33: [24755]: SEND end page
Oct 03 13:55:38.33: [24755]: SEND send EOP (no more pages or documents)
Oct 03 13:55:38.33: [24755]: <-- data [2]
Oct 03 13:55:45.28: [24755]: --> [7:+FHS:00]
Oct 03 13:55:45.28: [24755]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Oct 03 13:55:45.28: [24755]: SEND recv MCF (message confirmation)
Oct 03 13:55:45.28: [24755]: SEND FAX (00000015): FROM root@xxxxxxxxxxx TO xxxxxxxx (page 1 of 1 sent in 0:37)
Oct 03 13:55:45.28: [24755]: SEND FAX (00000015): FROM root@xxxxxxxxxxx TO xxxxxxxx (docq/doc21.tif;30 sent in 0:37)
Oct 03 13:55:45.29: [24755]: <-- [5:ATH0\r]
Oct 03 13:55:45.41: [24755]: --> [2:OK]
Oct 03 13:55:45.41: [24755]: SESSION END






____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxxxxx*




Project hosted by iFAX Solutions