Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

html to ps

Thread view: 
qwer - 15 Apr 2006 19:01 GMT
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.
Roedy Green - 15 Apr 2006 22:39 GMT
>I can use JEditorPane to convert html to image, but I don't know how save it
>as ps file.

see http://mindprod.com/jgloss/printing.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Gerbrand van Dieijen - 16 Apr 2006 10:51 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.