On 2006–01–17, at 20:29, Bill Stephenson wrote:
Is there a way to fax a document using the built-in Mac OSX (10.3) fax feature with perl?

Well, the command-line program underlying the facility is efax. There's also a simplified front-end program, fax. You could try calling either of those with system() or whatever. Alternatively, CUPS makes the fax modem visible as a printer once it's configured -- run lpinfo -v and you should see it listed. This means that you should be able simply to pipe the stuff you want to fax to lpr. The trick would be to work out what option you need to put on the command line in order to get the number dialled, and acceptable formats for the data. (Text is probably OK. Beyond that, I've no idea.)

Not that I've tried either possibility myself.

I want to write a script that faxes selected members of congress my humble opinions ;)

A laudable aim.
--
Dominic Dunlop

Reply via email to