HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: html to Postscript.....



On  8 May, Andreas Kostyrka wrote:
> On Mon, May 08, 2000 at 06:15:37AM +0200, Peter Stamfest wrote:
>> On Sun, 7 May 2000, Brendin Emslie wrote:
>> 
>> > Hi,
>> > 
>> > I have used html2ps and htmldoc to convert HTML to Postscript.  html2ps
>> > works better thatn htmldoc but neither work as good as loading the page in
>> > netscape and saving it as postscript.  Is it possible to save an html file
>> > as a postscript file using netscape on the command line?  Can anyone suggest
>> 
>> http://home.netscape.com/newsref/std/x-remote.php
>> 
>> But last time I checked, you needed to have netscape running in
>> interactive mode. The -remote commandline switch wants to contact an
>> already running netscape. 
> Well, one could write a queue system, that would reuse one netscape instance.
> Additionally the Framebuffer X server might be a nice idea.
> One problem with this that I see is, that you cannot be sure when the page is
> really loaded. (Perhaps I've overlooked something.) One way to monitor this
> might be writing a monitoring proxy server, so you can monitor if netscape is
> still activly loading something.

Hm..  Just  musing....

What about netscape running on a vnc server (X version of screen).  It
just runs there, and you can feed netscape the -remote commands.  If
you can "make" the html page you give the remote command to, you could
include a javascript onload that could doe stuff (load a new page in a
new window - whatever) to trigger the "completeness" of the page
loading...

Netscape (at least navigator for Linux) does produce very nice
postscript code.  It's even readable...

a.

-- 
Aidan Van Dyk                                        Create like a god,
aidan@highrise.ca                                  command like a king,
http://www.highrise.ca/                              work like a slave.

   |\^/|       |\^/|       |\^/|       |\^/|       |\^/|       |\^/|
_|\|   |/|_ _|\|   |/|_ _|\|   |/|_ _|\|   |/|_ _|\|   |/|_ _|\|   |/|_
>    C    < >    a    < >    n    < >    a    < >    d    < >    a    <
 >_./|\._<   >_./|\._<   >_./|\._<   >_./|\._<   >_./|\._<   >_./|\._<




Project hosted by iFAX Solutions