Skip to content

Document - print not working for PDF documents #38

@duplomatic-anava

Description

@duplomatic-anava

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions