Activation PDF-a

De MappingDoc

1) calling the parameter "-param:pdfa=on" when running the map_xps command:

a) MAPCPYSPLF SPLF(*NONE) MAPNAM(SASTMULT) MAPSEQ(00010) TYPLAN(*xps) XPSCONVERT(*XPS) XPSOUTFILE('/home/client/KN/KMSTEML.xps') INFILE('/home/client/KN/KMSTEML.xml') b) CALL PGM(MAP400/MAP_XPS) PARM('-infile:/home/client/KN/KMSTEML.xps' '-o utfile:/home/client/KN/KMSTEMM.pdf' '-param:pdfa=on' '-toPDF')

2) "<pdfa>on</pdfa>" parameter is specified in the XPSConfig.conf It is also possible using one MAPCPYSPLF command if you modify XPSCONFIG.CONF:

Note: in XPSCONFIG.CONF do not use the symbol '*' for <PDF> Then, just like this:

<PDF> <label>DO NOT MODIFY - standard PDF</label> <language>PDF</language> <embeddedfont>ON</embeddedfont> <imageresource>ON</imageresource> <pdfa>on</pdfa> </PDF>

My command was ===> MAPCPYSPLF SPLF(*NONE) MAPNAM(SASTMULT) MAPSEQ(00010) TYPLAN(*XPS) XPSCONVERT(PDF) XPSOUTFILE('/home/client/KN/KMSTEEE.pdf') INFILE('/home/client/KN/KMSTEML.xml')