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

Cornelis Hoeflake updated PDFBOX-2051:
--------------------------------------

    Attachment: pageable-patch.diff

Please see attached patch file which uses getPageable()

> PDFPrinter does not use getPageable()
> -------------------------------------
>
>                 Key: PDFBOX-2051
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2051
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.0
>            Reporter: Cornelis Hoeflake
>             Fix For: 2.0.0
>
>         Attachments: pageable-patch.diff
>
>
> The print method (print(PrinterJob job, boolean isSilent)) does not use the 
> getPageable() method, but constructs a PDFPageable directly.
> I think it is better to use that method and is very helpful when someone 
> wants to extend the PDFPrinter and PDFPageable to do some custom behaviour.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to