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] Both PDF and TIFF Files are corrupted



Hi there,

Actually, in FaxDispatch I tried all combination: 
1)
#!/bin/sh
MIMENCODE=bin/uuencode_it;
UUENCODE=uuencode;
2)
#!/bin/sh
MIMENCODE=bin/uuencode_it;
#UUENCODE=uuencode;
3)
#!/bin/sh
#MIMENCODE=bin/uuencode_it;
UUENCODE=uuencode;
4)
#!/bin/sh
#MIMENCODE=bin/uuencode_it;
#UUENCODE=uuencode;

It' s because the TIF file can be opened in GIMP, and Samba (WinXP client
access)
I guest the problem is after received Fax, and before send it.
The encoding is a step between this period, but as I tried all (I searched
on the internet, only MIMENCODE & UUENCODE can be set, pls instruct if I' m
wrong) combination, the problem also exist. Do there have any other steps
between received Fax and send it?


Best Regards,
 
Kendrick Wong
 
Wing Hung Printing Co. Ltd.
Flat A 6/F, Kin Ho Industrial Bldg, Blk 1, 
14-24 Au Pui Wan St. Fo Tan, N.T. H.K.

 
HKMIS Department
(852) 22785719 (Direct Line) ,(852) 22785755 
Email - kendrick_wong@xxxxxxxxxxxx
Web Page - http://www.winghung.com

-----Original Message-----
From: Kendrick Wong [mailto:kendrick_wong@xxxxxxxxxxxx] 
Sent: Saturday, February 26, 2005 12:11 PM
To: 'hylafax-users@xxxxxxxxxxx'
Subject: RE: [hylafax-users] Both PDF and TIFF Files are corrupted

Hi there,

I tried before and again but the file also cannot be opened in Windows...
(Seems nobody have this problem in using HylaFax 4.2.1 before, as I searched
from the archive...)

Here is my etc/FaxDispatch:
#!/bin/sh
MIMENCODE=bin/uuencode_it;
UUENCODE=uuencode;
case "$DEVICE" in
ttyS0) SENDTO=kendrick_wong@xxxxxxxxxxxx;    # all faxes received on ttyS0
FILETYPE=tif;;
esac 


This is /var/spool/hylafax.4.2.0/bin/uuencode_it:
#!/bin/sh
uuencode -m $1 $1 | grep -E -v "^begin|^====$" 2>/dev/null -----Original
Message-----
From: Michael Alexander [mailto:hylafax@xxxxxxxxxxxxxxxxxx]
Sent: Friday, February 25, 2005 11:43 PM
To: 'Kendrick Wong'
Cc: hylafax-users@xxxxxxxxxxx
Subject: RE: [hylafax-users] Both PDF and TIFF Files are corrupted

Try the following:

In faxdispatch, change/add the following # MIMENCODE=mimencode
UUENCODE=uuencode

As well as create the uuencode_it script per the manual.

It looks like if the system sees any MIMENCODE value, that is what it will
use, even if you tell it uuencode

-Mike





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




Project hosted by iFAX Solutions