OPALE - 10.0 - Utilisation

Convert PDF to PDF/A

De MappingDoc
Révision datée du 18 février 2020 à 17:11 par Jdieu (discussion | contributions) (Page créée avec « ===Example 2 - Convert a simple pdf file to a PDF/A2-b == »)
Autres langues :
English • ‎français

Introduction

The command MAPPDFA converts a PDF to a PDF/A (Compatible PDF/A-1b, PDF/A-2b, PDF/A-3b)

Prerequistes

This command is not included with the basic installation. A separated install package needed to be installed. When executing MAPPDFA, the MAPPING library must be online. (edtlibl)

The pdf input file must not contain licensed fonts. If so, the output file will contain dots instead of the actually text.

It is also recommanded not to have annotations and UTF16BE fonts inside the input PDF.

Installation

The setup in made of SAVF containing the program and the MAPPDFA command. Those 2 objects are restored in the library. (This library can be the Mapping program library)

The MAPPDFA program uses the PASE version for IBMi of GhostScript. The GhostScript program must be installed in the bin directory of the mapping folder of the IFS.

Utilisation

=Example 1 - Convert a simple pdf file to a PDF/A

MAPPDFA INFILE('/home/mapping/simple_pdf.pdf') TYPE(*PDFA1) OUTFILE('/home/mapping/pdfa1_pdf.pdf')

=Example 2 - Convert a simple pdf file to a PDF/A2-b

MAPPDFA INFILE('/home/mapping/simple_pdf.pdf') TYPE(*PDFA2) OUTFILE('/home/mapping/pdfa2_pdf.pdf')

Exemple 3 - Conversion du fichier simple_pdf.pdf en PDFA3

MAPPDFA INFILE('/home/mapping/simple_pdf.pdf') TYPE(*PDFA2) OUTFILE('/home/mapping/pdfa3_pdf.pdf')