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
QB 1.1 or 7.1 will not print out a hard copy.
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....
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....
If you are not using extended ascii characters, the easiest way is to print to a file then call notepad to print.
No driver hacking required...
Code: Select all
shell "notepad /p myprintfile"
-
- Veteran
- Posts: 703
- Joined: Sun Nov 14, 2004 7:36 am
- Contact:
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
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com