Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] Thankyou Adam ! But mpage prints out one extra page with every faxsheet.
Hi,
Thanks Adam but more printing issues with Hylafax.
I tried the lines of code, modified it a little and
made mpage put in the header info such as date, sender
id etc...The line that i inserted in the faxrcvd
script is as follows:
-----cut------
/usr/bin/tiff2ps -a -h 11 -w 8.5 $1 |/usr/bin/mpage
-1 -X"SENDER::$SENDER FILENAME:: $FILENAME
DATE::`date` " -P
-----cut------
But i realize for every page output from mpage, a
blank page is also printed. Could someone help
me out here please...
The problem of only some faxes being printed still
remains and i have investigated file properties about
the file being printed...There seems to be no uniform
property from which some conclusive decision could be
arrived at regarding why some files dont get printed
out...
Please do help.
Susy.
--- Adam Ashenfelter <aashenfe@plaind.com> wrote:
>
> Hi,
> I hope this works for you. I modified it to use
> the mpage program. Mpage
> is probably installed on RedHat 8.0 already. If
> not, install it from the
> RPM.
>
> I use the following in place of your one line from
> below
>
> $TIFF2PS -a -h 11 -w 8.5 -O $FILE.ps $FILE
> 2>/dev/null
>
> $MPAGE -1 -P$PRINTER -X"FAX ID: c$COMMID SENDER:
> $SENDER DATE: `date`"
> $FILE.ps 2>/dev/null
>
> $RM -f $FILE.ps 2>/dev/null
>
> I use -h and -w with TIFF2PS to scale to letter.
> Some fax machines send at a
> different size.
>
> The mpage program by default adds a border and
> margins. Pages are never cut
> off anymore. We use the -X option to add info at the
> top of the page. I'm
> sure you could change it around to print exactly
> what you want at the top.
>
> Also I would double check that your print command is
> in the correct place in
> the file. I send and e-mail, and print, so I put
> the print commands right
> after the section that sends the e-mail. Also
> $TIFF2PS and $MPAGE are set to
> the command names at the begining of the file.
>
> TIFF2PS=tiff2ps
> MPAGE=mpage
>
> Hope this Helps.
> Adam A.
>
>
> On Fri July 25 2003 2:25 pm, Susan Parker wrote:
> > Hi,
> >
> > I am using HylaFAX (v4.1.5 under Linux RedHat 8.0
> with
> > gcc-3.2-7 and libtiff-3.5.7-7) in a fax-receive
> only
> > environment. As there is a large volume of
> incoming
> > faxes, i installed Comtrol Rockport Six Port Modem
> so
> > that i could connect six incoming lines.
> >
> > I wanted the faxes to be printed automatically
> after
> > they are received in the /var/spool/hylafax/recvq.
> So
> > i added this line
> > -----cut-------
> > /usr/bin/tiff2ps -a2 $1 | lpr -P $PRINTER
> > ------cut------
> >
> > There seems to be a couple of issues with the
> printing
> > of the received faxes.
> >
> > 1. Some faxes dont get printed even though they
> have
> > been received in the recvq.I checked their sizes
> to
> > see if they have been really huge files, but most
> of
> > them seem to be around 30K. So i dont think size
> is
> > the issue here. Is there something i missed out
> and i
> > need to check for all the files in the recvq to be
> > printed.
> >
> > 2. All of my faxes in the recvq seem to be having
> > header information such as the senders fone
> number,
> > date, time etc...But when they get printed, i
> guess
> > they fall in the deadzone of the printer and get
> cut
> > out...So i tried out the fax2ps -S so that the
> output
> > will be scaled and probably have the header
> > information..But fax2ps printouts too dont carry
> any
> > sender info..
> >
> > Will really appreciate any help,
> >
> > Thanks So much for your patience and thanks in
> > advance,
> >
> > Susy.
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.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@hylafax.org < /dev/null
> > *To learn about commercial HylaFAX(tm) support,
> mail sales@hylafax.org.*
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.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@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*