<How to convert Microsoft Office files to PDF whil...
# stackoverflow
r
How to convert Microsoft Office files to PDF while preserving the set print area? Currently, I'm using LibreOffice on the backend to convert files to PDF, but it doesn't maintain the set print area during conversion. I don't mind not using LibreOffice, so I would like to know a method to convert files to PDF while preserving the print area. I'm developing a web application, and here are the technologies I'm using: Front-end: TypeScript Back-end: Kotlin Infrastructure: AWS Current implementation: private fun pdfBuildCommand(userProfileDirectory: String,...