Netscape 4.x is an old browser. It has many bugs (see, for example, Netscape CSS bugs, Netscape 4.x: Web Designer's worst nightmare, or why Netscape 4.x sucks) but I still use it, mainly because I am reluctunt to "change a running system" and I always see a difficulty as a challenge to resolve it. This was the case with the well-known problem of Netscape 4.x not printing the background colours of tables. Now, what if you have a nice table, whose groups of lines are coloured to convey some information about those groups?
Forget printing in colour - it will not work. A solution is to capture the screen as an image and print that image instead. This works as long as the table is small enough to fit on the screen - I had one that didn't.
Since I couldn't find an image capture tool for Linux that will let you scroll down and capture the whole page, I had to find some "HTML to PNG" (or HTML to JPEG, GIF or whatever) tool.
In fact, there is one: html2jpg. It converts HTML pages to images (gif, jpg, png, ps, etc..). It is a Perl script, ran from the command line. It requires
Perl,
convert, from ImageMagick,
xwininfo, xwd (standard Linux utilities),
Opera, otherwise you have to modify the find_window() function in the script.
The script is clearly written, but the last requirement poses a real problem - which I preferred not to solve.