[ 
https://issues.apache.org/jira/browse/PDFBOX-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212101#comment-15212101
 ] 

John Hewson edited comment on PDFBOX-3282 at 3/25/16 5:12 PM:
--------------------------------------------------------------

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].


was (Author: jahewson):
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-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to