Menu

Booklet mode while printing

Help
2015-10-21
2019-03-27
  • Bhanu Pratap

    Bhanu Pratap - 2015-10-21

    Hi,

    I am creating PDF with enabled Booklet mode. I want to selected "Booklet" mode by default while printing. Is there any a way to achieve this?

     
  • Simon

    Simon - 2015-10-26

    Here is an example of what I use when creating booklets:

    $preferences = array(
        'FitWindow' => true,
        'DisplayDocTitle' => true,
        'PrintScaling' => 'None', // None, AppDefault
        'Duplex' => 'DuplexFlipLongEdge', // Simplex, DuplexFlipShortEdge, DuplexFlipLongEdge
        'PickTrayByPDFSize' => true,
    );
    $pdf->setViewerPreferences($preferences);
    $pdf->SetDisplayMode('fullpage', 'TwoColumnRight');
    
     
  • Chris Toews

    Chris Toews - 2019-03-27

    Can anyone get Booklet printing to work anymore?
    The example booklet mode pdf seems to just show 4 individual pages:
    https://tcpdf.org/examples/example_040/
    I downloaded the PDF created on the example page, and it printed to 4 pages, if it were a booklet, it should show and print 2 pages.
    Is this feature broken, or am I missing something?

     
  • Simon

    Simon - 2019-03-27

    The booklet mode demo is for demoing margins that are different depending on whether it is a right or left hand page.

    I don't think there is a way to set booklet mode as the default print option.

    When I do booklets I create a source pdf and then create a booklet pdf from it by reimporting the pages and creating the layout.

     

Log in to post a comment.