Bill Hornkohl wrote:
<I created a simple program in qbasic, processing sequential files from a
<question would be is there such a thing as a page-break in qbasic. If
I haven't programmed in qbasic but in the basics prior to qbasic and most
other languages I've worked with I usually can send a CHR(10) CHR(13)
sequence to the printer to force a carriage return/line feed combination to
force a page break.
I will declare a string variable and load it with the sequence something
like this:
CRLF$=CHR(10)+CHR(13)
then whenever I print CRLF$ to the printer I will get a formfeed
Some languages and printers will also recognize CHR(12) as a formfeed
character.
Hope this helps
Jim Smithheisler
PCSOFT: http://nospin.com or [log in to unmask]
|