OPALE - 10.0 - Utilisation - Agrafer un PCL en mode XPS/en
Différence entre versions
De MappingDoc
(Page créée avec « OPALE:10.0:Usage:Stapling a PCL in XPS mode ») |
|||
(8 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<languages/> | <languages/> | ||
− | + | When stapling with '''Opale Server''' in XPS mode, use the CUSTOM tag of the CPSconfig.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. <u> | + | 1. <u>The XPSSTAPLE profile staples the entire job regardless of the number of documents in the XPS file</u> |
<XPSSTAPLE> | <XPSSTAPLE> | ||
Ligne 20 : | Ligne 20 : | ||
</XPSSTAPLE> | </XPSSTAPLE> | ||
− | + | N.B. The ''\x0D\x0A'' character chain generates a line break. | |
− | <u> | + | <u>Example with 2 PJL commands</u> : |
<XPSSTAPLE> | <XPSSTAPLE> | ||
Ligne 35 : | Ligne 35 : | ||
</XPSSTAPLE> | </XPSSTAPLE> | ||
− | 2. <u> | + | 2. <u>The XPSSTAPLEM profile staples each document in the XPS individually (Because of the multijobpcl parameter set to ON)</u> |
<XPSSTAPLEM> | <XPSSTAPLEM> |
Version actuelle datée du 17 juillet 2019 à 07:58
When stapling with Opale Server in XPS mode, use the CUSTOM tag of the CPSconfig.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>