Page 1 of 1

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

Posted: Thu Jun 08, 2006 12:33 am
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

Posted: Thu Jun 08, 2006 2:39 am
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....

Posted: Thu Jun 08, 2006 3:17 pm
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...

Posted: Thu Jun 08, 2006 6:41 pm
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.