Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] Howto enforce Hylafax to correctly encode incoming faxes?
I cannot force Hylafax to correctly encode incoming faxes.
I follow the instructions of Dmitry:
http://www.hylafax.org/archive/2000-08/msg00081.html
which says add
Class2CQQueryCmd: "!(0),(0)"
RecvDataFormat: "2-D MMR"
to your config file but this does not change anything here.
The log is:
---- Transcript of session follows ----
Sep 25 12:29:26.46: [28093]: SESSION BEGIN 00000033 xxx
Sep 25 12:29:26.46: [28093]: <-- [4:ATA\r]
Sep 25 12:29:38.46: [28093]: --> [4:+FCO]
Sep 25 12:29:38.46: [28093]: ANSWER: FAX CONNECTION
Sep 25 12:29:38.46: [28093]: STATE CHANGE: ANSWERING -> RECEIVING
Sep 25 12:29:38.46: [28093]: MODEM input buffering enabled
Sep 25 12:29:38.47: [28093]: RECV FAX: begin
Sep 25 12:29:41.16: [28093]: --> [4:+FCO]
Sep 25 12:29:43.21: [28093]: --> [27:+FTI:"xxx "]
Sep 25 12:29:43.21: [28093]: REMOTE TSI "xxx"
Sep 25 12:29:43.21: [28093]: --> [20:+FCS:0,5,0,2,0,0,0,0]
Sep 25 12:29:43.21: [28093]: REMOTE wants 14400 bit/s
Sep 25 12:29:43.21: [28093]: REMOTE wants page width 1728 pixels in 215 mm
Sep 25 12:29:43.22: [28093]: REMOTE wants unlimited page length
Sep 25 12:29:43.22: [28093]: REMOTE wants 3.85 line/mm
Sep 25 12:29:43.22: [28093]: REMOTE wants 1-D MR
Sep 25 12:29:43.22: [28093]: --> [2:OK]
Sep 25 12:29:43.22: [28093]: <-- [7:AT+FDR\r]
Sep 25 12:29:48.15: [28093]: --> [7:CONNECT]
Sep 25 12:29:48.15: [28093]: RECV: begin page
Sep 25 12:29:48.15: [28093]: RECV: send trigger 022
Sep 25 12:29:48.15: [28093]: <-- data [1]
Sep 25 12:30:06.24: [28093]: RECV/CQ: Bad 1D pixel count, row 1146, got 0,
expected 1728
Sep 25 12:30:06.24: [28093]: RECV/CQ: Bad 1D pixel count, row 1147, got 0,
expected 1728
Sep 25 12:30:06.24: [28093]: RECV/CQ: Bad 1D pixel count, row 1148, got 0,
expected 1728
Sep 25 12:30:06.24: [28093]: RECV/CQ: Bad 1D pixel count, row 1149, got 0,
expected 1728
Sep 25 12:30:06.24: [28093]: RECV/CQ: Bad 1D pixel count, row 1150, got 0,
expected 1728
Sep 25 12:30:06.25: [28093]: RECV/CQ: Invalid BlackTable code word, row
1151, x 241
Sep 25 12:30:06.25: [28093]: RECV/CQ: Bad 1D pixel count, row 1151, got 241,
expected 1728
Sep 25 12:30:06.36: [28093]: RECV: 32573 bytes of data, 1152 total lines
Sep 25 12:30:06.37: [28093]: --> [17:+FPS:1,1152,0,0,0]
Sep 25 12:30:07.74: [28093]: --> [6:+FET:0]
Sep 25 12:30:07.74: [28093]: RECV recv MPS (more pages, same document)
Sep 25 12:30:07.74: [28093]: --> [2:OK]
Sep 25 12:30:07.75: [28093]: RECV send MCF (message confirmation)
Sep 25 12:30:07.75: [28093]: RECV FAX (00000033): from xxx, page 1 in 0:24,
INF, 3.85 line/mm, 1-D MR
Sep 25 12:30:07.75: [28093]: <-- [7:AT+FDR\r]
Sep 25 12:30:09.86: [28093]: --> [7:CONNECT]
Sep 25 12:30:09.86: [28093]: RECV: begin page
Sep 25 12:30:09.86: [28093]: RECV: send trigger 022
Sep 25 12:30:09.86: [28093]: <-- data [1]
Sep 25 12:30:28.05: [28093]: RECV: 32726 bytes of data, 1089 total lines
Sep 25 12:30:28.21: [28093]: RECV/CQ: Bad 1D pixel count, row 1146, got 0,
expected 1728
Sep 25 12:30:28.21: [28093]: RECV/CQ: Bad 1D pixel count, row 1147, got 0,
expected 1728
Sep 25 12:30:28.21: [28093]: RECV/CQ: Bad 1D pixel count, row 1148, got 0,
expected 1728
Sep 25 12:30:28.21: [28093]: RECV/CQ: Bad 1D pixel count, row 1149, got 0,
expected 1728
Sep 25 12:30:28.21: [28093]: RECV/CQ: Bad 1D pixel count, row 1150, got 0,
expected 1728
Sep 25 12:30:28.22: [28093]: RECV/CQ: Bad 1D pixel count, row 1151, got 241,
expected 1728
Sep 25 12:30:28.22: [28093]: RECV/CQ: Bad 1D pixel count, row 1152, got
2982, expected 1728
Sep 25 12:30:28.22: [28093]: RECV: 388 bytes of data, 1153 total lines
Sep 25 12:30:28.33: [28093]: --> [17:+FPS:1,1153,0,0,0]
Sep 25 12:30:29.71: [28093]: --> [6:+FET:0]
Sep 25 12:30:29.71: [28093]: RECV recv MPS (more pages, same document)
Sep 25 12:30:29.71: [28093]: --> [2:OK]
Sep 25 12:30:29.72: [28093]: RECV send MCF (message confirmation)
Sep 25 12:30:29.72: [28093]: RECV FAX (00000033): from xxx, page 2 in 0:22,
INF, 3.85 line/mm, 1-D MR
Sep 25 12:30:29.72: [28093]: <-- [7:AT+FDR\r]
Sep 25 12:30:31.83: [28093]: --> [7:CONNECT]
Sep 25 12:30:31.83: [28093]: RECV: begin page
Sep 25 12:30:31.83: [28093]: RECV: send trigger 022
Sep 25 12:30:31.83: [28093]: <-- data [1]
Sep 25 12:30:49.71: [28093]: RECV/CQ: Bad 1D pixel count, row 1146, got 0,
expected 1728
Sep 25 12:30:49.71: [28093]: RECV/CQ: Bad 1D pixel count, row 1147, got 0,
expected 1728
Sep 25 12:30:49.71: [28093]: RECV/CQ: Bad 1D pixel count, row 1148, got 0,
expected 1728
Sep 25 12:30:49.71: [28093]: RECV/CQ: Bad 1D pixel count, row 1149, got 0,
expected 1728
Sep 25 12:30:49.71: [28093]: RECV/CQ: Bad 1D pixel count, row 1150, got 0,
expected 1728
Sep 25 12:30:49.79: [28093]: RECV/CQ: Bad 1D pixel count, row 1151, got 241,
expected 1728
Sep 25 12:30:49.79: [28093]: RECV/CQ: Bad 1D pixel count, row 1152, got
2250, expected 1728
Sep 25 12:30:49.79: [28093]: RECV: 32383 bytes of data, 1153 total lines
Sep 25 12:30:49.80: [28093]: --> [17:+FPS:1,1153,0,0,0]
Sep 25 12:30:51.28: [28093]: --> [6:+FET:0]
Sep 25 12:30:51.28: [28093]: RECV recv MPS (more pages, same document)
Sep 25 12:30:51.28: [28093]: --> [2:OK]
Sep 25 12:30:51.29: [28093]: RECV send MCF (message confirmation)
Sep 25 12:30:51.29: [28093]: RECV FAX (00000033): from xxx, page 3 in 0:22,
INF, 3.85 line/mm, 1-D MR
Sep 25 12:30:51.29: [28093]: <-- [7:AT+FDR\r]
Sep 25 12:30:53.42: [28093]: --> [7:CONNECT]
Sep 25 12:30:53.42: [28093]: RECV: begin page
Sep 25 12:30:53.42: [28093]: RECV: send trigger 022
Sep 25 12:30:53.42: [28093]: <-- data [1]
Sep 25 12:31:11.56: [28093]: RECV: 32764 bytes of data, 1108 total lines
Sep 25 12:31:11.72: [28093]: RECV/CQ: Bad 1D pixel count, row 1146, got 0,
expected 1728
Sep 25 12:31:11.72: [28093]: RECV/CQ: Bad 1D pixel count, row 1147, got 0,
expected 1728
Sep 25 12:31:11.72: [28093]: RECV/CQ: Bad 1D pixel count, row 1148, got 0,
expected 1728
Sep 25 12:31:11.72: [28093]: RECV/CQ: Bad 1D pixel count, row 1149, got 0,
expected 1728
Sep 25 12:31:11.72: [28093]: RECV/CQ: Bad 1D pixel count, row 1150, got 0,
expected 1728
Sep 25 12:31:11.73: [28093]: RECV/CQ: Bad 1D pixel count, row 1151, got 241,
expected 1728
Sep 25 12:31:11.73: [28093]: RECV/CQ: Bad 1D pixel count, row 1152, got
4949, expected 1728
Sep 25 12:31:11.73: [28093]: RECV: 261 bytes of data, 1153 total lines
Sep 25 12:31:11.83: [28093]: --> [17:+FPS:1,1153,0,0,0]
Sep 25 12:31:13.22: [28093]: --> [6:+FET:0]
Sep 25 12:31:13.22: [28093]: RECV recv MPS (more pages, same document)
Sep 25 12:31:13.22: [28093]: --> [2:OK]
Sep 25 12:31:13.23: [28093]: RECV send MCF (message confirmation)
Sep 25 12:31:13.23: [28093]: RECV FAX (00000033): from xx, page 4 in 0:22,
INF, 3.85 line/mm, 1-D MR
Sep 25 12:31:13.23: [28093]: <-- [7:AT+FDR\r]
Sep 25 12:31:15.34: [28093]: --> [7:CONNECT]
Sep 25 12:31:15.34: [28093]: RECV: begin page
Sep 25 12:31:15.34: [28093]: RECV: send trigger 022
Sep 25 12:31:15.34: [28093]: <-- data [1]
Sep 25 12:31:33.28: [28093]: RECV/CQ: Bad 1D pixel count, row 1146, got 0,
expected 1728
Sep 25 12:31:33.28: [28093]: RECV/CQ: Bad 1D pixel count, row 1147, got 0,
expected 1728
Sep 25 12:31:33.28: [28093]: RECV/CQ: Bad 1D pixel count, row 1148, got 0,
expected 1728
Sep 25 12:31:33.28: [28093]: RECV/CQ: Bad 1D pixel count, row 1149, got 0,
expected 1728
Sep 25 12:31:33.28: [28093]: RECV/CQ: Bad 1D pixel count, row 1150, got 0,
expected 1728
Sep 25 12:31:33.45: [28093]: RECV/CQ: Bad 1D pixel count, row 1151, got
2291, expected 1728
Sep 25 12:31:33.45: [28093]: RECV: 32459 bytes of data, 1152 total lines
Sep 25 12:31:33.46: [28093]: --> [17:+FPS:1,1152,0,0,0]
Sep 25 12:31:34.83: [28093]: --> [6:+FET:2]
Sep 25 12:31:34.83: [28093]: RECV recv EOP (no more pages or documents)
Sep 25 12:31:34.83: [28093]: --> [2:OK]
Sep 25 12:31:34.84: [28093]: RECV send MCF (message confirmation)
Sep 25 12:31:34.84: [28093]: RECV FAX (00000033): from xx, page 5 in 0:21,
INF, 3.85 line/mm, 1-D MR
Sep 25 12:31:34.84: [28093]: RECV FAX (00000033): recvq/fax00025.tif from
xx, route to <unspecified>, 5 pages in 1:56
Sep 25 12:31:34.84: [28093]: <-- [7:AT+FDR\r]
Sep 25 12:31:37.66: [28093]: --> [7:+FHS:00]
Sep 25 12:31:37.66: [28093]: REMOTE HANGUP: Normal and proper end of
connection (code 0)
Sep 25 12:31:37.66: [28093]: RECV FAX: bin/faxrcvd "recvq/fax00025.tif"
"ttyS0" "00000033" ""
This is the output of tiffinfo -D
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1146 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1147 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1148 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1149 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1150 (got 0,
expected 1728).
Fax3Decode1D: fax00025.tif: Bad code word at scanline 1151 (x 241).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1151 (got
241, expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1146 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1147 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1148 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1149 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1150 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1151 (got
241, expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Line length mismatch at scanline 1152
(got 2982, expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1146 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1147 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1148 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1149 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1150 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1151 (got
241, expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Line length mismatch at scanline 1152
(got 2250, expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1146 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1147 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1148 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1149 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1150 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1151 (got
241, expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Line length mismatch at scanline 1152
(got 4949, expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1146 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1147 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1148 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1149 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Premature EOL at scanline 1150 (got 0,
expected 1728).
Fax3Decode1D: Warning, fax00025.tif: Line length mismatch at scanline 1151
(got 2291, expected 1728).
TIFF Directory at offset 0x7f46
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1152
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "2000:09:25 12:29:48"
Host Computer: "linux1"
Software: "HylaFAX (tm) Version 4.1beta44"
Image Description: "xx"
Make: "RING\nU.S. ROBOTICS 56K VOICE"
Model: ""
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Group 3 Options: (0 = 0x0)
Fax Data: clean (0 = 0x0)
Fax Receive Parameters: 0000010a
Fax Receive Time: 23 secs
TIFF Directory at offset 0x1025a
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1153
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "2000:09:25 12:30:09"
Host Computer: "linux1"
Software: "HylaFAX (tm) Version 4.1beta44"
Image Description: "xx"
Make: "RING\nU.S. ROBOTICS 56K VOICE"
Model: ""
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Group 3 Options: (0 = 0x0)
Fax Data: clean (0 = 0x0)
Fax Receive Parameters: 0000010a
Fax Receive Time: 21 secs
TIFF Directory at offset 0x18292
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1153
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "2000:09:25 12:30:31"
Host Computer: "linux1"
Software: "HylaFAX (tm) Version 4.1beta44"
Image Description: "xxx"
Make: "RING\nU.S. ROBOTICS 56K VOICE"
Model: ""
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Group 3 Options: (0 = 0x0)
Fax Data: clean (0 = 0x0)
Fax Receive Parameters: 0000010a
Fax Receive Time: 20 secs
TIFF Directory at offset 0x2054c
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1153
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "2000:09:25 12:30:53"
Host Computer: "linux1"
Software: "HylaFAX (tm) Version 4.1beta44"
Image Description: "xx"
Make: "RING\nU.S. ROBOTICS 56K VOICE"
Model: ""
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Group 3 Options: (0 = 0x0)
Fax Data: clean (0 = 0x0)
Fax Receive Parameters: 0000010a
Fax Receive Time: 20 secs
TIFF Directory at offset 0x285d0
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1152
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "2000:09:25 12:31:15"
Host Computer: "linux1"
Software: "HylaFAX (tm) Version 4.1beta44"
Image Description: "xx"
Make: "RING\nU.S. ROBOTICS 56K VOICE"
Model: ""
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Group 3 Options: (0 = 0x0)
Fax Data: clean (0 = 0x0)
Fax Receive Parameters: 0000010a
Fax Receive Time: 20 secs
Bernd
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null