Convert HTML to PDF, XPS, Markdown, XHTML, MHTML and Images with few lines of code via Aspose.HTML for Java library....specific settings and a for rendering to output file. HTML to PDF... margins, file permissions, CSS media-type, etc use the PdfSaveOptions...