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] Unknown document type when sending pdf via email
Am 2006.01.27 00:53 schrieb(en) Santos:
Initially i was using the material here on this page to send pdf:
http://hylafax.sourceforge.net/howto/misc/faxmail-mimeconverters.php
Hello Santos,
on this page the filter.pl script is used with the output of
/usr/bin/gs ... -sDEVICE=pswrite ...
With this output device Ghostscript creates (simpler) PostScript from
the input PostScript or PDF document.
In this case it may be OK to rely on the "showpage" operators in the
document because we know it's created by Ghostscript/pswrite. (There is
a little chance that a document containing "showpage" in it's text may
be processed wrong.)
############## /usr/local/faxscripts/application/pdf #!/bin/bash
/bin/echo " "
/bin/echo "showpage"
/var/spool/hylafax/bin/pdf2fax $1 | /usr/local/faxscripts/filter.pl
Ah yes, pdf2fax is there as it is the third tool i tried to generate
a fax image. Tried some before, all with the same result.
I think this combination of pdf2fax with filter.pl is definitely wrong.
filter.pl expects to process PostScript data, not TIFF (fax) data.
Sorry, I cannot help you further here.
I don't use faxmail and I don't know what data format the next
processing step expects to find as output of the mime conversion script.
Bodo
____________________ 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*