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,
 
I tried, but it seems doesn't work.
Here is my setup.cache
 
AWK='/bin/gawk'
BIN='/usr/local/bin'
CAT='/bin/cat'
CHGRP='/bin/chgrp'
CHMOD='/bin/chmod'
CHOWN='/bin/chown'
CP='/bin/cp'
DPSRIP='/usr/local/sbin/ps2fax.exe'
ECHO='/bin/echo'
ENCODING='base64'
FAXQ_SERVER='yes'
FONTPATH='/usr/share/ghostscript/7.07/lib:/usr/share/ghostscript/7.07/vflib:/usr/share/ghostscript/fonts:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/fonts/default/amspsfnt/pfb:/usr/share/fonts/default/cmpsfont/pfb'
FUSER='/sbin/fuser'
GREP='/bin/grep'
GSRIP='/usr/bin/gs'
HFAXD_OLD_PROTOCOL='no'
HFAXD_SERVER='yes'
HFAXD_SNPP_SERVER='no'
IMPRIP='/usr/lib/print/psrip'
LIBDATA='/usr/local/lib/fax'
LIBEXEC='/usr/local/sbin'
LN='/bin/ln'
MANDIR='/usr/local/man'
MIMENCODE='base64-encode'
MKFIFO='/usr/bin/mkfifo'
MV='/bin/mv'
PATHEGETTY='/bin/egetty'
PATHGETTY='/sbin/agetty'
PATH='/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin'
PATHVGETTY='/bin/vgetty'
PSPACKAGE='gs'
RM='/bin/rm'
SBIN='/usr/local/sbin'
SCRIPT_SH='/bin/bash'
SED='/bin/sed'
SENDMAIL='/usr/sbin/sendmail'
SPOOL='/var/spool/hylafax'
SYSVINIT=''
TARGET='i686-pc-linux-gnu'
TIFFBIN='/usr/bin'
TTYCMD='/usr/bin/tty'
UUCP_LOCKDIR='/var/lock/uucp'
UUCP_LOCKTYPE='ascii'
UUENCODE='uuencode' (I also tried to change this field to base64, and it doesn't work too)
 
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
 


From: fs chan [mailto:fschan@xxxxxxxxx]
Sent: Friday, February 25, 2005 2:14 PM
To: 'Kimble Young'; 'Kendrick'
Cc: hylafax-users@xxxxxxxxxxx
Subject: RE: [hylafax-users] Both PDF and TIFF Files are corrupted

I just solve this problem a while ago (less than one hour)…. Please change the parameter in setup.cache..

ENCODING=”x-uuencode” change to “base64”, then restart the hylafax, but make sure don’t run the faxsetup, else it will change back to orginal again

 


From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Kimble Young
Sent: Friday, February 25, 2005 1:49 PM
To: Kendrick
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Both PDF and TIFF Files are corrupted

 

If the file can be opened by GIMP then it must be fine.

In windows you will need to open with imaging preview or another program supporting fax TIF files. Acd See,  Internet Explorer and most other viewers won't show them despite listing TIF support.

As for conversion to PDF make sure the ghostscript packages are installed properly.

Kendrick wrote:

HylaFax 4.2.1

Fedora 2,

Kernel 2.6.5-1.358

 

Hi all,

 

I' m newbie in using hylafax, there' re no problem in sending fax. However, the received fax (TIF) cannot be opened in Windows, but it can be opened in the hylafax server itself by GIMP in Gnome. So I tried to change the FileType to PDF and PS, the PDF format file also cannot be opened, but the PS file can be converted to PDF file and opened successfuly.

 

The log files are all seems normal and no errors.

 

Here are the configure files:

 

etc/config

LogFacility:            daemon
CountryCode:            852
AreaCode:               852
LongDistancePrefix:     9
InternationalPrefix:    001
DialStringRules:        etc/dialrules
ServerTracing:          1

 

/etc/config.ttyS0

CountryCode:            852
AreaCode:               852
FAXNumber:              26875172
LongDistancePrefix:     9
InternationalPrefix:    001
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0666
RecvDataFormat:        "2-D MR"
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          medium
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "NothingSetup"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25
ModemType:              Class2.0       
ModemRate:              19200          
ModemFlowControl:       rtscts       
ModemNoFlowCmd:         AT&H0&I0&R1    

ModemHardFlowCmd:       AT&H1&I0&R2    
ModemSoftFlowCmd:       AT&H2&I2&R1 
ModemSetupDTRCmd:       ATS13=1&D2    
ModemSetupDCDCmd:       AT&C1          
ModemResultCodesCmd:    ATQ0X4         
ModemSetupAACmd:        AT+FAA=1

ModemSetVolumeCmd:      "ATM0 ATM1 ATM1 ATM1 ATM1"

Class2BUGCmd:           AT+FBU=0

Class2CQQueryCmd:       !(0),(0)

Class2NRCmd:    AT+FNR=1,1,1,0

Class2SendRTC:  yes

Class2APQueryCmd:       none

 

(where RecvDataFormat:        "2-D MR" is I added to try to fix this problem, but it can't)

 




Project hosted by iFAX Solutions