pdfjs icon indicating copy to clipboard operation
pdfjs copied to clipboard

Creating PDF with multiple orientation page

Open mathias22osterhagen22 opened this issue 4 years ago • 7 comments

Is it possible to produce PDF containing pages with different orientations?

Like this: image

mathias22osterhagen22 avatar Jun 17 '20 10:06 mathias22osterhagen22

This is currently not possible when creating a new PDF. When combining existing PDF, it should keep their original size and orientation, though (if not, it is a bug).

rkusa avatar Jun 30 '20 14:06 rkusa

Too bad, could this feature be added?

mathias22osterhagen22 avatar Jul 10 '20 07:07 mathias22osterhagen22

We can definitely keep the issue open, but I am afraid that I'll probably not add it myself anytime soon (I mainly focus my time on features that I need for my own use-case).

rkusa avatar Jul 10 '20 15:07 rkusa

No problem, thank you even

mathias22osterhagen22 avatar Jul 14 '20 07:07 mathias22osterhagen22

I would be keen to see this as a feature. Hopefully someone can assist.

jeslabbert avatar Sep 30 '20 13:09 jeslabbert

@jeslabbert and for the one that needs this feature absolutely, I found this package here : https://www.npmjs.com/package/jspdf allowing me to override the orientation of each page.

(sorry for the external link to a concurrent)

mathias22osterhagen22 avatar Nov 05 '20 08:11 mathias22osterhagen22

Don't worry about the link, everyone can/should use whatever solves their use-case best - especially since jsPDF has objectively a way bigger community and is a lot more active development-wise 👍

rkusa avatar Nov 05 '20 14:11 rkusa