Sprache auswählen

Q: A client wants to staple the first 2 pages of the job and the remaining not.

A: There are 2 solutions possible, both will split the jobs.

Note: The second one is NOT not described here. The jobs for that one will be resend into an ELP process and then the stapling command is added. This might have the benefit, that not only 2 pieces are processed, but maybe even more, like a mail merge process, always staple the very first 2 pages of each single the document.

Here is the answer for stapling the first 2 pages of the job and not the remaining ones:

  1. Please install a queue, which is ELP enabled and receives the jobs, The port can be set to the local port NUL, as the queue will always forward the jobs to the second queue.
  2. The second queue needs to be shared, The configuration sample below uses the share name: test.
  3. The configuration file for stapling the first 2 pages (for Ricoh devices)

[GLOBAL]

; send data stream to port where the FollowMe system is active

OutPort=\\127.0.0.1\test

; Make second job stand alone printable

OutPortMode_CollectFonts=ON

; just to be sure, better would be if port of queue is set to NUL

NoPrinting=ON

; Split after the second page

ELP_Command=C1:2F25997;

[Remove the original stapling command]

; For Ricoh devices

Search_Binary=@PJL SET STAPLE=
Replace_Binary=@PJL COMMENT SET STAPLE=

; Speed up

ReadOnlySearchkeys=ON

[Finally insert the stapling command on first part]

OutSearch_binary=\x1B%-12345X
Add_binary=@PJL SET STAPLE=LEFTTOP\x0D\x0A

; just insert it the first time

Search_Only_Once=ON

Hint: If you have other devices than Ricoh then open the file c:\ProgramData\WELP\stapling.ini and check for the correct stapling commands and change them

Same thing as above, but only the last page is NOT stapled and for Canon devices

[GLOBAL]

OutPort=\\127.0.0.1\test
OutPortMode_CollectFonts=ON
NoPrinting=ON

; Get the page counter: #PREPARSEPAGECOUNT#

PreParsing=ON

[Remove the original stapling command]

; For Canon devices

Search_Binary=@PJL COMMENTCANPJL SET SORTERMODE=
Search_Binary=@PJL COMMENTCANPJL SET STAPLE=
Replace_Binary=@PJL COMMENT
ReadOnlySearchkeys=ON

[Split the data stream after the second last page]

Trigger_Binary=1

; reduce page counter by 1

Counter=#PREPARSEPAGECOUNT#;-1

; split before last page, more forms can be certainly added

ELP_Command=C1:#PREPARSEPAGECOUNT#F25997;

[Finally insert the stapling command on first part]

OutSearch_binary=\x1B%-12345X
Add_binary=@PJL COMMENT CANPJL SET SORTERMODE=GENERICON\x0D\x0A@PJL COMMENT CANPJL SET STAPLE=GENERICON\x0D\x0A@PJL COMMENTCANPJL SET STAPLE=ONEUPLEFT\x0D\x0A
Search_Only_Once=ON

Tip: If terms and conditions need to be inserted, then you can use the first(!) sample, and add/change in rule Global this:

PrePasing=ON
ELP_Command=C1:1S1FF;C1:2F501;C1:#PREPARSEPAGECOUNT#F25997;

 

Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern (Tracking Cookies). Sie können selbst entscheiden, ob Sie die Cookies zulassen möchten. Bitte beachten Sie, dass bei einer Ablehnung womöglich nicht mehr alle Funktionalitäten der Seite zur Verfügung stehen.