ONYX - 9.0 - Utilisation

XPSConfig and conversion to PDF

De MappingDoc
Autres langues :
English • ‎français

Converting to PDF

This page explains how to use an XPS to PDF conversion profile to set the expected type of PDF output, electronic signature and the different protection options.

Language Tags

To set the conversion profile to produce PDF output, first add the Language tabs as shown:

<language>PDF</language>

PDF/A output

Use the tags below to enable PDF/A output:

<pdfa>on</pdfa>

The parameter is set to off by default

When <pdfa> is enabled, the next parameter is for which version of PDF/A you wish to use.

<pdfaversion>1b</pdfaversion>

Supported values include:

  • 1b (default, for PDF/A-1b)
  • 2b (for PDF/A-2b)
  • 2u (for PDF/A-2u)
  • 3b (for PDF/A-3b)


Electronic Signature

Use the tags below to enable electronic signature of PDF documents created with Mapping ONYX Server:

<signclass>3</signclass>
<signmode>FILENAME</signmode>
<signpassword>test</signpassword>
<signdriver>OPENSSL</signdriver>
<signsha1hash>3eb783643e522c81d1e34c1943e6f4163e9ad439</signsha1hash>
<signpemfile>C:\tmp\test.pem</signpemfile>
<signcerfile>C:\tmp\test.cer</signcerfile>
<signpfxfile>C:\tmp\valid.pfx</signpfxfile>
<timestampurl>http://servertemp.domain/tsp</timestampurl>

By default, the PDF documents produced using ONYX Server are not signed.


Protecting PDF Files

The tags below can be used to manage the supported protection settings for PDF files produced using ONYX Server:

<encryptmode>on</encryptmode>
<encryptuserpwd>mapadmin</encryptuserpwd>
<encryptownerpwd>********</encryptownerpwd>
<encryptallowall>on</encryptallowall>
<encryptallowprint>on</encryptallowprint>
<encryptallowmodify>on</encryptallowmodify>
<encryptallowdataextraction>on</encryptallowdataextraction>
<encryptallowcomment>on</encryptallowcomment>
<encryptallowsignature>on</encryptallowsignature>
<encryptallowaccessibility>on</encryptallowaccessibility>
<encryptallowassemble>on</encryptallowassemble>
<encryptallowhightlevel>on</encryptallowhightlevel>

By default, the PDF documents produced using ONYX Server are not protected.