Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I would like to start printing of a series of worksheets from an external Application. The external application was created to collect worksheets, force modifications and update them. The printout to XPS give the ability to insert content dependent header/footer. What I need now is the automated creation of such XPS outputs. This is normally done by printing to "XPS Document Writer" (Windows 7). The SDK does not have a interface for printing - not in the default automation dll. Is there any other dll or any other way to do this?
I haven't done much in Prime's API, but Mathcad 15 (& prior) had the following option for printing. If Prime has a similar option, you could change your default printer to the XPS Writer and call this.
PrintAll Method
The PrintAll method prints the entire Worksheet object, using the default printer.
Syntax
objMC.PrintAll
where objMC = A Mathcad application object.
There is no PrintAll method in the application object or worksheet object of Prime 3.1 SDK. Anyway no public interface.