Learn how to convert HTML to PDF in Java with Playwright and Thymeleaf templates. Build invoice PDFs with working code examples and configuration options.