.html -> .ps ?
William Park
parkw at better.net
Thu Nov 11 12:07:57 EST 1999
On Thu, Nov 11, 1999 at 09:45:08AM -0500, Fred L. Drake, Jr. wrote:
>
> William Park writes:
> > 1. Does anyone have experience with 'html2ps', 'html2tex', and
> > 'html2latex' programs? Or, is there any other program that will do
> > the conversion in Python or otherwise?
>
> There's an html2ps.py in the Grail distribution; if your HTML
> doesn't involve tables that might just do it fo you. You can even
> drive it from Python by using Grail's "printing" package.
> Unfortunately, most HTML these days seems to involve at least tables
> nested 12-deep. ;-(
Found the solution by doing 'netscape -help'... duh! See
http://home.netscape.com/newsref/std/x-remote.html
Basically,
$ netscape -remote "openURL(http://...)"
$ netscape -remote "saveAs(test.ps,Postscript)"
William Park
More information about the Python-list
mailing list