Version 0 of Printing under MacOSX

Updated 2006-12-30 16:39:51

I've discovered that one can print an HTML file to the default printer by first converting it to rtf. As it turns out, OSX has a utility for converting html to rtf. Thus, if you take the time to write a text-widget-to-html converter it becomes easy to print that via the command line.

 exec textutil -cat rtf -stdout $pathToHtmlFile | lp