
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!!!