Hello Experts, I hope I have posted this query in the right place.
When I am printing a cheque with only a few lines on the stub I am noticing there is a lot of white space that is reserved by the report and it is causing a second page to be created. while messing around with the CustVendChequeSlipText class I was able to determine that if you manipulate the "Endlines" counter I can remove the white space. However when I change the endlines counter and print a cheque with 10 stub lines I will be forcibly removing them and they will not display.
In order to make this more clear I have attached a sample that shows all of the white space after the stub, and then another when I modify the endlines property.
I am thinking I could create a solution that counts the number of stub lines, and then sets the endlines properly accordingly, but I do not know if that's the right approach. Any advice you can offer would be appreciated.
Thanks,