user63898
user63898

Reputation: 30895

what is the best way to convert html to postscript? in java

what is the best way ( if there is any ) in java to convert html with css2 support to postscript file ?

Upvotes: 0

Views: 2545

Answers (2)

Richard H
Richard H

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.

Upvotes: 2

daveb
daveb

Reputation: 76181

I think your best bet is iText which is a java library with support for direct HTML to PDF translation.

Upvotes: 0

Related Questions