Sprache auswählen

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
  • NOTE: You may also use the same mechanism with any PCL / ASCII job, as well for nearly any other card based authentication system, or even PIN / Mailbox printing.

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:

  • 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.

Tips:

  • If the file first needs to be split in single documents, see here
  • If the job is already well surrounded with PJL commands, then use instead of an ELP_Command just the OutSearch_Binary key:

[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

 

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.