QB 1.1 or 7.1 will not print out a hard copy.

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Frank
Newbie
Posts: 1
Joined: Mon Jun 05, 2006 11:18 am

QB 1.1 or 7.1 will not print out a hard copy.

Post by Frank »

I am reworking a QB program I wrote probably 15 years ago. The Lprint command does not seem to work.

Where do you start to check out the connection between QB and the printer. I'm using a USB connected HP Laserjet 1020
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Post by sid6.7 »

thats the problem..USB....i believe qbasic goes to parallel ports
there maybe be some workarounds listed here...search "print"
or "printer"....or search for moneo or mystikshadows, browse thier
posts they have already answered most questions so the answers
are somewhere here laready...

i think one way maybe is when printing
SHELL to dos...open the text file in notepad.exe
and manually print....

then when you exit it returns you to your program
then you can do whatever....
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post by Antoni »

If you are not using extended ascii characters, the easiest way is to print to a file then call notepad to print.

Code: Select all

 
shell "notepad /p  myprintfile"
No driver hacking required...
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

oen thing you might want to try is to check off "print to spool" on your printer...which would send anything printed to the printer directly.
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
Post Reply