[
https://issues.apache.org/jira/browse/PDFBOX-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14013334#comment-14013334
]
senthuran commented on PDFBOX-2094:
-----------------------------------
Thanks John and Tilman . I'm using the PDFBox snapshots for my implementation.
I have use AWT print() method to print PDF file with PDFBox snapshot version
pdfbox-app-2.0.0-20140509.193750-276.jar. PDFBox has been removed PDPageable
class after snapshot version pdfbox-app-2.0.0-20140509.193750-277.jar and add
a new class PDFPrinter. PDFPrinter class implement getPageable() method and
silentPrint() method. If i use PDFBox silentPrint() method to print a PDF file
i can able to print a pdf file. But I'm unable to set page range (E.g first
page to 3rd page) need print, which tray need to get paper from printer (E.g
TOP tray). But AWT print() method allows the user to set the
printRequestAttributeSet in print() method. So users can able to set the
printer(HW) and PDF file related attribute via printRequestAttributeSet. If
PDFBox also allows users to set the printRequestAttributeSet in silentPrint()
method. It'll be more helpful for a user.
> Add PrintRequestAttributeSet parameter to silentPrint()
> -------------------------------------------------------
>
> Key: PDFBOX-2094
> URL: https://issues.apache.org/jira/browse/PDFBOX-2094
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: senthuran
> Assignee: John Hewson
> 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. affected version from
> pdfbox-app-2.0.0-20140506.050443-277jar to
> pdfbox-app-2.0.0-20140506.050443-301jar .
--
This message was sent by Atlassian JIRA
(v6.2#6252)