Q: I have a printer which can print A4 long edge and short edge feeding. I want to setup ELP, that it draws the jobs alternating from those two trays.

A: The solution is to use a variable which is upated for each job. Depending on its alternating value, the rules for paper feeding are applied. So independent form which tray the paper was originally drawn, ELP will overwrite and force the printer to use just that tray.

[GLOBAL]

; .....

; Read variable #job_counter# which is automatically per job incremented

JobCounter=#ELP_FORMS_PATH#JobCounter.var

; the next command sets the variable to 0 or 1, alternating and add 1

Counter=#JOB_COUNTER#;%2+1

; Now the counter value is 1 or 2.

ELP_Command=C1:1I#JOB_COUNTER#;

The 2 printer paper tray need to be set to media type Normal and media type Bond and ELP will alternate the print jobs between those trays.

 

Related articles: Rules Theory, Rule Assistant, Add key to rule