DesktopPrintingSample
----------------------------------------------------------------------------
This sample demonstrates how to print an input document (XSL-FO, WordML, DOCX, etc.) to 
a printer installed in Control Panel.

To print duplex, use the "xf:printing-options" extension:

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0">
	<fo:layout-master-set>
		<fo:simple-page-master margin-right="20pt" margin-left="20pt" master-name="default-sequence" page-width="8.3in" page-height="11.7in">
			<fo:region-body region-name="xsl-region-body"/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="default-sequence">
		<xf:printing-options duplex="true"/>
		<fo:flow flow-name="xsl-region-body" font-size="12pt" font-family="Arial">
			<fo:block>
				first page
			</fo:block>
			<fo:block break-before="page">
				second page
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>


Build notes
----------------------------------------------------------------------------
For .NET applications that need to convert documents programatically, a reference should be added to 
Ecrion.Ultrascale.Desktop.dll

To running a conversion, call Engine.Render(). You should always specify 3 parameters:
- Input format
- Output format
- The BaseUrl used to compute location of images refered in your documents with relative paths.
 