Reputation: 30895
what is the best way ( if there is any ) in java to convert html with css2 support to postscript file ?
Upvotes: 0
Views: 2545
Reputation: 39055
Are you on linux? If so your best bet might be to first convert to pdf, and then use the command line utilty pdf2ps. According to this question iText does html to pdf, although the CSS support may not be great.
pdf2ps
Upvotes: 2
Reputation: 76181
I think your best bet is iText which is a java library with support for direct HTML to PDF translation.