Just send it to file (not ASCII) and delete the file when you are done. If there is only one file, then file size shouldn't be a problem (unless your report is 10,000 pages or more).
>Thanks Jim.
>
>I was using ASCII because the file is smaller; but I removed it from the code and the same happens.
>
>If I use PREVIEW, it prints 2 pages and if I use TO PRINTER PROMPT it prints 3 pages.
>
>What do you think is wrong?