pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Ziel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PDFBOX-4399) Printing invisible Content from PDF-Forms
Date Thu, 06 Dec 2018 13:51:00 GMT

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

Stefan Ziel updated PDFBOX-4399:
--------------------------------
    Description: 
Printing PDF-documents with macro  [^original.pdf]  renders hidden content  [^printed.pdf]
. Code used to print

{code:java}
InputStream sourceStream = new FileInputStream(pFile);
try {
  PDDocument source = PDDocument.load(sourceStream);
  job.setPageable(new PDFPageable(source));
  job.print(atts);
} finally {
  sourceStream.close();
}
{code}

This is not only a problem of PDFBox ;) but can be done right ... ghostscript does it.

  was:
Printing PDF-documents with macro renders hidden content.

{code:java}
InputStream sourceStream = new FileInputStream(pFile);
try {
  PDDocument source = PDDocument.load(sourceStream);
  job.setPageable(new PDFPageable(source));
  job.print(atts);
} finally {
  sourceStream.close();
}
{code}


> Printing invisible Content from PDF-Forms 
> ------------------------------------------
>
>                 Key: PDFBOX-4399
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4399
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm, Rendering
>    Affects Versions: 2.0.6
>            Reporter: Stefan Ziel
>            Priority: Major
>         Attachments: original.pdf, printed.pdf
>
>
> Printing PDF-documents with macro  [^original.pdf]  renders hidden content  [^printed.pdf]
. Code used to print
> {code:java}
> InputStream sourceStream = new FileInputStream(pFile);
> try {
>   PDDocument source = PDDocument.load(sourceStream);
>   job.setPageable(new PDFPageable(source));
>   job.print(atts);
> } finally {
>   sourceStream.close();
> }
> {code}
> This is not only a problem of PDFBox ;) but can be done right ... ghostscript does it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message