OPALE - 10.0 - Utilisation - Le paramètre EXTRACT/en

Différence entre versions

De MappingDoc
(Page créée avec « Outcome in the IFS: OUT.XPS »)
(Page créée avec « To send the file to the printer: <code>MAPXPS INFILE('[%PATH%]/out.xps') OUTFILE(*PRINT) TYPLAN(*PCL) SPLF(TESTAUTO) OUTQ(QGPL/EPSON) SAVE(*NO)</code> »)
 
(3 révisions intermédiaires par le même utilisateur non affichées)
Ligne 11 : Ligne 11 :
 
Outcome in the IFS: OUT.XPS
 
Outcome in the IFS: OUT.XPS
  
* Appliquer  MAP_XPS :
+
* Run command MAP_XPS :
  
 
<code> CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-extract:[%PATH%]/out.txt' '-filter:CINQ' '-length:10' </code>
 
<code> CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-extract:[%PATH%]/out.txt' '-filter:CINQ' '-length:10' </code>
  
* Pour récupérer tous les index du XPS, passer également par MAP_XPS
+
* You should also use MAP_XPS to retrieve all indexes of the XPS file
  
 
<code>CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-indexfile:[%PATH%]/outindex.txt' )</code>
 
<code>CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-indexfile:[%PATH%]/outindex.txt' )</code>
Ligne 22 : Ligne 22 :
  
  
* Pour vérifier s'il y a pas de souci avec le PDF, tester la conversion vers PDF
+
* To check if there is no issue with the PDF format, try to convert to PDF
  
 
<code>CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-outfile:[%PATH%]/out_color.pdf' '-fromXPS' '-toPDF'</code>
 
<code>CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out.xps' '-outfile:[%PATH%]/out_color.pdf' '-fromXPS' '-toPDF'</code>
  
Pour envoyer vers l’imprimante : <code>MAPXPS INFILE('[%PATH%]/out.xps') OUTFILE(*PRINT) TYPLAN(*PCL) SPLF(TESTAUTO) OUTQ(QGPL/EPSON) SAVE(*NO)</code>
+
To send the file to the printer: <code>MAPXPS INFILE('[%PATH%]/out.xps') OUTFILE(*PRINT) TYPLAN(*PCL) SPLF(TESTAUTO) OUTQ(QGPL/EPSON) SAVE(*NO)</code>

Version actuelle datée du 21 juin 2019 à 10:12

Autres langues :
English • ‎français

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')


Mapcpysplf80.png


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' )

Extract80.png


  • 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'

To send the file to the printer: MAPXPS INFILE('[%PATH%]/out.xps') OUTFILE(*PRINT) TYPLAN(*PCL) SPLF(TESTAUTO) OUTQ(QGPL/EPSON) SAVE(*NO)