Q: I am printing from a main frame and the first page is printed with the form but no data on. My ELP_COMMAND=C1F500;

A: Some main frame spoolers do always send a FormFeed at the beginning of the job. So you need to get rid of this character

[Search and delete first FormFeed]

; Search for FormFeed

Search_binary=\x0C

; Delete it

Erase_Binary=ON

; but only one time -> so the first FF is deleted

Search_Only_Once=ON

; speed a little

ReadOnlySearchKeys=ON

 

[Invoice]

Trigger_Windows_New=Invoice

; print on all pages Form 5000 and ignore Page 1

ELP_COMMAND=C1:1N;C1F500;

 

[Invoice]

Trigger_Windows_New=invoice

; Delete it

Erase_Binary=ON

; print on all pages Form 5000 and ignore Page 1. First page is ignored, second page is the first invoice page

ELP_COMMAND=C1:1N;C1:2F500;C1F502;

; Alternative with terms and conditions
; ELP_COMMAND=C1:1N;C1:2S1F500FF;C1:3F501;C1S0F502;