OPALE - 10.0 - Utilisation - Agrafer en PCL direct/en

Différence entre versions

De MappingDoc
(Page créée avec « == Example == »)
 
(11 révisions intermédiaires par le même utilisateur non affichées)
Ligne 10 : Ligne 10 :
 
== Example ==
 
== Example ==
  
On souhaite rajouter des codes PJL d'agrafage dans le flux PCL généré :
+
Let's say you want to add PJL stapling codes in the generated PCL datastream, here is what you will want to do:
  
=== Définir le paramétrage dans l'option 14/14 ===
+
=== Define the parameter in option 14/14 ===
  
 
  <span style="background-color:Black;color:Lime;">MYDESTPRINTER  MYLIBPRINTER  </span><span style="background-color:Black;color:white;"><u>PJLBEFORE</u>  </span><span style="background-color:Black;color:Lime;"><u>STAPLETOPL</u> -> _____________________________</span>
 
  <span style="background-color:Black;color:Lime;">MYDESTPRINTER  MYLIBPRINTER  </span><span style="background-color:Black;color:white;"><u>PJLBEFORE</u>  </span><span style="background-color:Black;color:Lime;"><u>STAPLETOPL</u> -> _____________________________</span>
  
Le bloc PJL en question s'appelle "STAPLETOPL".
+
The PJL bloc mentioned is called "STAPLETOPL".
  
=== Edition du bloc PJL STAPLETOPL===
+
=== Editing the STAPLETOPL PJL bloc===
  
Ensuite faire un 8 devant la ligne pour éditer le contenu du bloc PJL "STAPLETOPL".
+
Add an 8 before the line to edit the content of the "STAPLETOPL" PJL bloc.
  
Ensuite taper son contenu en <u>HEXADECIMAL</u> :
+
Then, type the content in <u>HEXADECIMAL</u>:
  
 
[[File:PJLBEFORE.jpg|500px]]
 
[[File:PJLBEFORE.jpg|500px]]
  
=== Utilisation du bloc PJL ===
+
=== Using the PJL bloc ===
Ce bloc STAPLETOPL est maintenant prêt à être appelé dans la commande MAPCPYSPLF :
+
the STAPLETOPL bloc is now ready to be called in the MAPCPYSPLF command:
  
 
  <span style="background-color:Black;color:Lime;">PJL Command Before . . . . . . . > <u>BEFORE</u>          Name, *MAP</span>
 
  <span style="background-color:Black;color:Lime;">PJL Command Before . . . . . . . > <u>BEFORE</u>          Name, *MAP</span>
  
  <span style="background-color:Black;color:Lime;"> ===> MAPCPYSPLF SPLF(FACTURE) SPLNUM(9) JOB(QPADEV0005) JOBNUM(774463)  
+
  <span style="background-color:Black;color:Lime;"> ===> MAPCPYSPLF SPLF(INVOICE) SPLNUM(9) JOB(QPADEV0005) JOBNUM(774463)  
 
  USER(JDIEU) MAPNAM(TEST73_1) MAPSEQ(*MRG) OUTQ(MYLIBPRINTER/MYDESTPRINTER) PJLBEFORE(STAPLETOPL) TYPLAN(*PCL) XPSCONVERT('*NONE')
 
  USER(JDIEU) MAPNAM(TEST73_1) MAPSEQ(*MRG) OUTQ(MYLIBPRINTER/MYDESTPRINTER) PJLBEFORE(STAPLETOPL) TYPLAN(*PCL) XPSCONVERT('*NONE')
 
  </span>
 
  </span>
  
{{Warning}} : Le paramètre AFTER est utilisé pour ajouter des commandes PJL en fin de job.
+
{{Warning}}: The "AFTER" parameter is used to add PJL commands at the end of a job.
  
=== Résultat du flux en sortie ===
+
=== Outcome of the output datastream ===
  
 
  ESC-12345X@PJL  
 
  ESC-12345X@PJL  

Version actuelle datée du 11 juin 2019 à 10:25

Autres langues :
English • ‎français

Introduction:

If you are generating a document in PCL direct language, you can staple it using the PJL Command Before and PJL Command After parameters of the MAPCPYSPLF command:

PJL Command Before . . . . . . . > _____________             Name, *MAP
PJL Command After  . . . . .. . . . > _____________          Name, *MAP 

When using this parameter, boot it with a value referencing a parameter of a PJL bloc in option 14/14 of the Mapping menu.

Example

Let's say you want to add PJL stapling codes in the generated PCL datastream, here is what you will want to do:

Define the parameter in option 14/14

MYDESTPRINTER   MYLIBPRINTER   PJLBEFORE   STAPLETOPL -> _____________________________

The PJL bloc mentioned is called "STAPLETOPL".

Editing the STAPLETOPL PJL bloc

Add an 8 before the line to edit the content of the "STAPLETOPL" PJL bloc.

Then, type the content in HEXADECIMAL:

PJLBEFORE.jpg

Using the PJL bloc

the STAPLETOPL bloc is now ready to be called in the MAPCPYSPLF command:

PJL Command Before . . . . . . . > BEFORE          Name, *MAP
 ===> MAPCPYSPLF SPLF(INVOICE) SPLNUM(9) JOB(QPADEV0005) JOBNUM(774463) 
USER(JDIEU) MAPNAM(TEST73_1) MAPSEQ(*MRG) OUTQ(MYLIBPRINTER/MYDESTPRINTER) PJLBEFORE(STAPLETOPL) TYPLAN(*PCL) XPSCONVERT('*NONE')

Warning-300px.png: The "AFTER" parameter is used to add PJL commands at the end of a job.

Outcome of the output datastream

ESC-12345X@PJL 
@PJL SET STAPLE=LEFTTOP
@PJL ENTER LANGUAGE=PCL
ESCc15000D...FluxPCL...ESC-12345X