title: Programmatically render a LocalReport to XPS
body: <p>I'm trying to render a <a href="http://msdn.microsoft.com/en-us/library/ms255056%28v=vs.100%29.aspx" rel="nofollow noreferrer">LocalReport</a> to a XPS file, so I can print them from a Windows Service using the XPS Print API, as it is shown in <a href="http://www.aspose.com/docs/display/wordsnet/How+to++Print+a+Document+on+a+Server+via+the+XpsPrint+API" rel="nofollow noreferrer">this article</a>.</p>
  
  <p>The problem I find is that I cannot render a local report directly to XPS. Maybe I can render it to an image stream, and then embed that image into a manually created XPS, but I don't like that solution too much. </p>
  
  <p>I would really appreciate any advise about rendering a LocalReport to XPS.</p>