Using the XPS Object Model to Print SUMMARY ======= The XpsOMPrint sample is a simple utility which demonstrates use of the XPS Object Model with the XPS Print API to programmatically create and print an XPS document. MORE INFORMATION ================ Usage ----- XpsOMPrint.exe is a console application. It takes as the first argument the name of the printer to print to. It has an optional second argument which specifies the output file; if not specified, the document will be printed to the device.