Select your language

Q) Some of our printed documents based upon PDF format do have a bank money transfer form attached. For that purpose the printer shall switch for this last page to the manual tray and inform the user to add that kind of paper. Is ELP able to handle this?

A) Sure!

Prerequisites: The printer's media type settings must like this:

Manual paper tray: preprinted
Any other tray: not preprinted

Convert.ini:

[GLOBAL]

ELP=ON
<PreParsing=ON/p>

; Initialize the variable

Variable=#MY_STOP_TRIGGER#:FALSE

[Search for the keyword]

; Maybe you need to use another search-method like Search_Windows or Search_Windows_NEW
; We recommend to use keywords, which won't appear randomly. Perfect is something like "!!TAX!!"
; Only executing for data streams containing the word "TAX":

Search_Binary=TAX

; Sets the papertray to preprinted (on first page).

ELP_Command=C1:#PREPARSEPAGECOUNT#I9;

; Set the trigger variable to TRUE

Variable=#MY_STOP_TRIGGER#:TRUE

[If no bank form page found]

; Primary trigger: always TRUE:

Trigger_Binary=1

; Secondary trigger, when this variable contains TRUE:

Trigger_Variable=#MY_STOP_TRIGGER#:FALSE

; Stop the execution of this inifile,

EXIT=ON

[Otherwise insert printer stop command in data stream]

; Search the initialization data stream while writing out:

OutSearch_Binary=\x1B%-12345X

; Add the PJL command for the display and stop message:

Add_Binary=@PJL DISPLAY="Please add tax paper in manual tray and press OK"\x0D\x0A

Of course you can adjust the display message, but only the text between the double quotes.

 

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

 

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.