nicolas at house.com.ar
Thu Mar 25 18:14:39 MST 2004
I was all day trying and came up with this:
gs -q -sDEVICE=tiffg3 -sPAPERSIZE=a4 -r204x196 \
-dNOPAUSE -sOutputFile=$TIFFILE -- $PSFILE
I'm using a modified version of "salsafax/sambafax" to enable a
print2fax option for windows/linux clients.
You add a printer to cups and share it via Samba. Then, you append a
line with the fax number in the file you want to be faxed "Fax-Nr
34333333" and print it to the network printer from any application.
The scripts extracts the number and then generates a call file for
Some ps files cannot be extracted, so I used an OCR application (gocr)
to extract the text, maybe its overkill, but it works most of the time
(here we send less than ten faxes a day, so its no problem for us). I
will clean up the scripts and post them for others to use.
On Thu, 2004-03-25 at 21:19, Eric Wieling wrote:
> On Thu, 2004-03-25 at 09:33, Steve Underwood wrote:
> > exten => 5678,1,txfax(/tmp/testfax.tif|caller)
> There are a zillion fax and tiff formats. I'm trying to figure out what
> output format I should tell GhostScript to use. Any suggestions on
> which format to try?
> These are the formats GhostScript can output:
> faxg3 faxg32d faxg4 tiff12nc tiff24nc tiffcrle tiffg3 tiffg32d tiffg4
> tifflzw tiffpack
Nicolas Gudino <nicolas at house.com.ar>
House Internet S.R.L.
More information about the asterisk-users