#12547
DEholnikof
Participant

Henry,

Near as I can tell – if you are using the PRTPAY Proc, then the Amount Variable is 106. First Parse the Template (~PAY1.TPL) and then add this line of code to be the first line of the template.

I STRESS Parse First – many NV Printing Templates are called directly from the Library, and not the Template Proc.

If you are using PRTPAY then please insert this line to first in the template
@if<= 106,"0" @then @mov 8="0 0" @eop @ret @end If you are using PRTCHKS then please insert this line to first in the template
@if<= 91,"0" @then @mov 8="0 0" @eop @ret @end This will prevent the Print template from actually printing when the AMOUNT is ZERO or Less
The Variable number for AMOUNT changes from Procedure to procedure, but not within a “group of templates” – so the line of code could be used for any PRTPAY Template.

But you should TEST – TEST – TEST

Regards
David