I am working on rewriting the invoice print with smartforms and my company would like to be able to group multiple invoices together in one envelope up to 10 pages using barcodes with a auto-folding machine. The problem I am having is figuring out how to determine the barcode printing over multiple invoices. I think I am going to have to run through the entire job per customer, figure out the page numbers per invoice, and then go back and run through the smartform function module again to get the correct barcoding on each. So my problem is how do I do the first run without printing? It looks like the print preview control will not work in batch. I was thinking maybe I could use the SSFCTRLOP-GETOTF field? I think I have used this in the past with SAPSCRIPT, but it has been a while. Anybody have any ideas?