Hi there, does anyone know how I could use a script, could be xml / html / vbascript or even a pascal type script and then use this info to print onto a printer canvas?

 

I’m not sure which script would be the best to use or how to do it.

 

The whole section below would be in a script file that the user could modify, and then the app to go through the script and send the appropriate text output to the printer.

 

//vba sample

if (Company <> "") then

            s = <p><b>"Company: "</b><font size="+2">Company</font></p>

else

            s = <p><b>"FullName: "</b><font size="+2">FullName</font></p>

end if

 

any ideas on the best way to go about this?

 

My ideal would also be that the same script could be used to generate a file that could be used for a word merge, I think I read somewhere that an xml doc can be used for word mail merges (word 97 up).

 

Jay

Reply via email to