ONYX - 9.0 - Utilisation - Agrafage de documents en XPS/en

Différence entre versions

De MappingDoc
(Page créée avec « To do so, call a conversion profile with the stapling command (the profiles are located in the Mapping XPSConfig.conf configuration file). »)
 
(11 révisions intermédiaires par 3 utilisateurs non affichées)
Ligne 5 : Ligne 5 :
  
  
Voici 2 exemples de profiles faisant cela :
+
Here are 2 examples of profiles that do so:
  
1. <u>Ce profile (XPSSTAPLE) va agrafer le job entier, sans tenir compte du nombre de document présent dans le fichier XPS</u>
+
1. <u>The XPSSTAPLE profile staples the entire job regardless of the number of documents in the XPS file</u>
 
   
 
   
 
  <XPSSTAPLE>
 
  <XPSSTAPLE>
Ligne 18 : Ligne 18 :
 
   </job>
 
   </job>
 
   </custom>
 
   </custom>
</XPSSTAPLE>
+
  </XPSSTAPLE>
  
PS : La chaine de caractères ''\x0D\x0A'' génère un saut à la ligne.
+
N.B. The \x0D\x0A character chain generates a line break.
  
<u>Exemple avec 2 commandes PJL</u> :  
+
<u>Example with 2 PJL commands</u>:  
  
 
  <XPSSTAPLE>
 
  <XPSSTAPLE>
  <label>XPSSTAPLE</label>
+
<label>XPSSTAPLE</label>
  <language>PCL</language>
+
<language>PCL</language>
  <color>off</color>
+
<color>off</color>
  <custom>
+
<custom>
  <job>
+
  <job>
    <before>@PJL SET STAPLE=TOPLEFT''\x0D\x0A''@PJL SET OUTBIN=TOP</before>
+
  <before>@PJL SET STAPLE=TOPLEFT\x0D\x0A@PJL SET OUTBIN=TOP</before>
  </job>
+
  </job>
  </custom>
+
</custom>
 
  </XPSSTAPLE>
 
  </XPSSTAPLE>
  
2. <u>Ce profile XPSSTAPLEM va agrafer individuellement chaque documents présents dans le XPS (Grâce au paramètre multijobpcl à ON)</u>
+
2. <u>The XPSSTAPLEM profile staples each document in the XPS individually (Because of the multijobpcl parameter set to ON)</u>
  
 
  <XPSSTAPLEM>
 
  <XPSSTAPLEM>
  <label>XPSSTAPLEM</label>
+
<label>XPSSTAPLEM</label>
  <language>PCL</language>
+
<language>PCL</language>
  <color>off</color>
+
<color>off</color>
  <custom>
+
<custom>
  <job>
+
  <job>
    <before>@PJL SET STAPLE=TOPLEFT''\x0D\x0A''</before>
+
  <before>@PJL SET STAPLE=TOPLEFT\x0D\x0A</before>
  </job>
+
  </job>
  </custom>
+
</custom>
  '''<multijobpcl>ON</multijobpcl>'''
+
<multijobpcl>ON</multijobpcl>
 
  </XPSSTAPLEM>
 
  </XPSSTAPLEM>
 
 
 
 
 
[[Category:PrivateData]]
 

Version actuelle datée du 19 novembre 2019 à 09:58

Autres langues :
English • ‎français

When stapling with Onyx Server in XPS mode, use the CUSTOM tag of the XPSconfig.conf.

To do so, call a conversion profile with the stapling command (the profiles are located in the Mapping XPSConfig.conf configuration file).


Here are 2 examples of profiles that do so:

1. The XPSSTAPLE profile staples the entire job regardless of the number of documents in the XPS file

<XPSSTAPLE>
 <label>XPSSTAPLE</label>
 <language>PCL</language>
 <color>off</color>
 <custom>
  <job>
   <before>@PJL SET STAPLE=TOPLEFT\x0D\x0A</before>
  </job>
 </custom>	
 </XPSSTAPLE>

N.B. The \x0D\x0A character chain generates a line break.

Example with 2 PJL commands:

<XPSSTAPLE>
<label>XPSSTAPLE</label>
<language>PCL</language>
<color>off</color>
<custom>
 <job>
  <before>@PJL SET STAPLE=TOPLEFT\x0D\x0A@PJL SET OUTBIN=TOP</before>
 </job>
</custom>	
</XPSSTAPLE>

2. The XPSSTAPLEM profile staples each document in the XPS individually (Because of the multijobpcl parameter set to ON)

<XPSSTAPLEM>
<label>XPSSTAPLEM</label>
<language>PCL</language>
<color>off</color>
<custom>
 <job>
  <before>@PJL SET STAPLE=TOPLEFT\x0D\x0A</before>
 </job>
</custom>
<multijobpcl>ON</multijobpcl>
</XPSSTAPLEM>