William,
To drive a form feed in basic us the following line of code:
lprint chr$(12)
If you have a printer manual, most of the printer control codes are usually
included in an appendix.
Bob
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. Now when I
> run the program and print out the output, the headings print at the
> bottom of the following page. The first page is lined up fine, them
> every page after that is off. How can I set up the program so it prints
> only three records per page and also prints the headings. I guess my
> question would be is there such a thing as a page-break in qbasic. If
> there is, how??
> Thanks, Bill Hornkohl
>
> PCSOFT: http://nospin.com or [log in to unmask]
PCSOFT: http://nospin.com or [log in to unmask]
|