karuppiah7890 / easy-pdf-merge

An npm module to merge PDFs. https://www.npmjs.com/package/easy-pdf-merge [ CURRENTLY NOT MAINTAINED ]
85 stars 37 forks source link

Change pagesize or other PDFBox settings #18

Open billiaug opened 5 years ago

billiaug commented 5 years ago

Hi

It's unclear how to change the pagesize or how to inject PDFBox options. For example: https://stackoverflow.com/questions/3134346/pdfbox-setting-a5-page-size

Thanks

karuppiah7890 commented 5 years ago

@billiaug I don't see PDFMerger command taking any options in the command line tool. It just takes input files and an output file name. But I did see the page size option in TextToPDF command

Can I know what you are trying to achieve? Is it like merging PDFs and changing page size too?

billiaug commented 5 years ago

@karuppiah7890

I'm merging a bunch of A6 paper formatted pdf's. The outcome is a nice merged PDF, but each A6 page is now converted to a A4 where the A6 is placed in the left-top corner. I assume the default paper size is A4, so I was looking if can overwrite this to A6.

dardoschuster commented 4 years ago

Hi I am trying to merge two half size pdf and make one pdf with only one page Can y do it ??? Thanks

karuppiah7890 commented 4 years ago

@dardoschuster Not sure, I haven't tried it before with PDFBox