HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I cannot autoprint! please help me!



Dear Matt,

You should add the line '$FAX2PS $FILE |lp' after the line
'if [ -f $FILE ];then'
Did you try that ????

At 05:51 AM 2000/4/19 -0700, matt kaminer wrote:
>Followup on my autoprint saga:
>
>I did some more investigating..
>
>When I manually execute faxrcvd like this:
>"bin/faxrcvd recvq/fax00098.tif ttyS0 "" ""
>the fax prints!
>
>Go figure.
>
>Now why would the fax print when I manually execute the script, but when
>hylafax executes it it does not print?  This is really baffling me.  My next
>move is to create a second script that faxrcvd calls with a single line in it
>(the print line) to see if that works.
>
>Everybody comments have been helpful.. Thanks.
>
>--- matt kaminer <mkaminer@yahoo.com> wrote:
> > Running Hylafax 4.1 beta on Linux Mandrake no problems.
> >
> > To print I issue the command: fax2ps tif0001.tif | lp
> >
> > The fax prints great.
> >
> > Now, I add the line: fax2ps $FILE | lp
> > to the faxrcvd program, and it will not print.  I have tried adding the 
> line
> > in
> > the beginnging, the end and even the middle for the scirpt.  I have also
> > tried
> > commands like fax2ps $1 | lp and it still doesnt work.  I have also
> > /usr/bin/fax2ps $FILE | lp and that didnt work either.
> >
> > This should work right?
> > How can I check what faxrcvd is doing?
> > any suggestions?
> > This is baffling me!
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send online invitations with Yahoo! Invites.
> > http://invites.yahoo.com
> >
>
>__________________________________________________
>Do You Yahoo!?
>Send online invitations with Yahoo! Invites.
>http://invites.yahoo.com


Yours,
K.S.Wat SSA(D)12
Computer Division
Hong Kong Observatory




Project hosted by iFAX Solutions