I am on a SpringBoot project which prints PDF, and I wanted to do a mini-POC on my own to realize how simple can it be.
―It then converts to a base64 string (typically to then send into a JSON).
So it can run on Windows or Unix-like OS.
You launch the app by running the main of the class PDFPrinter.
it outputs the base64 in the console of your IDE.