HELP WITH PRINTING GWBASIC PROGRAM OUTPUT 
Author Message
 HELP WITH PRINTING GWBASIC PROGRAM OUTPUT

HELP WITH PRINTING GWBASIC PROGRAM OUTPUT

I have some programs written in GWBASIC which I run in a DOS mode but within
a windows environment. The printer refuses to print in response to the
LPRINT command. I get a DOS Print Job message under my printer ICON but no
printout.  I even tried booting the machine directly in the DOS mode. I then
get a "device timeout" response. The printer was installed using the
plug-and-play features of windows 98 and using a USB connection. Any
suggestions?


Thanks!!!



Sat, 01 Jun 2002 03:00:00 GMT  
 HELP WITH PRINTING GWBASIC PROGRAM OUTPUT

Instead of lprint, try:

    OPEN "LPT1:" for output as #1
    Print #1, "whatever"

Make sure you close it.  Look up ASCII codes for LF and FF (linefeed,
formfeed).

--
-+* Brian *+-

VB 5 (Ent & CCE)
VB 3, 4 (Std)
VB 1 (Pro DOS)
And I still use QBasic :-)


Quote:
> HELP WITH PRINTING GWBASIC PROGRAM OUTPUT

> I have some programs written in GWBASIC which I run in a DOS mode but
within
> a windows environment. The printer refuses to print in response to the
> LPRINT command. I get a DOS Print Job message under my printer ICON but no
> printout.  I even tried booting the machine directly in the DOS mode. I
then
> get a "device timeout" response. The printer was installed using the
> plug-and-play features of windows 98 and using a USB connection. Any
> suggestions?


> Thanks!!!



Tue, 04 Jun 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. HELP: How to terminate a GWBASIC program

2. gwbasic simple programming help, Please!!!

3. GWBasic: Closing LPrint Output?

4. How do I capture other programs print output

5. printing output from a vb program

6. Help - Print - Help -Print - Help - Print - Help - Print - Help

7. GWBASIC (1/1) - gwbasic.zip [2/2]

8. GWBASIC (1/1) - gwbasic.zip [1/2]

9. Please help: redirecting output of shell started program

10. getting DOS-program output - Desperately need help.

11. How to Capture Dos Output in VB4 Program (HELP)

12. getting DOS-program output - Desperately need help.

 

 
Powered by phpBB® Forum Software