[
https://issues.apache.org/jira/browse/PDFBOX-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010823#comment-14010823
]
senthuran edited comment on PDFBOX-2094 at 5/28/14 7:30 AM:
------------------------------------------------------------
Thanks John. In the new implementation PDFBox removed the PDPageable class and
they have implemented setPageable() method in PDFPrinter class also PDPageable
have a method to print a PDF file. If there is an implementation in PDFBox
class silentPrint() method to accept printRequestAttributeSet as parameter, it
will be more helpful for developers. I have implemented the code same as your
code. But I faced few issues while printing the document such as rendering the
page and font.
When I print the PDF as shown below I haven’t face any rendering the page and
font issue.
“new PDFPrinter(document, Scaling.ACTUAL_SIZE, Orientation.AUTO).silentPrint();”
The only issue I faceed here is unable to set the printRequestAttributeSet
was (Author: stacktome):
Thanks John. In the new implementation PDFBox removed the PDPageable class and
they have implement setPageable() in PDFPrinter class also PDPageable have a
method to print a PDF file. If PDFBox implement the silentPrint() to accept
printRequestAttributeSet as parameter, it will be more helpful for developers.
I have implement the code same as your code. But I faced few issues while
printing the document such as rendering the page and font.
When I print the PDF as shown below I haven’t face any rendering the page and
font issue.
“new PDFPrinter(document, Scaling.ACTUAL_SIZE, Orientation.AUTO).silentPrint();”
The only issue I face here is unable to set the printRequestAttributeSet
> Could you please implement the silentPrint() to accept
> printRequestAttributeSet as parameter. This is a helpfull functionality.
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-2094
> URL: https://issues.apache.org/jira/browse/PDFBOX-2094
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 1.8.5
> Reporter: senthuran
> Priority: Minor
>
> The current implementation is not allow us to set the printer , paper
> Attribute. Could you please implement the silentPrint() to accept
> printRequestAttributeSet as parameter.
--
This message was sent by Atlassian JIRA
(v6.2#6252)