#1387·pdf-lib

pdfs with flattened forms can't be printed in Adobe Reader or Acrobat

Author: morleytatroCreated Jan 31, 2023Updated May 19, 2026
Labelsbugneeds-triage

What were you trying to do?

Print a pdf flattened with pdf-lib.

How did you attempt to do it?

Open the file in Adobe Reader or Acrobat, and click cmd/ctl + P.

What actually happened?

Two successive errors popped up:

  • The document could not be printed.
  • There were no pages selected to print.

What did you expect to happen?

The pages to print.

How can we reproduce the issue?

Download the flattened form here by clicking the button: https://jsfiddle.net/Hopding/skevywdz/2/

Open the file in either Adobe Reader or Adobe Acrobat and print it.

Version

1.17.1

What environment are you running pdf-lib in?

Browser, Node

Checklist

  • My report includes a Short, Self Contained, Correct (Compilable) Example.
  • I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes

Tested in Acrobat DC Pro 2022.002.20191 on Mac OS 13.0.1

Screenshot 2023-01-31 at 2 16 15 PM