Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am running QBasic on Win 98 and I need to find out how to print the output screen. I've already tried LPrint and I get a device fault error. Somebody help meeeeeeeeeee!!!!!!!!!!!!!1

Emmmmmmmm... Are you posting at a right forum? QBASIC is a programming language right!
Basically, I will start the computer in dos mode, then start the QBasic Program and then when the output out, click print screen on the keyboard!
Note: Make sure the keyboard is online!
Christopher

Either that, or press your Print Screen key and then paste into your Word Processing program and print.
Print Screen key command going directly to the printer went out the window with Windows.. No pun intended..

I recall something about using the ASCII characters for SHIFT and PRINT SCREEN since there's no Qbasic command for it. A good book on qbasic could help.

You should be able to open .bas files as a .txt file in practically any word processor. Try opening your program with Notepad.

Ah...the output screen, haha, whoops, silly me. Ignore that last post. I would use the Print Screen button, like jennifer said.

If Brad is writing a basic program that needs a line in it that prints the screen contents it must be in the form of a basic command. But 'push SHIFT and PRINT SCREEN keys' is not a basic command.
If he's just looking to print his programming lines the SHIFT-PRINTSCREEN should work fine. By the way it is shift-printscreen and not printscreen.

Dave, are you referring to running Basic through Windows or DOS? Cause that's the whole point of the post.. The Print Screen command doesn't work in Windows without pasting to another program. If that's the way Brad's going to do it, pressing the Shift key isn't necessary. Print Screen and then pasting will do what he wants, unless of course the Q-Basic window isn't full-screen. Then, Brad, use Alt Print Screen. That will print only the active window. :)

The only qbasic I've ever used has been dos based. I don't even know if there's a version that's specifically designed to run with windows.
I just tried it with my computer and starting my dos 6.22 qbasic from the win98 run line will bring it up and SHIFT-PRINTSCREEN works fine to print the qbasic screen contents. As I expected, neither ALT-PRINTSCREEN or using only the PRINTSCREEN key would work. I did have to take my old HP LJ III offline and hit 'form feed' to kick the page out but that's a problem with the printer and not the printscreen function.

![]() |
Trying to clean install W...
|
msn internet access
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |