Package: capi4hylafax
Version: 1:01.03.00.99.svn.300-12
Severity: important

When I send a fax with more than one page, the receiver gets the first page
but for the following pages only a header line.

This was reported by a company using an (unknown) electronic fax system as
receiving station and I checked this with a Siemens HiPath system as receiver.
I did not yet check with a paper fax machine.

The problem occurs when sending a fax using HylaFAX (i.e. HylaFAX mode)
and when sending TIFF file[s] directly using c2faxsend (i.e. TIFF mode).

I converted a two page PostScript file using the ps2fax command logged by
HylaFAX in /var/log/messages. The resulting TIFF file looks OK when viewed
in "Microsoft Office Document Imaging".


After sending this TIFF file using c2faxsend in TIFF mode I viewed the
received TIFF file on the receiving side.  It has the first page in normal
size with contents and header line OK. The second and third page have only
the length of the header line as if I had sent only the first millimeters
of the page.

I get the same result when I split the three-page tiff file into single page
files using tiffsplit and specify the resulting files at the c2faxsend
command line.

For testing I used this PostScript file test2.ps

%!PS
/mm { 72 mul 25.4 div } def
/Helvetica findfont 24 scalefont setfont
50 mm 250 mm moveto
(test page 1) show
showpage
50 mm 250 mm moveto
(test page 2) show
showpage
50 mm 250 mm moveto
(test page 3) show
showpage

converted to TIFF format using this command from /var/spool/hylafax as
working directory

bin/ps2fax -o ~/test2.tiff -r 196 -w 1728 -l 297 -m 4294967295 -U -1 ~/test2.ps

and sent using

c2faxsend -v -f TIFF -d 030xxxxxxxxxx test2.tiff

with this output

The config file is /var/spool/hylafax/etc/config.faxCAPI.

C4H-Version 01.03.01svn (32Bit).

Try to connect to fax number 030xxxxxxxxxx in TIFF mode on controller 1.
Dial and starting transfer of TIFF-File test2.tiff with fine resolution.
Connection established.
        StationID = +49 30 xxxxxxxxxx   
        BaudRate  = 14400
        Flags     = HighRes, MR_compr, MMR_compr
Page 1 was sent.
Page 2 was sent.
Page 3 was sent. - Last Page!
Fax file completely transfered to CAPI.
Connection dropped with Reason 0x3490 (Normal call clearing).

or

tiffsplit test2.tiff
c2faxsend -v -f TIFF -d 0302063144617 xaaa.tif xaab.tif xaac.tif 

with this output:

The config file is /var/spool/hylafax/etc/config.faxCAPI.

C4H-Version 01.03.01svn (32Bit).

Try to connect to fax number 0302063144617 in TIFF mode on controller 1.
Dial and starting transfer of TIFF-File xaaa.tif with fine resolution.
Connection established.
        StationID = +49 30 2063144617   
        BaudRate  = 14400
        Flags     = HighRes, MR_compr, MMR_compr
Page 1 was sent.
Start transfer of TIFF-File xaab.tif with fine resolution.
Page 2 was sent.
Start transfer of TIFF-File xaac.tif with fine resolution.
Page 3 was sent. - Last Page!
Fax file completely transfered to CAPI.
Connection dropped with Reason 0x3490 (Normal call clearing).


The config has this contents (comments stripped out):

SpoolDir:               /var/spool/hylafax
FaxRcvdCmd:             /var/spool/hylafax/bin/faxrcvd
PollRcvdCmd:             /var/spool/hylafax/bin/pollrcvd
FaxReceiveUser:         uucp
FaxReceiveGroup:        dialout
LogFile:                /var/spool/hylafax/log/capi4hylafax
LogTraceLevel:          4
LogFileMode:            0600
{
    HylafaxDeviceName:          faxCAPI
    RecvFileMode:               0664
    FAXNumber:                  +49.8xxx.xxxxxx4
    LocalIdentifier:            "Name1, Location"
    MaxConcurrentRecvs:         1
    OutgoingController:         1
    OutgoingMSN:        xxxxxx4
    SuppressMSN:                0
    NumberPrefix:
    NumberPlusReplacer:     "00"
    UseISDNFaxService:          0
    RingingDuration:            0
    {
        Controller:             1
        AcceptSpeech:           1
        UseDDI:                 0
        DDIOffset:              "12345"
        DDILength:              3
        IncomingDDIs:
        IncomingMSNs:   xxxxxx4,xxxxxx5
        AcceptGlobalCall:   0
    }
}
{
    HylafaxDeviceName:          faxCAPI2
    RecvFileMode:               0660
    FAXNumber:                  +49.8xxx.xxxxxx5
    LocalIdentifier:            "Name2, Location"
    MaxConcurrentRecvs:         1
    OutgoingController:         1
    OutgoingMSN:       xxxxxx5
    SuppressMSN:                0
    NumberPrefix:
    NumberPlusReplacer:     "00"
    UseISDNFaxService:          0
    RingingDuration:            0
}

$ tiffinfo test2.tiff received-fax.tif 
test2.tiff:
TIFF Directory at offset 0x8 (8)
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 2292
  Resolution: 209, 196 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 2292
  Planar Configuration: single image plane
  Page Number: 0-0
  Software: ESP Ghostscript 815.03
  DateTime: 2008:04:16 13:27:28
  Group 3 Options: EOL padding (4 = 0x4)
TIFF Directory at offset 0x2890 (10384)
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 2292
  Resolution: 209, 196 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 2292
  Planar Configuration: single image plane
  Page Number: 1-0
  Software: ESP Ghostscript 815.03
  DateTime: 2008:04:16 13:27:28
  Group 3 Options: EOL padding (4 = 0x4)
TIFF Directory at offset 0x5130 (20784)
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 2292
  Resolution: 209, 196 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 2292
  Planar Configuration: single image plane
  Page Number: 2-0
  Software: ESP Ghostscript 815.03
  DateTime: 2008:04:16 13:27:28
  Group 3 Options: EOL padding (4 = 0x4)
received-fax.tif:
TIFF Directory at offset 0x8 (8)
  Subfile Type: (0 = 0x0)
  Image Width: 1728 Image Length: 2335
  Resolution: 200, 200
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  Thresholding: bilevel art scan
  FillOrder: lsb-to-msb
  Planar Configuration: single image plane
TIFF Directory at offset 0x3604 (13828)
  Subfile Type: (0 = 0x0)
  Image Width: 1728 Image Length: 43
  Resolution: 200, 200
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  Thresholding: bilevel art scan
  FillOrder: lsb-to-msb
  Planar Configuration: single image plane
TIFF Directory at offset 0x3bfd (15357)
  Subfile Type: (0 = 0x0)
  Image Width: 1728 Image Length: 43
  Resolution: 200, 200
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  Thresholding: bilevel art scan
  FillOrder: lsb-to-msb
  Planar Configuration: single image plane


If needed I can provide the TIFF files from the sending and receiving side.


Bodo

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages capi4hylafax depends on:
ii  capiutils             1:3.9.20060704-3.2 Utilities for CAPI-capable ISDN ca
ii  libc6                 2.7-10             GNU C Library: Shared libraries
ii  libcapi20-3           1:3.9.20060704-3.2 libraries for CAPI support
ii  libgcc1               1:4.3.0-3          GCC support library
ii  libstdc++6            4.3.0-3            The GNU Standard C++ Library v3
ii  libtiff4              3.8.2-8            Tag Image File Format (TIFF) libra
ii  zlib1g                1:1.2.3.3.dfsg-11  compression library - runtime

Versions of packages capi4hylafax recommends:
ii  hylafax-server        2:4.4.4-7          Flexible client/server fax softwar
ii  isdnactivecards       1:3.9.20060704-3.2 Support utilities for active ISDN 

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to