OPALE - 10.0 - Utilisation - Agrafer en PCL direct/en
Différence entre versions
(Page créée avec « === Outcome of the output datastream === ») |
|||
Ligne 37 : | Ligne 37 : | ||
{{Warning}}: The "AFTER" parameter is used to add PJL commands at the end of a job. | {{Warning}}: The "AFTER" parameter is used to add PJL commands at the end of a job. | ||
− | === | + | === Result of the output datastream === |
ESC-12345X@PJL | ESC-12345X@PJL |
Version du 11 juin 2019 à 10:24
Sommaire
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:
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')
: The "AFTER" parameter is used to add PJL commands at the end of a job.
Result of the output datastream
ESC-12345X@PJL @PJL SET STAPLE=LEFTTOP @PJL ENTER LANGUAGE=PCL ESCc15000D...FluxPCL...ESC-12345X