Marcel,
I had an issue a long time back where he printer spool on the machine was basically filling the drive (these were pre-gb size drives) the best solution at the time was to slow down the creation of the pages to a rate that the printer could keep up with. I used a timer to govern output process. You don't want to go into a tight DO WHILE loop because the CPU will be doing the loop rather than getting data to the printer.
>Thank you David that code is great...
>
>My problem is maybe too difficult for FoxPro maybe I need Planet Press or something like that. I need to be able to print 160,000 statements on a pre printed color form an be able to print on a different format if the detail lines overflow to other pages. I try a "Do While" to print every statement on a file and changing the tray in the file and copy /b file1 + file2 datastream but that process is to slow and crash my PC because of the quantity also that cannot be in DOS because of the complexity of that report and font like US postal barcode etc. . They went duplex but I think they change their mind not easy on a transaction report hey Davis.
>
>I don't know.