[ 
https://issues.apache.org/jira/browse/PDFBOX-2928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler resolved PDFBOX-2928.
----------------------------------------
    Resolution: Fixed

It's not the constructor but the append method. The one with two parameters 
just appends the first page. I've change the example as proposed so that all 
pages will be appended.

Thanks for the hint!

> Add numPages parameter of Book in Printing.printWithPaper example
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-2928
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2928
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.0
>            Reporter: Pei-Tang Huang
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>              Labels: Example
>             Fix For: 2.0.0
>
>
> {{Book}} has a constructor taking 3 parameters, is it OK to use this one in 
> {{Printing.printWithPapaer}}?
> I found the current usage of Book will cause all pages but the first one been 
> omitted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to