Print to PDF greyed out
audministrator opened this issue · 3 comments
audministrator commented
jstaerk commented
Hi, in next mustang we will probably have a xmltopdf, in a subsequent Version of mustangserver that may become an endpoint and in a subsequent Version of quba we could enable that functionality. Unfortunately a crucial intermediate step (xml:fo to pdf) is not yet directly available in Javascript...Am 05.07.2024 15:47 schrieb audministrator ***@***.***>:
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.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
audministrator commented
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.
jstaerk commented
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