hello Roger
How can I print an XML or HTML document
How can I print an XML or HTML document
How can I print an XML or HTML document
Nolberto Paulino
Regards
Regards
Re: How can I print an XML or HTML document
Hi,
The following should work.
The following should work.
Code: Select all
DllCall( "Shell32.dll" , DLL_STDCALL, "ShellExecuteA", 0, "print", "your file", Chr(0), Chr(0), 3 )
Re: How can I print an XML or HTML document
Would do for html, but not xml unless xml has embedded link to xlst and default browser would allow transformation.
For xml you need to convert it into table of sort with xlst (style sheet definition) to get html and then print it.
You can of course do that manually too.
https://www.w3schools.com/xml/xsl_intro.asp
https://learn.microsoft.com/en-us/visua ... ew=vs-2022
xml to html via xlst is one of ways how e-invoice visualisation without PDF is done
For xml you need to convert it into table of sort with xlst (style sheet definition) to get html and then print it.
You can of course do that manually too.
https://www.w3schools.com/xml/xsl_intro.asp
https://learn.microsoft.com/en-us/visua ... ew=vs-2022
xml to html via xlst is one of ways how e-invoice visualisation without PDF is done
skiman wrote: ↑Tue Jul 02, 2024 11:47 pm Hi,
The following should work.
Code: Select all
DllCall( "Shell32.dll" , DLL_STDCALL, "ShellExecuteA", 0, "print", "your file", Chr(0), Chr(0), 3 )