printing a fax from the gimp 

Date: 16 Jun 2003 00:51:15 +0200
> I never previously had to mess with the printing setup of the gimp
> but when printing a fax from the gimp to my laser (brother hl730)
> (standard rh9) it pops out about 20 pages of pdf headers.

Watch out with the Gimp. The default setting (on RH9, at least) is to print with the -oraw flag. Fine if the printer really is a postscript printer, but a right pain if it isn't. Go to the Setup Printer -> Command textbox and change it there.

> GQView is an excellent fax viewer - but it can't print - and kfax is totally
> broken on my rh9 - and gimp doesn't want to run from GQView without first
> editing the startup command.
>
> major mission to get a fax on paper

Serendipity. I had exactly this problem three days ago.

Try the following command:

tiff2ps -a <file.tif> <file.ps>

This will generate a postscript file, which you can view using:

ggv <file.ps>

If you just want to print, you can use:

tiff2ps -a <file.tif> | lpr -P <printer queue>

Assuming you have CUPS or something else that accepts postscript setup, and that you are receiving faxes as TIFF files.

Matthew