Computing.Net > Forums > Programming > GWBASIC program not gettin printed

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

GWBASIC program not gettin printed

Reply to Message Icon

Name: Satan18360
Date: January 25, 2005 at 07:27:52 Pacific
OS: WIN xp
CPU/Ram: 512mb ram
Comment:

When i give the LPRINT/LLIST command the line is not getting printed on the paper. I have a parallel port printer and not a usb printer. The screen displays ok. Could you tell me how to enable my printer in the DOS mode cuz i don't want to use the PRT SCR option and paste program in notepad.Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: January 25, 2005 at 07:56:40 Pacific
Reply:

There is no such thing as DOS Mode in Windows XP. XP has no DOS. It has a DOS emulator that will run some DOS applications.

Anything that tries to interact directly with the hardware will fail which is what Lprint and Llist is trying to do. Everything has to go through the appropriate driver. As GWBasic has no knowledge of Windows drivers, it wont work.

Stuart


0

Response Number 2
Name: Satan18360
Date: January 25, 2005 at 09:05:01 Pacific
Reply:

Thanks for the reply. A friend of mine has win98se os. He has a usb printer. Will i be able to use his usb printer in DOS mode to use LPRINT and LLIST commands.


0

Response Number 3
Name: StuartS
Date: January 25, 2005 at 09:28:22 Pacific
Reply:

It will work under Windows 98 with a parallel printer. I'm not sure that it will work with a USB printer.


Stuart


0

Response Number 4
Name: wizard-fred
Date: January 25, 2005 at 11:52:46 Pacific
Reply:

As long as the program is saved in the ASCII (text) mode you can print it with any windows text editor, ex. notepad.


0

Response Number 5
Name: Jason628
Date: January 25, 2005 at 14:40:21 Pacific
Reply:

Save the program in GWBASIC with the command

"save,a"

Notice the "comma a"

this will save in ascii form -- then open up the file in
notepad and print it.


0

Related Posts

See More



Response Number 6
Name: Fozzie
Date: January 25, 2005 at 18:55:34 Pacific
Reply:

Best of luck, Satan, on your gwbasic programming. lol. :)

(Couldn't resist it!)


0

Sponsored Link
Ads by Google
Reply to Message Icon

CMD and FOR statement Nested loops in batch scr...



Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: GWBASIC program not gettin printed

GwBasic Programming www.computing.net/answers/programming/gwbasic-programming/7297.html

gwbasic programming problem www.computing.net/answers/programming/gwbasic-programming-problem/3162.html

Gwbasic help www.computing.net/answers/programming/gwbasic-help/8458.html