On Wed, Sep 8, 2010 at 2:13 PM, Amin Mozafari <
amin85ir@xxxxxxxxx> wrote:
> I have a question about writing FaxModify scripts. FaxModify is supposed to
> provide a means of pre-processing documents before transmission but how can
> I get the original document path in the fist place? Could some one please
> clarify what parameters are supplied to the script. It does seem though that
> the script only receives a "ps" parameter but no document path or job id.
>
>
> On Wed, Aug 18, 2010 at 11:09 AM, Dominique dHotman <
dominique@xxxxxxxxxxx>
> wrote:
>>
>> 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*
>>>
>>
>
>