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

Document - print not working for PDF documents #38

Open
duplomatic-anava opened this issue Dec 11, 2019 · 1 comment
Open

Document - print not working for PDF documents #38

duplomatic-anava opened this issue Dec 11, 2019 · 1 comment

Comments

@duplomatic-anava
Copy link

If a PDF is stored in the Documents, the print button generates an empty page.

I see here we are concatenating:
byteString = b"data:application/pdf;base64," + base64.b64encode(documentContent[0])

but I think this function should be only used for PDFs generated during the upload of 2D drawings.

Please correct me if I am wrong. I am willing to help if you point me in the right direction.

Alessio

@duplomatic-anava
Copy link
Author

@OmniaGit any update on this?

Thanks!

Alessio

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

1 participant