Sales report of a very nice solution:
1. A Prescribe (Kyocera) data stream contains hundreds of unsorted delivery notes.
Each note can have 1 to X pages and
Each note contains a Tour number
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.
; don´t add anything after the job.
; 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.
; To speed up, only search once for that Search key.
; 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
; 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
You may need to search for the information which is direct before the searched item. It could be that you may need to search even for PCL position sequences, or in our JetScribe case even within HP GL2 statements
The port from the ELP queue is connected to the SecureJet Server port.
As our client has two different companies, and the tour number is listed on both forms, we have 2 Search_ keys in the same section.
If the file first needs to be split in single documents, see here
[Insert tournumber for authendification]
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