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.
; Read variable #job_counter# which is automatically per job incremented
; the next command sets the variable to 0 or 1, alternating and add 1
; Now the counter value is 1 or 2.
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.