Login Main site Create account

01.12.2004 16:00

Linux playing faxserver

Today I struggled quite a few hours with getting g3tolj to print incoming faxes properly. 99% of all faxes were printed perfectly, but there's another 1% of faxes that occupied two printed pages instead of one. So, as you could guess, this post is for everyone, who has the same problem.
RES=$(basename $FAX | sed 's/.\(.\).*/\1/')

if [ "$RES" = "n" ]; then
  STRETCH="-aspect 2.0"

g3tolj $STRETCH $FAX | lp -d $PRINTER

While trying to understand the G3-Format by reading tons of regarding documents on the web, I stumbled across this information, that mgetty already sorts out such faxes for me by renaming them to fn instead of ff... Well, it works now and that's important.
Currently no comments to this entry (http://tuxx-home.at/archives/2004/12/01/T16_00_40/index.html)

Your comment (HTML tags will be stripped !!):

To verify You are not a bot, type down text from this image.

Your try: