William Hornkohl wrote: > > I created a simple program in qbasic, processing sequential files from a > data disk, the assigment is to print 3 records on one page. The total > output consists of 4 pages. Each page must have a heading. I don't remember the commands - it's been too long ago. You need to set up a loop to print the header, then within THAT loop, a sub-loop to print three records and then send the printer a form feed command. Something like: DoWHile records_exist Main loop Print header For rec=1 to 3 print record increment rec Send FF go to main loop end dowhile -- Jim Meagher ============================ Micro Solutions Consulting Web Design, Network Administration [log in to unmask] Hard/software Installation, Service http://www.ezy.net/~microsol 410-543-8996 ============================ PCSOFT: http://nospin.com or [log in to unmask]