Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request: default setannotflags={print} #43

Open
j-hap opened this issue Jan 7, 2023 · 2 comments
Open

request: default setannotflags={print} #43

j-hap opened this issue Jan 7, 2023 · 2 comments

Comments

@j-hap
Copy link

j-hap commented Jan 7, 2023

I just finished a form with l3pdffield-testphase. If one wants to protect further editing, one can either protect the editing functions with a password (which the FF pdfviewer gladly ignores (see mozilla/pdf.js#14356)) or print the form to a new PDF file. Unfortunately the pdffields created by l3pdffield-testphase are set to be visible, but unprintable by default.

grafik

When one creates a form in Adobe Acrobat, the form elements are visible and printable by default. IMHO l3pdffields should do the same and add print as a default annotation flag.

@u-fischer
Copy link
Member

the Print flag is not set by default. You can set it for a field or for a type of fields e.g. with \pdffield_setup:n{preset-textfield={setF=Print}}. If you use a A-standard, e.g. with pdfstandard=a-2b in \DocumentMetadata the print flag will be forced too.

@j-hap
Copy link
Author

j-hap commented Jan 8, 2023

That's what I did of course. This issue was only ment as a feedback. The \ChoiceMenu from hyperref has the print flag set by default, Acrobat sets it be default when creating a form so I just think l3pdffields should set it as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants