OPALE - 10.0 - Utilisation - Conversion PDF vers PDFA/en
Différence entre versions
(Mise à jour pour être en accord avec la nouvelle version de la source de la page) |
(Page créée avec « ==Settings== ===Introduction=== From MAPPDFA V1.1.1, it is possible to behave on an error message. In Version V1.1.1, it is possible to convert the font in vectorial. ===D... ») |
||
Ligne 25 : | Ligne 25 : | ||
The program is then installed in the destination lib as well as the resources in the xxx/mapping/bin and xxx/mapping/conf folders | The program is then installed in the destination lib as well as the resources in the xxx/mapping/bin and xxx/mapping/conf folders | ||
− | == | + | ==Settings== |
− | === | + | ===Introduction=== |
− | + | From MAPPDFA V1.1.1, it is possible to behave on an error message. | |
− | + | In Version V1.1.1, it is possible to convert the font in vectorial. | |
− | === | + | ===Details=== |
− | + | The list of error messages to catch is in the following file : | |
xxx/mapping/conf/gserror.txt | xxx/mapping/conf/gserror.txt |
Version du 18 mars 2020 à 10:37
Sommaire
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.
The libstdc++ library must be installed on the server prior to installing MAPPDFA
Installation
The setup in made of a SAVF containing the resources needed, the program and the MAPPDFA command. it needs to be restored in the QTEMP lib.
RSTOBJ OBJ(*ALL) SAVLIB(QTEMP) DEV(*SAVF) SAVF(QGPL/MAPPDFA) RSTLIB(QTEMP)
Then Execute the install : INSTALL + F4
Library destination : Lib where you will install the prog and command
Mapping Path : IFS mapping path folder (same path as the one defined in your configuration of your Mapping env Example : /home/mapping)
The program is then installed in the destination lib as well as the resources in the xxx/mapping/bin and xxx/mapping/conf folders
Settings
Introduction
From MAPPDFA V1.1.1, it is possible to behave on an error message. In Version V1.1.1, it is possible to convert the font in vectorial.
Details
The list of error messages to catch is in the following file :
xxx/mapping/conf/gserror.txt
Voici sa structure :
cannot be embedded because of licensing restrictions=vectorize_fonts
A font missing from the input PDF has been substituted=vectorize_fonts
- Si on obtient un message d'erreur content : cannot be embedded because of licensing restrictions ALORS on vectorise les polices
- Si on obtient un message d'erreur content : A font missing from the input PDF has been substituted=vectorize_fonts ALORS on vectorise les polices
Utilization
Example 1 - Conversion of a simple pdf to PDFA/1-b
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')
Example 3 - Convert a simple pdf file to a PDF/A3-b
MAPPDFA INFILE('/home/mapping/simple_pdf.pdf') TYPE(*PDFA2) OUTFILE('/home/mapping/pdfa3_pdf.pdf')