The flag is there for sure. I will debug and let you know.

In the meantime... have a merry Christmas,
Constantine
--
There is a computer disease that anybody who works with computers knows
about. It's a very serious disease and it interferes completely with the
work. The trouble with computers is that you 'play' with them!
- Richard P. Feynman


On Thu, Dec 23, 2021 at 8:39 PM Tilman Hausherr <thaush...@t-online.de>
wrote:

> Then you'll have to debug it yourself. The code below is from
> PageDrawer.java, set a breakpoint there, and tell what happens.
>
> Alternatively, try to create a non confidential file with the same problem.
>
> Or inspect the file with PDFDebugger to see whether the flag is really set.
>
> Tilman
>
> Am 23.12.2021 um 19:19 schrieb Constantine Dokolas:
> > Unfortunately I can't share the PDF :(
> >
> > Constantine
> >
> > --
> > There is a computer disease that anybody who works with computers knows
> > about. It's a very serious disease and it interferes completely with the
> > work. The trouble with computers is that you 'play' with them!
> > - Richard P. Feynman
> >
> >
> > On Thu, Dec 23, 2021 at 6:57 PM Tilman Hausherr <thaush...@t-online.de>
> > wrote:
> >
> >> Behavior is not correct, we do catch this case:
> >>
> >>           if (deviceType == GraphicsDevice.TYPE_PRINTER &&
> >> !annotation.isPrinted())
> >>           {
> >>               return;
> >>           }
> >>
> >> Please create an issue in JIRA with the PDF file.
> >>
> >> Tilman
> >>
> >> Am 23.12.2021 um 15:02 schrieb Constantine Dokolas:
> >>> I have a PDF that contains button widgets with the "Print" flag being
> >>> false. When rendering using the PRINT RenderDestination, the button is
> >> not
> >>> removed. Adobe Acrobat does not print the buttons.
> >>>
> >>> Is this behavior correct? I'm using PDFBox v2.0.24.
> >>>
> >>> Thanks again,
> >>> Constantine
> >>>
> >>> --
> >>> There is a computer disease that anybody who works with computers knows
> >>> about. It's a very serious disease and it interferes completely with
> the
> >>> work. The trouble with computers is that you 'play' with them!
> >>> - Richard P. Feynman
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> >> For additional commands, e-mail: users-h...@pdfbox.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>

Reply via email to