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] Document conversion using typerules



There is still one missing piece. I know that there is an obscure utility called faxtest (or testfax ?) that takes a document as the argument and outputs the typerules match list. It’s like invoking sendfax in verbose mode. However, the output is unformatted and I have to extract the matching converter using some bash magic and then feed the document to the converter. Am I missing an undocumented switch that makes the tool more machine-friendly or there is yet a better way of getting the matching converter from typerules list?

 

 

From: Dominique dHotman [mailto:dominique@xxxxxxxxxxx]
Sent: Wednesday, August 18, 2010 11:10 AM
To: Amin Mozafari
Subject: Re: [hylafax-users] Document conversion using typerules

 

The best place to do this is by creating a script in etc/FaxModify.

 

This script will run every time a fax job is submitted to the server, regardless of which submission channel is used.

 

The first part of the script could do something like check if the document's submitted are candidates for conversion and if matched positively then run your conversion process.

 

All the best

Dominique

 

On Tue, Aug 17, 2010 at 7:52 PM, Amin Mozafari <amin85ir@xxxxxxxxx> wrote:

Ok. But I need to emulate sendfax document conversion capabilities. How can
I write a script that gets called when a new job is submitted?
I am thinking of using jobcontrol to do the conversion by replacing the job
documents in docq. Can you give me any advice?


-----Original Message-----
From: Lee Howard [mailto:faxguy@xxxxxxxxxxxxxxxx]
Sent: Monday, August 16, 2010 12:19 AM
To: Amin Mozafari
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Document conversion using typerules

Amin Mozafari wrote:
>
> Apparently, sendfax first converts then submits. I wonder if the same
> behavior can be extended to other clients. Is there a trick to get
> HylaFAX to automatically convert whatever is thrown at it using
> typerules? I really need this feature because I need to offload the
> document conversion process to the HylaFAX machine.
>

hfaxd only accepts Postscript, PDF, TIFF, and sometimes PCL.

Thanks,

Lee.

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5368 (20100815) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5374 (20100817) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




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

 

 

__________ Information from ESET NOD32 Antivirus, version of virus signature database 5376 (20100818) __________

 

The message was checked by ESET NOD32 Antivirus.

 

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 5397 (20100825) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



Project hosted by iFAX Solutions