In a print form there is a facility to give staringpg & endpg . endpg default value is 9999. But if a user prints a report whose total pg is 55 then after printing 55 pages blank pg start coming out from the printer. Please suggest how to put a endpg value so that it automatically takes the default value of no of pages in the report. .