I am working on a VB.NET (2.0) windows application.
Currently, the application allows you to pick a respondent, click on their name - on the click event, a formatted XML file is presented in the browser (IE6) with their details. From IE the client can print the XML document. Everything works fine.
New requirement - the client wants to print a batch of these documents without having to open up an instance of IE for each one.
I tried printing the XML directly from my VB code but of course that doesn't work because the printer can't interpret the XML (the print-out contains all the XML tags and it's not formatted).
I was thinking of trying to convert the XML document to Word and then printing that or trying to open IE and send a print command. I haven't tried either yet because I am convinced there is an easier way to do it.
Any suggestions?
Currently, the application allows you to pick a respondent, click on their name - on the click event, a formatted XML file is presented in the browser (IE6) with their details. From IE the client can print the XML document. Everything works fine.
New requirement - the client wants to print a batch of these documents without having to open up an instance of IE for each one.
I tried printing the XML directly from my VB code but of course that doesn't work because the printer can't interpret the XML (the print-out contains all the XML tags and it's not formatted).
I was thinking of trying to convert the XML document to Word and then printing that or trying to open IE and send a print command. I haven't tried either yet because I am convinced there is an easier way to do it.
Any suggestions?