Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LPRINT statement 1

Status
Not open for further replies.

gaga44

Technical User
Mar 26, 2001
1
US
I am using the following statement or instruction in my qbasic program.
LPRINT "LPRINT OK"
When I try to run the program, for the first time after booting up my computer, it stops running at this instruction and displays the following message:

"the program tried to execute an invalid instruction.
fault location 00228:0103
interrups in service none"

If I start and run the program a second time it runs "ok".

What can be wrong? Why does it not work the first time I run the program?

When I was using windows 98 operating system my prigram worked all the time. I just installed windows me and now I have the above problem.

Any help would be appreciated
 
Trying going into your BIOS and setting your printer port to STANDARD or BIDIRECTIONAL, not ECP or EPP.

Or vice versa.. That is the first step to try when you have strange printing problems.

 
It could also be a driver issue. The printer ports in DOS are emulated through the printer's Windows-based driver.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top