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 2014/05/27 09:16:02 UTC
[jira] [Commented] (PDFBOX-2094) Could you please implement the
silentPrint() to accept printRequestAttributeSet as parameter. This is a
helpfull functionality.
[ https://issues.apache.org/jira/browse/PDFBOX-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009358#comment-14009358 ]
John Hewson commented on PDFBOX-2094:
-------------------------------------
You don't have to use silentPrint() you can do you own custom printing using PDPageable.
{code}
PDDocument document = <whatever>
PrinterJob job = PrinterJob.getPrinterJob();
PrintRequestAttributeSet attrs = new HashPrintRequestAttributeSet();
job.setPageable(new PDPageable(document, job));
if (job.printDialog(attrs))
{
job.print(attrs);
}
{code}
> 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)