Select your language

Q) We run ELP under Linux and wan to to change the pages print order form 123456789... to 147..258...369... and if possible staple each part separately together. In that case we need 4 staples

Here is the somehow tricky configuration:

1. You need a new macro file here names 25993.max.

Please open the folder c:\ProgramData\WELP and copy the file 25990.mac to file 25993.mac. Open the file with a text editor, e.g. Notepad++ and change the content to "Escape Sign )s993Z". Store the file.

2. The configuration:

[GLOBAL]

; ELP needs to evaluate the amount of pages of the document.

preparsing=ON

[Assign variables]

Trigger_Binary=1

; trigger is always true, so this rule is always performed.

variable=#SecondLastPage#:#PREPARSEPAGECOUNT#

[Calculate second last page number and do the page sorting]

Trigger_Binary=1

; trigger is always true, so this rule is always performed.
; Counter keays are calculated before the variable= keys, this is why 2 prioritized sections are needed

Counter=#SecondLastPage#;-1

; second last page number is calculated.

ELP_Command=K3;

; generate 3 copies, as ELP reprints the job 3 times and ignores always 2 pages per copy

ELP_Command_Add=C1:1-#PREPARSEPAGECOUNT#NX1X4X7X10X14X17X20X24X28;C1:#SecondLastPage#G25993;

; Adds the definition for the first copy printing pages 1,4,7,10,...

;    C1 defines first copy

;       :1-#PREPARSEPAGECOUNT# perform this command on every page (one to last)

;       N do not print that page

;       X1 do not perform that command on page one

;       X4 do not perform that command on page four

;       ELP will not print any pages but the ones defined with X#

;    C1:#SecondLastPage# defines a special command on the second last page. This page definition command has a higher priority as the one before.

;       G25993 insert the pseudo macro containing the ELP statement for no further output for the rest of the actual copy

ELP_Command_Add=C2:1-#PREPARSEPAGECOUNT#NX2X5X8X11X15X18X21X25X29;C2:#PREPARSEPAGECOUNT#G28993;

; Adds the definition for the second copy printing pages 2,5,8,11,... but not the last page

ELP_Command_Add=C3:1-#PREPARSEPAGECOUNT#NX3X6X9X12X16X19X22X26X30;

; Adds the definition for the third copy printing pages 3,6,9,12,...

[Insert the stapling command]

Search_Binary=\x1B%-12345X

; Stapling commands are listed in file stapling.ini. Line feed needs to be added!

Insert_Binary=@PJL SET OUTBIN=OPTIONALOUTBIN1\x0A@PJL SET PROCESSINGTYPE="FACE_DOWN"\x0A@PJL SET PROCESSINGOPTION="FACE_DOWN"\x0A@PJL SET PROCESSINGBOUNDARY=MOPY\x0A

; Just needs only once be searched. As the input stream is written three times out, the

Search_only_Once=ON

ReadOnlySearchKeys=ON 

 

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.