This document function defines in a template which paper should be used for which page when printing the document. The user can also select different options in the document, e.g. "Logo on/off", Draft on/off" or whether it is a multiple letter or not.
With the help of the configuration the settings can be read and applied from the printer dialog.
Configuration
<?xml version="1.0"?>
<Configuration>
<Logo>FromDocument</Logo>
<Draft>FromDocument</Draft>
<VectorSignature>FromDocument</VectorSignature>
<Fax>FromDocument</Fax>
<Campaign>FromDocument</Campaign>
<Color>FromDocument</Color>
<!-- Each area in the document corresponds to the respective area in this configuration. "Id" is a designation/label and can be translated as follows -->
<Section Id="Dokument">
<PaperFirstPage>Normal</PaperFirstPage>
<Paper>Normal</Paper>
</Section>
</Configuration>
Possible values in the elements (from Logo
to Color
) are FromDocument
or On
:
- FromDocument → Settings are inherited from the document.
- On → option is enabled and thus overrides the setting in the document when printing.
Possible values for elements PaperFirstPage (first page) and Paper (subsequent pages):
- Logo → This page should use logo paper.
- Paper → This page should use normal paper.
Example
The first page should use logo paper, the following pages normal paper:
<PaperFirstPage>Logo</PaperFirstPage>
<Paper>Normal</Paper>