----- Original Message -----
From: "HERB CHADNOW" <[log in to unmask]>


>
> Hi,
>
> Since I see DOS being discussed, maybe you can help me with a problem.
>
> I use qbasic (I think a DOS program) and find that when my program comes
> to the command LPRINT it locks and nothing is printed.
>

What You mean by locks? If program no longer response then there is more
problems. If you couldn't get printout then it can maybe fixed.

Problem is that if you use DOS program under  windows, OS could not know when
job is finished so using LPRINT is not good. Instead use

OPEN "LPT1:" FOR OUTPUT AS #2
PRINT #2, .....
at end of job use
PRINT #2, CHR$(12)
CLOSE #2

Last commands are form feed, Close informs that job is ended.
If You have pauses between printing, write results to file and print from
Windows.


Toomas



>
> I am using windows XP and an HP psc 950 printer.  I don't know which is
> the culprit. Can anyone help me with this.  It would be appreciated.
>
>
> Herb Chadnow
>
>

                Curious about the people moderating your
                   messages? Visit our staff web site:
                    http://freepctech.com/staff.shtml