For some reason I fail to use netscape -remote, but if it wasn't deprecated you
could:

netscape&
netscape -remote "openURL(http://your.url)"
netscape -remote "SaveAs(site.ps, PostScript)"
gs -sDEVICE=jpeg -dBATCH -sOutputFile=site.jpg site.ps

I know people are doing similar things on top of a framebuffer X server, so
everything can be done safely from a script.

Disclaimer: never tried it myself.

Dan.

P.S. My guess is that such thing would be incredibly simple to do with Microsoft
Internet Explorer, with its elaborate COM interface, but I believe this is the
wrong list to mention this.

On Wed, Jul 24, 2002 at 12:39:34PM +0200, Ben-Nes Michael wrote:
> Hi All
> 
> I want to convert html pages to jpg/gif images.
> 
> The plane is more like:
> 
> 1. print a Web page to file
> 2. convert ps to jpg or gif
> 
> How can I print from console ( with color ) to file a web page ?
> 
> Does any body have a better way then i wrote above ?

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to