HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Issue following upgrade to 4.2.2rc1
TWIMC: I thought some more about my scripting faux
pas. I know better than to hard code something,
particularly when the value of one variable has been
passed of to another. So, I went back to the source of
my info
(http://www.hylafax.org/setup-advanced.php#FaxRcvd)
and found this:
<quote>Another common request is to automatically
print received facsimile as they arrive. This is easy
to do by editing the faxrcvd script to use a program
such as fax2ps or tiff2ps to convert the TIFF/F file
and then submit the resulting PostScript; e.g.
$TIFFBIN/fax2ps $1 | lp
<end quote>
Ah ha! It may be worth updating this info, as using
this form in the 4.2.2 version of faxrcvd won't work.
The line should read:
$TIFFBIN/fax2ps $FILE | lp
Regards, Laker
--- Laker Netman <laker_netman@xxxxxxxxx> wrote:
> Date: Fri, 9 Sep 2005 14:57:42 -0700 (PDT)
> From: Laker Netman <laker_netman@xxxxxxxxx>
> Subject: Re: [hylafax-users] Issue following upgrade
> to 4.2.2rc1
> To: hylafax-users@xxxxxxxxxxx
>
> Okay, I fount MY error (argh). I was on track with
> my
> suspicion below, regarding the 'shift' on the
> arguments. I (foolishly) referenced the filename fed
> to fax2ps using the ordinal value ($1) rather than
> the
> script variable $FILE.
> I replaced the errant reference and all is well.
>
> My apologizes for consuming anyone's time on this
> topic.
>
> Laker
>
> --- Laker Netman <laker_netman@xxxxxxxxx> wrote:
>
> > Yes the builds were both done from source tarball
> > without any special flags (./configure, make, make
> > install, faxsetup)
> >
> > I applied the same patches to the 4.2.2 faxrcvd I
> > used
> > in the 4.2.1 version. Could the 'shift' in the
> new
> > version of the script be at fault? I.e., the 4.2.1
> > line is:
> > FILE="$1"
> > etc.
> > The 4.2.2 line is:
> > FILE="$1"; shift;
> > etc.
> >
> >
> > --- Lee Howard <faxguy@xxxxxxxxxxxxxxxx> wrote:
> >
> > > Did you build and install 4.2.2 in the same
> manner
> > > that you did 4.2.1?
> > >
> > > Are the received TIFFs viewable and they're just
> > not
> > > printing out right?
> > >
> > > Lee.
> > >
> > >
> > > Laker Netman wrote:
> > >
> > > >Built and installed rc1 without incident. I
> now
> > > have
> > > >an issue with faxes printing. I modified
> faxrcvd
> > > when
> > > >I originally set up 4.2.1 to send faxes to a
> > > printer.
> > > >It has worked flawlessly. I can post the patch
> > if
> > > >desired. Now, rather than faxes printing, all
> I
> > > get
> > > >is what appears to be a postscript error, as
> > > follows:
> > > >
> > > >%%Trailer
> > > >%%Pages: 0
> > > >%%EOF
> > > >
> > > >I also have qfaxreader installed. Faxes are
> > being
> > > >received correctly and I can open them without
> > > issue
> > > >in qfaxreader.
> > > >
> > > >I did a "diff" on faxrcvd as installed by rc1
> and
> > > my
> > > >version. My changes are the only ones of note.
> > > What
> > > >could have broken?
> > > >
> > > >(And yes, I ran faxsetup after the install :)
> > > >
> > > >Laker
> > > >
> > >
> >
> >__________________________________________________
> > > >Do You Yahoo!?
> > > >Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > >http://mail.yahoo.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 expensive HylaFAX(tm)
> support,
> > > mail sales@xxxxxxxxx*
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
______________________________________________________
> > Click here to donate to the Hurricane Katrina
> relief
> > effort.
> > http://store.yahoo.com/redcross-donate3/
> >
> > ____________________ 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*
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.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*