Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDFTK - and the ability to change the default view

I have been merging PDFs using PDFTK with great success, the pages that are used to generate the pdf are set to 'click to show one page at a time' (basically the whole of the first page is displayed when the pdf opens, based on the height of the page).

however the generated pdf defaults back to filling the reader based on its width (not all the first page shows).

Do you know a way of controlling the view of the generated pdf? because I would prefer the whole page to be displayed based on its height?

Best regards

Daniel

like image 616
17 revs, 5 users 61% Avatar asked Oct 08 '10 13:10

17 revs, 5 users 61%


1 Answers

Daniel,

Thank you for your message. When using pdftk to assemble a new PDF from PDF pages or documents (via the cat operation), the new PDF does not have display settings. So the resulting PDF is displayed using the defaults set in your viewer's preferences. Pdftk doesn't have a means of setting the display mode, but I will add that to the feature wishlist. Meanwhile, you can change your Reader/Acrobat preferences to your preferred view mode as a workaround.

Regards-

Sid Steward

Pdftk Maintainer

like image 168
Sid Steward Avatar answered Nov 22 '22 07:11

Sid Steward