OPALE - 10.0 - Utilisation - Manipulation MAP XPS ( change format + paper + rotation + pagerotation )/en

Différence entre versions

De MappingDoc
(Page créée avec « OPALE:10.0:Usage:Using MAP XPS ( change format + paper + rotation + pagerotation ) »)
 
(Page créée avec « The MAP_XPS command can be used with an internal command such as MAPCPYSPLF. »)
Ligne 1 : Ligne 1 :
 
<languages/>
 
<languages/>
La commande  MAP_XPS peut être utilisée en combinaison avec une commande interne, par exemple: MAPCPYSPLF.
+
The MAP_XPS command can be used with an internal command such as MAPCPYSPLF.
  
 
Pour avoir une étiquette intelligente , passer par les étapes suivantes :
 
Pour avoir une étiquette intelligente , passer par les étapes suivantes :

Version du 21 juin 2019 à 08:56

Autres langues :
English • ‎français

The MAP_XPS command can be used with an internal command such as MAPCPYSPLF.

Pour avoir une étiquette intelligente , passer par les étapes suivantes :

  • Création du fichier XPS de base avec image dynamique

MAPCPYSPLF SPLF(A00000068) SPLNUM(45) JOB(QPADEV000B) JOBNUM(017090) USER(IZARAI) MAPNAM(A000000681) MAPSEQ(*MRG) TYPLAN(*XPS) XPSOUTFILE('[%PATH%]/outJPG.xps') PAGEND(10)</cmd .

  • Modification du fichier XPS en prenant que la partie ayant l'étiquette -paper:xxx + application d'un offset

CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/outPNG.xps' '-paper:4.8,9,cm' '-param:XpsLeftOffset=1' '-outfile:[%PATH%]/out_paperPNG.xps')

Intell maq1.png


Résultat dans l'IFS:

OutPNG.png








  • Test d'une rotation de 90 degres avec -rotation:90 sur le fichier XPS

CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out_paperPNG.xps' '-rotation:90' '-outfile:[%PATH%]/out_paper_PNG_rot90.xps')

Intell maq2.png


Résultat dans l'IFS :


Out paper PNG rot90.png


  • Application du changeformat pour que le contenu tienne toute la page (du XPS en rotation avec -rotation)

CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out_paper_PNG_rot90.xps' '-param:changeformat=8.3,15,cm' '-outfile:[%PATH%]/out_paper_PNG_rot90_changeformat8.3_15.xps')

Intell maq3.png


Résultat dans l'IFS:


Out paper PNG rot90 changeformat8.3 15.png


  • Application du changeformat pour que le contenu épouse au mieux une étiquette 10x10 (du XPS en rotation avec -rotation)

CALL PGM(MAP_XPS) PARM('-infile:[%PATH%]/out_paper_PNG_rot90.xps' '-param:changeformat=6,10,cm' '-outfile:[%PATH%]/out_paper_PNG_rot90_changeformat6_10.xps')

Intell maq4.png


Résultat dans l'IFS:

Out paper PNG rot90 changeformat6 10.png