Removes JavaScript print commands from a PDF file.
PDF files generated by Reckon Hosted contain the following compressed JavaScript object which attempts to automatically force the PDF client to open a print dialog.
this.print({bUI: false, bSilent: true, bShrinkToFit: true});
This is a drag and drop web app which attempts to remove this behaviour, by removing this JavaScript code.
https://pdf-clean-up.gock.net/
Install pnpm
npm install -g pnpm
Install dependencies
pnpm install
Start development server. Navigate to localhost:8080
pnpm dev
Build for production into public/
. Bundled files end up in public/build/
pnpm build
If required, use the following Netlify build command
pnpm build || ( npm install pnpm && pnpm build )