Sales report of a very nice solution:

1. A Prescribe (Kyocera) data stream contains hundreds of unsorted delivery notes.

2. The goal was to split the big jobs and store the single jobs with SecureJet PS, but instead of the user name the jobs are stored using the tour number. When a driver picks up his tour, he can release the jobs with his smart card, assigned to his tour number.

The solution is an ELP + JetScribe installation serving only one queue.

In the second step ELP is searching for the text before the tour number and then stores the number itself into the variable #TOURNUMBER#. In the same shot ELP is told to set the SecureJet specific data stream initializations before and after the stored data stream.

[GLOBAL]

ELP=ON

; don´t add anything after the job.

EraseMacros=OFF

[Search Tournumber]

Search_Windows_New=Tournumber:

; if found, store next word into the variable. On ASCII based data streams you can also use the function Search_RowNo to get
; a specific text fragment out of the data stream if no specific trigger can be found before the variable.

StoreNextWordToVariable=#MyTOURNUMBER#

; To speed up, only search once for that Search key.

Search_Only_Once=ON

; When the Tour number: is found activate the SecureJet handling
; 1. As the job itself is surrounded by UELs we don´t need to insert them,
; The job needs to end with this command

ELP_EXIT_PCL=\x1B\x1B\x1BE\x1B%-12345X

; 2. The next command put the SecureJet handling stuff in front of the data stream.
; Actually everything is in one command line. There are 3 ELP variables used: #TOURNUMBER# collected right in this section form the data stream
; #RANDOM# a random Job number, which is actually the random file number generated by the print processor.

; #DATESERIAL# as ELP´s date are numbers only 14 bytes, there are 2 additional 0s

ELP_INIT_JOB=\x1B%-12345X@PJL ENTER LANGUAGE=SJLLIGHT\x0D\x0A@PJL SCOMMAND=STORE\x0D\x0A@PJL USERNAME=#TOURNUMMER#\x0D\x0A@PJL SJOB NAME=Welp-Job\x0D\x0A@PJL SJOB ID=#RANDOM#\x0D\x0A@PJL SJOB DATE=#DATESERIAL#00\x0D\x0A@PJL SJOB EXPIRYDATE=200907031930000

; 3. The next command is a dummy command, as there is no form 1000 needed in our case but without any ELP_Command, the ELP_INIT_JOB and ELP_EXIT_PCL keys are not performed

ELP_Command=K1;

Notes:

Tips:

[GLOBAL]

ELP=ON
EraseMacros=OFF

[Search Tournumber]

Search_Windows_New=Tournumber:
StoreNextWordToVariable=#MyTOURNUMBER#
Search_Only_Once=ON

[Insert tournumber for authendification]

OutSearch_Binary=\x1B%-12345X
Add_Binary=\x1B%-12345X@PJL ENTER LANGUAGE=SJLLIGHT\x0D\x0A@PJL SCOMMAND=STORE\x0D\x0A@PJL USERNAME=#TOURNUMMER#\x0D\x0A@PJL SJOB NAME=Welp-Job\x0D\x0A@PJL SJOB ID=#RANDOM#\x0D\x0A@PJL SJOB DATE=#DATESERIAL#00\x0D\x0A@PJL SJOB EXPIRYDATE=200907031930000
Search_Only_Once=ON

Related articles: Rules theory, Rule assistent, Add key to rule