Sprache auswählen

Q: We want to split a job into 50 pages parts, as this is the maximum amount of pages, the printer can staple together.

 

A: Setup 2 queues, A and B, connected to your printer. You will print to Queue A and only this queue needs to be ELP activated, meaning one license is enough. This example also assumes that the stapling commands are already set in the print file. Queue B has to be shared with the share name ELP_OUT.

Those 4 keys can either be set in the rule GLOBAL or better into the rule with the name of Queue A.

[Queue Name of Incoming Queue]

;... Whatever you need

; sends the outgoing data stream to the out queue B

OutPort=\\#HOSTNAME#\ELP_OUT

; The data stream is on Queue A not printed

NoPrinting=ON

; Every 50th page macro 25997 is inserted and the page counter set to 0

ELP_Command=C1:50F25997R0;

; in order that all parts are correctly printed collect and insert all needed stuff

OutPortMode_CollectFonts=ON

Note: the form 25997.mac is reloaded every time it is used. It contains the ELP internal command Esc)s-997Z command sequence is inserted by the ELP command right before the 50th form feed and advices ELP to split after the next form feed. This means, the out port connection is temporarily closed and reopened.

If the stapling command is missing:

In this ELP process adding a T#; command to the ELP_Command will not work, as the initialization part of the data stream is captured at the beginning of the process, as it has to be added in front of every new split part. So there are 2 solutions for that problem:

1. Activate the out queue as well. Add a new rule with the out queue name and this content: (The disadvantage is a second activated queue).

2. And here is the configuration

[Queue Name of Out Queue]

; Add the needed stapling command.

ELP_COMMAND=T101;
Exit=ON

Insert the stapling command by hand. Benefit: only one license is needed. Open the file stapling.ini and search for the command you need:

[Add the stapling PJL command]

Search_Binary=@PJLENTER LANGUAGE

; Add the stapling command right after the UEL reset, here same as the ELP_Command T102 parameter.

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

; Speed a little the process up

ReadOnlySearchKeys=ON

If you have several queues, than you may do not want to duplicate every queue, Here is the method using just one queue:

Note: the stream must be PJL encapsulated, as all Windows and SAP data streams do.

[Search if this is the second run]

Search_Binary=@PJL COMENT"Second Run"

; Add the stapling command if not yet in data stream.

ELP_COMMAND=T101;

; Stop rule analyzation

Exit=ON

[Add the stapling PJL command if needed]

; if you do not want to use the ELP_Command in above rule.

Search_Binary=@PJLENTER LANGUAGE

; Add the stapling command right after the UEL reset, here same as the ELP_Command T102 parameter.

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

; Speed a little the process up

ReadOnlySearchKeys=ON

[If rule process ends up here, it is a first run]

Trigger_Binary=1

; Always send the job to the same queue

OutPort=\\127.0.0.1\#PRINTERSHARENAME#

[Add while writing out the mark, that the incoming job is already split]

OutSearch_Binary=\x1B%-12345X

; Add the argument, which detects the second run.

Add_Binary=@PJL COMMENT"Second Run"\x0A
ReadOnlySearchKeys=ON

Related articles: Split Huge Job, Distribute data streams

 

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.