![]() |
I'm a new Hylafax user and got it installed yesterday. I managed to get it set up such that Hylafax receives the fax and then emails it to a user. This process I pretty much got down ok. The problem is between receiving the fax and sending it out to the user, the tif file got somehow bungled up or the formatting cannot be read.
Aug 05 17:12:23.88: [26564]: SESSION BEGIN 00000028 01185225372009 Aug 05 17:12:23.88: [26564]: HylaFAX (tm) Version 4.1.8 Aug 05 17:12:23.88: [26564]: <-- [4:ATA\r] Aug 05 17:12:31.49: [26564]: --> [4:+FCO] Aug 05 17:12:31.49: [26564]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0' Aug 05 17:12:31.49: [26564]: RECV FAX: begin Aug 05 17:12:32.75: [26564]: --> [20:+FCS:0,5,0,2,0,0,0,0] Aug 05 17:12:32.75: [26564]: REMOTE wants 14400 bit/s Aug 05 17:12:32.75: [26564]: REMOTE wants page width 1728 pixels in 215 mm Aug 05 17:12:32.75: [26564]: REMOTE wants unlimited page length Aug 05 17:12:32.75: [26564]: REMOTE wants 3.85 line/mm Aug 05 17:12:32.75: [26564]: REMOTE wants 1-D MR Aug 05 17:12:32.75: [26564]: --> [2:OK] Aug 05 17:12:32.75: [26564]: <-- [7:AT+FDR\r] Aug 05 17:12:37.61: [26564]: --> [7:CONNECT] Aug 05 17:12:37.61: [26564]: RECV: begin page Aug 05 17:12:37.61: [26564]: RECV: send trigger 022 Aug 05 17:12:37.61: [26564]: <-- data [1] Aug 05 17:12:53.07: [26564]: RECV: 1207 total lines, 0 bad lines, 0 consecutive bad lines Aug 05 17:12:53.07: [26564]: --> [17:+FPS:1,1215,0,0,0] Aug 05 17:12:54.46: [26564]: --> [6:+FET:2] Aug 05 17:12:54.46: [26564]: RECV recv EOP (no more pages or documents) Aug 05 17:12:54.46: [26564]: --> [2:OK] Aug 05 17:12:54.47: [26564]: RECV send MCF (message confirmation) Aug 05 17:12:54.47: [26564]: RECV FAX (00000028): from , page 1 in 0:22, INF, 3. 85 line/mm, 1-D MR, 14400 bit/s Aug 05 17:12:54.48: [26564]: RECV FAX (00000028): recvq/fax00014.tif from , rout e to <unspecified>, 1 pages in 0:23 Aug 05 17:12:54.50: [26564]: <-- [7:AT+FDR\r] Aug 05 17:12:57.50: [26564]: --> [7:+FHS:00] Aug 05 17:12:57.50: [26564]: REMOTE HANGUP: Normal and proper end of connection (code 0) Aug 05 17:12:57.50: [26564]: RECV FAX: bin/faxrcvd "recvq/fax00014.tif" "ttyS0" "00000028" "" "" "" Aug 05 17:13:18.52: [26564]: RECV FAX: end Aug 05 17:13:18.70: [26564]: SESSION END
Now, I have read the FAQ and did read some troubleshooting areas as well as gone and did a ML search and found a few hits that seemed similar to my situation, namely the Black Fax. Yes, I was using 3.6.1, but now I'm using 3.5.7. The fax was black, now is horizontally streaked. I'm using FaxDispatch to redirect the fax to an email address and using the TIF format(for now, but will change it to PDF when I get this TIF issue sorted out).
I know the actual tif is ok, since if I send it back from the fax server to a remote site, the fax can be seen (remote site runs Winfax pro 10.0).
The problem lies in the viewing part. Before, it would display a black tif file(due to libtiff version). Now, I'm getting a streaked-filled fax.
1) Taking one particular TIF file in the recvq/ directory, I run tiffinfo fax00012.tif, I get:
TIFF Directory at offset 0x69f8 Subfile Type: multi-page document (2 = 0x2) Image Width: 1728 Image Length: 1207 Resolution: 204, 98 pixels/inch Bits/Sample: 1 Compression Scheme: CCITT Group 3 Photometric Interpretation: min-is-white FillOrder: lsb-to-msb Date & Time: "2004:08:05 15:49:56" Host Computer: "qbert" Software: "HylaFAX (tm) Version 4.1.8" Image Description: "" Make: "U.S. ROBOTICS 56K FAX" Model: "" Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 151 Planar Configuration: single image plane Group 3 Options: (0 = 0x0) Fax Data: clean (0 = 0x0) Fax Receive Parameters: 00202028 Fax Receive Time: 20 secs
2) If I use tiffcp to convert this g3-compressed tiff file to one that can be seen by WANGIMG on a W2k platform, what would the exact command line be? (Btw, tiffcp was from libtiff v3.5.7)
I tried: tiffcp -c none fax00012.tif endtif.tif but I got errors:
Fax3Decode1D: Warning, /var/spool/hylafax/recvq/fax00012.tif: Line length mismatch at scanline 0 (got 2584, expected 1728). Fax3Decode1D: /var/spool/hylafax/recvq/fax00012.tif: Bad code word at scanline 1 (x 1246). Fax3Decode1D: Warning, /var/spool/hylafax/recvq/fax00012.tif: Premature EOL at scanline 1 (got 1246, expected 1728). Fax3Decode1D: /var/spool/hylafax/recvq/fax00012.tif: Bad code word at scanline 2 (x 1246). Fax3Decode1D: Warning, /var/spool/hylafax/recvq/fax00012.tif: Premature EOL at scanline 2 (got 1246, expected 1728). Fax3Decode1D: /var/spool/hylafax/recvq/fax00012.tif: Bad code word at scanline 3 (x 1246). Fax3Decode1D: Warning, /var/spool/hylafax/recvq/fax00012.tif: Premature EOL at scanline 3 (got 1246, expected 1728). Fax3Decode1D: /var/spool/hylafax/recvq/fax00012.tif: Bad code word at scanline 4 (x 1246). (..etc..)
3) Where would I put this command? In the faxrcvd file? Or do I even need this command?
Using the latest of the required packages (except for libtiff, which I'm using 3.5.7.)
____________________ 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@xxxxxxxxx*