ONYX - Utilisation - PCL(UTF8) to XPS/en
Différence entre versions
(Page créée avec « ==Introduction== By default, MAPPING handles as input file, only PCL file encoded in ANSI. However, it is possible to take-in PCL files encoded in UTF8 in order to convert... ») |
(Page créée avec « ==Settings== To force the input convertor to '''take-in a PCL encoded in UTF-8''', we must use the following tag in a -param parameter or in a conversion profile. ») |
||
Ligne 4 : | Ligne 4 : | ||
However, it is possible to take-in PCL files encoded in UTF8 in order to convert them into XPS, PDF or others. | However, it is possible to take-in PCL files encoded in UTF8 in order to convert them into XPS, PDF or others. | ||
− | == | + | ==Settings== |
− | + | To force the input convertor to '''take-in a PCL encoded in UTF-8''', we must use the following tag in a -param parameter or in a conversion profile. | |
<decodeutf8>ON</decodeutf8> | <decodeutf8>ON</decodeutf8> |
Version du 26 mai 2020 à 10:25
Sommaire
Introduction
By default, MAPPING handles as input file, only PCL file encoded in ANSI. However, it is possible to take-in PCL files encoded in UTF8 in order to convert them into XPS, PDF or others.
Settings
To force the input convertor to take-in a PCL encoded in UTF-8, we must use the following tag in a -param parameter or in a conversion profile.
<decodeutf8>ON</decodeutf8>
Ce paramètre est utilisé uniquement lors de la conversion fromPCL to XPS.
Il peut quand même être renseigné dans un profil toPDF
Exemples
Conversion d'un fichier PCL(UTF8) en XPS via un profil de conversion
<xps> <label>XPS</label> <language>XPS</language> <decodeutf8>ON</decodeutf8> </xps>
Exécution de la commande :
/apps/mapping/bin/map_xps "-fromPCL" "-toXPS" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-profile:xps"
Conversion d'un fichier PCL(UTF8)en XPS sans profil de conversion
Exécution de la commande :
/apps/mapping/bin/map_xps "-fromPCL" "-toXPS" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-param:decodeutf8=ON"
Conversion d'un fichier PCL(UTF8) en PDF via un profil de conversion
Afin d'éviter de passer par un profil de conversion en XPS puis en PDF, il est possible de mettre la valeur decodeutf8 à ON directement dans le profil de conversion PDF :
<pdf> <label>PDF</label> <language>PDF</language> <decodeutf8>ON</decodeutf8> </pdf>
Exécution de la commande :
/apps/mapping/bin/map_xps "-fromPCL" "-toXPS" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-profile:pdf"
Conversion d'un fichier PCL(UTF8)en PDF sans profil de conversion
Exécution de la commande :
/apps/mapping/bin/map_xps "-fromPCL" "-toPDF" "-infile:/apps/mapping/infile/infile.pcl" "-outfile:/apps/mapping/results/out/out.xps" "-param:decodeutf8=ON"