Printing
Moderators:Administrator, Global Moderator
-
- Newbie
- Posts:1
- Joined:Mon Sep 16, 2002 7:24 am
Ok i am using the Qbasic verison 4.5 and i want to know how i can print when i run a program. I can print my code but i don't know how to print the text after i run the program. anyone help?
Re: Printing
Use the LPRINT statement.
Re: Printing
The LPRINT statement should work (just use it the same way you would use PRINT). However, I've been having some problems with it. On my old computer (Win 3.1, DOS 6.22) it works as it should, but on my new computer (Win 98), it does not work at all. I'm not sure why that is.
Re: Printing
On setup tell it you'll be printing DOS. Also
this works great.
DATAFILE$ = "TEST.TXT"
DS$ = "start/m wordpad /p " + DATAFILE$
SHELL DS$
jal
this works great.
DATAFILE$ = "TEST.TXT"
DS$ = "start/m wordpad /p " + DATAFILE$
SHELL DS$
jal