How to dynamically change the height of the PDF in PDF application?

I am trying to create POS system using SC and everything works as expected. But only problem is the customer’s are using a dot matrix printer which uses paper roll. They want to print even 100 items continuously. so i need to change the height of the PDF dynamically. Is there any macros to do that? or any other workaround to achieve this?