ZUGFeRD/quba-viewer

Print to PDF greyed out

Opened this issue · 3 comments

When opening an XML / UBL Format all works fine.
Thanks for the great work !

It would be perfect to print the XML Viewer to a PDF document.
Peppol TEST

Thanks for the feedback !
I understand this is not an easy job to print XML to PDF.

But a good work around would be to just add a PRINT option to a local printer device.

JavaScript it would be this command if I am correct : window.print()

In this case you can print to a virtual PDF printer and you don't have to add the feature in the software it self.
Windows for example has a print to PDF out of the box, not sure about Linux / MacOS.

thats the idea, if there is a PDF file print pdf should be enabled and should print the pdf and if there isnt you can print the html visualization of the xml