QBasic

B

bbeegle

I have a short program written in QBasic. The program
worked properly in WIN 95. Since trying to run on WIN XP
the program will not print to my Lexmark Z52 printer. I do
not get any error messages or freeze up, it just does not
print. Do I need to change some settings?
 
N

NobodyMan

I have a short program written in QBasic. The program
worked properly in WIN 95. Since trying to run on WIN XP
the program will not print to my Lexmark Z52 printer. I do
not get any error messages or freeze up, it just does not
print. Do I need to change some settings?

Without knowing how exactyl the program is trying to access the
printer, no, nobody can tell you what you need to do.

If your program is trying to access the printer port without going
through the OS, then XP will stop it cold. That could be your
problem...but without knowing any of the code or methods used to send
the file to the print device, that's just a guess.
 
C

Carl Gundel

bbeegle said:
I have a short program written in QBasic. The program
worked properly in WIN 95. Since trying to run on WIN XP
the program will not print to my Lexmark Z52 printer. I do
not get any error messages or freeze up, it just does not
print. Do I need to change some settings?

Do you have more than one printer? If so, does it print to any of
your printers? Are you using LPRINT to send text to the printer, or
some other technique? Is the Lexmark printer attached to the LPT
port, to a USB port, or is it a network printer? I'm not sure QBasic
can print to anything but the LPT port.

If the program is really short, maybe it would be okay to post it here
so we can give you some feedback.

Failing all else, you might try modifying the program to print to a
file, and then print the file out using notepad or something else.

-Carl Gundel, author of Liberty BASIC
http://www.libertybasic.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top