in reply to Re: Rendering HTML / capturing pixels
in thread Rendering HTML / capturing pixels

Some (all? most?) versions or *nix Netscape allow remote control. You start netscape with the "-remote" option. You could probably generate Postscript as Corion suggests with the commands openURL() and saveAs(). I have not tried that particular combination. See this for more information.

Another option would be to get the Mozilla source and modify it directly or see if something in the source allows what you want.

Finally, building on what PodMaster said, there is a tkHTML widget here, but I do not know if there is a perl binding, yet. I have not played with it at all.

HTH, --traveler

  • Comment on Re: Re: Rendering HTML / capturing pixels

Replies are listed 'Best First'.
Re: Re: Re: Rendering HTML / capturing pixels
by Anonymous Monk on Feb 27, 2003 at 19:39 UTC
    Thanks for the information and links. I will look into the Netscape angle.

    SpaceAce

Re: Rendering HTML / capturing pixels
by skx (Parson) on Feb 28, 2003 at 20:45 UTC

     If it's just plain text formatting then 'links --dump' might be a way to go.

     I guess it depends upon what the motivation for this is, if it supposed to be used as a CGI script, for example, there might not be an X session running for the graphical browser to use..

    Steve
    ---
    steve.org.uk