LPRINT does not function when running QBASIC in XP environment .
Any help on this ?
Thanks
LPRINT COMMAND UNDER WINDOWS XP
LPRINT uses the parallel port interface (LTTP), and most printers that are sold these days use the USB port. If you're using a USB printer, you're out of luck. Try a parallel port printer if you have one, but I can't make any guarantees.
It also could be a DOS compatibility error with Windows XP. Windows XP is no longer fully DOS compatible, so the XP "Command Prompt" might be having trouble interfacing with parallel port on your computer. I'm sure there are very technical ways to get around this, but I'm not the right person to ask.
Good luck!
It also could be a DOS compatibility error with Windows XP. Windows XP is no longer fully DOS compatible, so the XP "Command Prompt" might be having trouble interfacing with parallel port on your computer. I'm sure there are very technical ways to get around this, but I'm not the right person to ask.
Good luck!
-
- Veteran
- Posts: 703
- Joined: Sun Nov 14, 2004 7:36 am
- Contact:
You might be able to make it work if you take out Print Spooling on the printer port it's on.....Also They sell USB to Parallel port connectors, you might be able to make it work this way.
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
LPRINT issues.
Since most new printers are now USB only your choice like the others have said are limited. One choice of course would be to hook up and OLD printer port printer. (LPT1) - Obvious and well, then you need another printer.
A "work-around" is too "print" to a text file.
You can even force the text file to appear in Notepad afterwards, and optionally print from there.
Like this (after you make the file):
SHELL "notepad.exe c:\myfile.txt /p"
The only drawback is the user is left at notepad and has to close it and then click on the minimized program.
Hope this helps.
A "work-around" is too "print" to a text file.
You can even force the text file to appear in Notepad afterwards, and optionally print from there.
Like this (after you make the file):
SHELL "notepad.exe c:\myfile.txt /p"
The only drawback is the user is left at notepad and has to close it and then click on the minimized program.
Hope this helps.