Can we set the display layout using wkhtmltopdf.exe for pdf

I use wkhtmltopdf.exe to create PDF files and its work. Now I have a requirement to install Display Layout (Single Page view, Two Page View) to open it in Adobe Reader. I can not find it in the documentation. I wanted to be sure that either this is not possible, or we have any settings for the same.

Please inform.

+4
source share
2 answers

This is not possible with wkhtmltopdf. This tool only converts your HTML to standard PDF.

, , - , , , PDF. , PDF:: API2 Perl ( ).

PDF.

:

-fullscreen

    Full-screen mode, with no menu bar, window controls, or any other window visible.
-thumbs

    Thumbnail images visible.
-outlines

    Document outline visible.


Page Layout Options:

-singlepage

    Display one page at a time.
-onecolumn

    Display the pages in one column.
-twocolumnleft

    Display the pages in two columns, with oddnumbered pages on the left.
-twocolumnright

    Display the pages in two columns, with oddnumbered pages on the right.

.

+3

, QT. , ( ) PDF .

+1

Source: https://habr.com/ru/post/1534371/


All Articles