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

FPDF-Merge Error: Object streams are not supported #57

Open
ntrimg opened this issue Apr 21, 2022 · 2 comments
Open

FPDF-Merge Error: Object streams are not supported #57

ntrimg opened this issue Apr 21, 2022 · 2 comments

Comments

@ntrimg
Copy link

ntrimg commented Apr 21, 2022

I took an existing pdf with various fields, converted it in Acrobat so the fields will allow input, and then I tested it out. But I'm getting this error now: FPDF-Merge Error: Object streams are not supported

The test worked fine with the template.pdf that was provided in the code. And when I look at the template.pdf in Acrobat, I can't see what the difference between the two .pdfs are.

@ntrimg
Copy link
Author

ntrimg commented Apr 22, 2022

Just to add to this:

I opened the template.pdf file in Acrobat, saved it under a different name, and this resulted in the same error message. So, is there a certain way the pdf needs to be saved?

@silviafrediani
Copy link

You must save the PDF document in the Pro version of PDFTK ( https://www.pdflabs.com/tools/pdftk-pro/ )

Under Advanced settings you must put in Advanced Output Options: %PDFTK% %PDFIN% output %PDFOUT%

See screenshot on last post of this page: https://stackoverflow.com/questions/43535455/fpdf-merge-error-number-of-objects-22-differs-with-number-of-xrefs-23-some

Add PDF > Enable Advanced Output Options > Create PDF

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