Print to XPS file and open browser

I

Igor

Hello,

I am trying to to automatically print to an XPS file and open up the browser
with that file, but something is not working correctly. Here is some of my
code:

PrintToFile = true;
FileName = "C:\temp\test.xps";
wordApp.ActivePrinter = "Microsoft XPS Document Writer";

wordApp.Printout(......);

Any ideas on how to do this?

Thanks,
Igor
 
Top