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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top