Print to File, then run command
I would like to setup a printer in Linux (RHEL 4) that will generate a postscript file and pass it to another application as an argument. Sounds easy but I haven't the slightest idea where to start!
This is all part of a faxing workflow. I have a Fax front end application for Hylafax that accepts PS files as an argument:
# /usr/local/bin/faxfrontend myfile.ps
This will pop up a windows that allows the user to select a fax number from a rolodex and send the fax.
Is something like this possible??? I need it to be accessible from OpenOffice and PDFViewer. Thanks in advance.
PS: Conversely, if anyone has any experience with setting up faxfrontend, then perhaps you could hekp me get fax4cups working properly as a printer so I can print directly to that.
Thanks!!
|