Hi i have my program that has a record buffer which holds 5 records. I want to print the content of that buffer or be able to print the whole file. how do you make it print this?
thanks
Hi i have my program that has a record buffer which holds 5 records. I want to print the content of that buffer or be able to print the whole file. how do you make it print this?
thanks
Kendals
Quzah.Code:ask user to pick to view the whole file, or just the buffer if answer == buffer read buffer full display buffer else while not end of file read buffer full from file display buffer
Hope is the first step on the road to disappointment.
Hi,
My question was about printing it to a computer printer, can this be done? print what ever is in the record buffer to a computer printer and have an option to printing the whole data file to a printer.
thanks
Kendals
Yes. Instead of writing to the screen, you write to a printer. Printers are treated like files. Your C book should tell you how to open files.
Quzah.
Last edited by quzah; 03-21-2002 at 07:37 PM.
Hope is the first step on the road to disappointment.
Hi,
Ill try it out. Im gonna have this in just incase the user or the program messed up.
thanks
Kendals
Kendals