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
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.
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
Response Number 6
Name: Fozzie Date: January 25, 2005 at 18:55:34 Pacific
Reply:
Best of luck, Satan, on your gwbasic programming. lol. :)
Summary: It's been a long time since I have done any programming with GWBasic, and I've forgotten how to raise a value to a negative power. Example: (a+b)to the -n power. I would appreciate any help. Also, is ...
Summary: hi, I made a mark sheet programme but i want computer to print"name is not preent"if the name is not present in the HD.Records are saved with seperate file names.Means each student has his own file...
Summary: This not in respose to your problem !! I have a larger one .. I have over 300 gwbasic programs written w/win 95. Have transferred them all to my new DELL w/windows XP. They execute fine .. however,...