html to ps

Q

qwer

I write client application to hylafax. Hylafax can send only ps (postscript)
files (am I wrong). My program recives html files (from www application) to
send. How could I convert html file to ps?
I can use JEditorPane to convert html to image, but I don't know how save it
as ps file.
Somebody could help me? This is important for me.
 
G

Gerbrand van Dieijen

qwer schreef:
I write client application to hylafax. Hylafax can send only ps (postscript)
files (am I wrong). My program recives html files (from www application) to
send. How could I convert html file to ps?
I can use JEditorPane to convert html to image, but I don't know how save it
as ps file.
Somebody could help me? This is important for me.


The easiest way is using a commandline linux/unix utility. If the
hylafax server runs under Windows (don't know if that is even possible),
you could use Cygwin.
I don't know a utitiy by name, but after very shortly searching on
freshmeat I found:
http://freshmeat.net/projects/htmldoc/
The program can be launched batch (command-line) so I think it's useful.

I would urge not to reinvent the wheel yourself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top