Hylafax Mailing List Archives

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

[hylafax-users] Fax too big!



Hello,

    I have installed Hylafax on my little Linux server - it's a Slackware
10.0 machine that talks to an external Zoom faxmodem I had laying
around.

    I have created a mysql database to help with my business, and am
writing some shell scripts to create documents using the info from the
database.

  The scripts are at this time using the "netpbm" tools.  Basically, I take
a blank form that I created with Paperport on the Windows side, convert it
( just once ) to .pbm format.  Then paste text into it using the pbmtext
tool.  The completed form is converted back into a TIFF with pnmtotiff.

   Right now, I am using Windows-based tools to fax the documents out,
courtesy of Samba file sharing.

   It would be really REALLY cool if I could have the Linux box fax the
stuff out itself under script control.

    Unfortunately, when I send the file, ( sendfax -n -m -d xxxxxxx ), it
turns into an oversized monster, and only the bottom left of the file
is printed.  It looks like it has been expanded about 4X.

   If I sendfax the original tif file made by Paperport, it works fine.

   Has anybody else encountered such?  Mighty google is mute on the subject.

( here are a couple of header dumps from tifftopnm: )

--------------------- snip ------------------------------------
( the bad one: prints WAY too big on the receiving fax )
jerry@tr4:~/maint/temp$ tifftopnm -headerdump unixblank.tif > /dev/null
TIFF Directory at offset 0x72756
  Image Width: 1701 Image Length: 2201
  Bits/Sample: 1
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  FillOrder: msb-to-lsb
  Document Name: "unixblank.pbm"
  Image Description: "converted PNM file"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 38
  Planar Configuration: single image plane
tifftopnm: 1701x2201x1 image
tifftopnm: 1 bits/sample, 1 samples/pixel
tifftopnm: bilevel
tifftopnm: writing PBM file

( the good one: output by Paperport, faxes normally with sendfax )
jerry@tr4:~/maint/temp$ tifftopnm -headerdump goodunixblank.tif > /dev/null
TIFFReadDirectory: Warning, goodunixblank.tif: unknown field with tag 292
(0x124) encountered.
TIFF Directory at offset 0x8
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1701 Image Length: 2201
  Resolution: 200, 200 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 2201
  Planar Configuration: single image plane
  Page Number: 0-0
  Group 4 Options: (0 = 0x0)
tifftopnm: 1701x2201x1 image
tifftopnm: 1 bits/sample, 1 samples/pixel
tifftopnm: bilevel
tifftopnm: writing PBM file
--------------------- endsnip ---------------------------------
   Thanks in advance,

                    - Jerry Kaidor ( jerry@xxxxxxx )




____________________ 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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services