OPALE - 10.0 - Usage
EXTRACT parameter
De MappingDoc
Révision datée du 21 juin 2019 à 10:11 par Alestoquoi (discussion | contributions) (Page créée avec « * To check if there is no issue with the PDF format, try to convert to PDF »)
The EXTRACT parameter of the MAP_XPS command:
- Run command MAPCPYSPLF:
MAPCPYSPLF SPLF(A00000080) SPLNUM(7) JOB(QPADEV000B) JOBNUM(384288) USER(JDIEU) MAPNAM(A00000080) MAPSEQ(*MRG) PAGEND(1) TYPLAN(*XPS) XPSOUTFILE('[%PATH%]/out.xps')
Outcome in the IFS: OUT.XPS
- Run command MAP_XPS :
CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-extract:[%PATH%]/out.txt' '-filter:CINQ' '-length:10'
- You should also use MAP_XPS to retrieve all indexes of the XPS file
CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-indexfile:[%PATH%]/outindex.txt' )
- To check if there is no issue with the PDF format, try to convert to PDF
CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-outfile:[%PATH%]/out_color.pdf' '-fromXPS' '-toPDF'
Pour envoyer vers l’imprimante : MAPXPS INFILE('[%PATH%]/out.xps') OUTFILE(*PRINT) TYPLAN(*PCL) SPLF(TESTAUTO) OUTQ(QGPL/EPSON) SAVE(*NO)