You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2016/03/25 18:12:25 UTC

[jira] [Closed] (PDFBOX-3282) Enable setting org.apache.pdfbox.printing.Scaling in PDFPageable

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

John Hewson closed PDFBOX-3282.
-------------------------------
    Resolution: Invalid

That's correct. In Java the purpose of a Pageable is to allow content to be printed at its "natural" dimensions. If you want to resize the content, you should be using  PDFPrintable. Alternatively you can use PDFPrintable with a [custom sized paper](https://github.com/apache/pdfbox/blob/24fd0a5f4587cf8ea9beba80ddf1360847932bcb/examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java#L125).

> Enable setting org.apache.pdfbox.printing.Scaling in PDFPageable
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-3282
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3282
>             Project: PDFBox
>          Issue Type: New Feature
>    Affects Versions: 2.0.0
>            Reporter: Martin Withake
>
> In PDFPageable, the scaling is set fixed to Scaling.ACTUAL_SIZE (in getPrintable) and could not be changed. I would like to set this Scaling to something different without completly reimplementing PDFPageable.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org