---
title: "Comment by Lakhyajit Changmai on \"Invoices, Tickets and Reports: Generate, View and Print PDFs From One Java Codebase\" | Hashnode"
description: "The shared code path is attractive, and the cross-platform screenshot checks are a useful safeguard. For PDF regressions, I’d also vary fonts and locale in the"
url: "https://hashnode.com/posts/invoices-tickets-and-reports-generate-view-and-print-pdfs-from-one-java-codebase/6b0ccad46b2dcc9d59c1b7f7/comment/6b0d0d068907b672b83bf030"
---

[Discussion](https://hashnode.com/posts/invoices-tickets-and-reports-generate-view-and-print-pdfs-from-one-java-codebase/6b0ccad46b2dcc9d59c1b7f7)

Comment [Invoices, Tickets and Reports: Generate, View and Print PDFs From One Java Codebase](https://hashnode.com/posts/invoices-tickets-and-reports-generate-view-and-print-pdfs-from-one-java-codebase/6b0ccad46b2dcc9d59c1b7f7)

[Lakhyajit Changmai](https://hashnode.com/@lakhyajit)

[3d ago](https://hashnode.com/posts/invoices-tickets-and-reports-generate-view-and-print-pdfs-from-one-java-codebase/6b0ccad46b2dcc9d59c1b7f7/comment/6b0d0d068907b672b83bf030)

The shared code path is attractive, and the cross-platform screenshot checks are a useful safeguard. For PDF regressions, I’d also vary fonts and locale in the fixtures and test actual print output; matching viewer renders do not always guarantee the print pipeline behaves the same way.
