I'm using RH 7.1 on an Intel PC. I'm using Mozilla 1.0 I get faxes in
e-mails as tiff files. Saving them and then:
> fax2ps fax.name.tif | lpr
prints them out nicely, or if I just want to view the Postscript:
> fax2ps fax.name.tif | gv -
I would like to use the "open" attachment feature to do this
automatically. I'm familiar with opening various types of files using
particular programs. For example, if you have a Postscript attachment,
you can use gv to automatically view it. The problem is, in order to
convert from tiff to ps and then print, I need the file name. I've tried
various ways but can't seem to get hold of the filename. In Netscape,
you used to be able to specify %s for the filename (in fact you had to).
I've also tried setting up a bash script file:
fax2ps $1 | lpr
This works as a script, yet it does not work in Mozilla. (I don't get
error messages - just no output.) Yet if I use display from ImageMagick:
this works (it displays the fax - but printing from display is not that
good - each page has to be printed separately). Why does display work
but not my script?
Any help would be appreciated.