You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a layer has been deactivated, I also expect that it will not be printed.
What went wrong?
`There is a PDF feature, which are called "layers". I see this as an advantage, that Firefox supports those, and also supports enabling / disabling (set visibility) them when a PDF file is opened in the browser itself.
However, when someone want to print this file (with some layers enabled and some disabled), it would always print everything (all layers enabled / set to visible), therefore it would be good, if the current layer settings would be also applied when someone prints the document.`
Link to a viewer
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Note: As mention in the issue template, please actually attach the PDF file under this heading (and not a screen-shot).
As mentioned in #17726 (comment), see the third point, this isn't entirely trivial to implement since we also need to take the Usage dictionary into account when printing.
Just a COMMENT that for PDF there are separate yet inter-related layer control FLAGS for print and view here is the OP file correctly set for layer "no print" Test (hiden print layer).pdf
Viewer control On Off is as expected. Shown by the layer controls
BOTH LAYERS ON but print flag OFF in PDF works as per standards the no print layer is correctly not printed by PDF.js
Attach (recommended) or Link to PDF file
Test.pdf
Web browser and its version
Firefox
Operating system and its version
every
PDF.js version
every
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
User essigwurst discovered the error:
https://connect.mozilla.org/t5/ideas/built-in-pdf-editor-layer-visibility-on-printing/idi-p/57362
What is the expected behavior?
If a layer has been deactivated, I also expect that it will not be printed.
What went wrong?
`There is a PDF feature, which are called "layers". I see this as an advantage, that Firefox supports those, and also supports enabling / disabling (set visibility) them when a PDF file is opened in the browser itself.
However, when someone want to print this file (with some layers enabled and some disabled), it would always print everything (all layers enabled / set to visible), therefore it would be good, if the current layer settings would be also applied when someone prints the document.`
Link to a viewer
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: