Printing

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
BrianStorm83
Newbie
Posts:1
Joined:Mon Sep 16, 2002 7:24 am
Printing

Post by BrianStorm83 » Mon Sep 16, 2002 7:26 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?

pebe
Full Member
Posts:33
Joined:Tue Apr 02, 2002 12:19 am
Location:Scotland

Re: Printing

Post by pebe » Sun Sep 29, 2002 12:22 pm

Use the LPRINT statement.

Guest

Re: Printing

Post by Guest » Sat Nov 16, 2002 5:06 pm

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.

Guest

Re: Printing

Post by Guest » Fri Feb 28, 2003 3:11 am

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

Post Reply