I have some legacy data acquisition hardware and associated software
written in QBasic. I have used this over 10 years on '95 and '98
machines and now have an XP machine. The hardware/software output is
a VGA graphic display which I can use "Print Screen" to capture. I
then paste this into Paint and then print it. (A direct path to a
printer never worked.) My 2-step approach works fine in '95 and '98
but not in XP. To clarify, the hardware and software work just fine
on my XP machine - no problem - but "Print Screen" will not capture
the displayed image/output. I'm hoping there is a way to perform the
"Print Screen" (or equivalent) function, as above, in XP. Better
still would be to print the displayed image directly but I think there
is a printer issue involved. Any ideas? TNX! |
Request for Question Clarification by
denco-ga
on
18 Oct 2004 19:10 PDT
Howdy goodflyer-ga,
Just to (probably, and sorry) belabor the point a bit. In XP, just as in
95 and 98, the "Print Screen and then Paste in Paint" method should work.
Is it that it does not work for you when this specific application is run,
or all of the time? In other words, what happens when you are the desktop
and you hit your "Print Screen" key, and then go to Paint and click on Edit
and then Paste?
If the above doesn't work for you at all, then there is probably some type
of software that can handle it. Thanks!
Looking Forward, denco-ga - Google Answers Researcher
|
Clarification of Question by
goodflyer-ga
on
18 Oct 2004 20:33 PDT
Hi -
TNX for query. The "Print Screen" in XP works perfectly otherwise -
just does not work with my QBasic pgm screen output display (VGA).
This is distinctly different from '95, '98 - where "print screen"
works very well with same pgm, same data, same display on monitor. I
tried various key combos - shift, alt, ctrl, etc etc with "print
screen" - no luck. Got my fingers crossed.....!
|
Request for Question Clarification by
tlspiegel-ga
on
18 Oct 2004 20:44 PDT
Hi goodflyer,
Try this:
XP has settings called 'Filter Keys' inside the Accessibility Options
that may be interfering with the PrintScreen function key.
1. Open Control Panel | Accessibility Options
2. Select the Keyboard tab
3. Turn off 'Use FilterKeys'
---
To do this, follow this procedure:
1. Maximize the window you'd like to capture.
2. To copy/capture the current window, hold down ALT + Print Scrn at
the same time. To capture the entire screen, just press Print Scrn.
3. Open a new document in MS Word, MS Photo Editor, or Adobe PhotoShop.
4. Paste the screen shot by holding down CTRL and V at the same time.
5. Print the document when you're finished pasting screen shots.
Please clarify if this worked for you, and if it did I'll be happy to
post in the answer box.
Best regards,
tlspiegel
|
Clarification of Question by
goodflyer-ga
on
19 Oct 2004 06:50 PDT
Hi -
My "Filter Keys" has been OFF all along. Other comments that may be
relavant: The output of my BASIC data acquisition program - which runs
in QBasic - takes two forms: one is numeric data to file, the other
is the display - in my case an X-Y graphic plot. This display always
goes to full VGA screen - not a sizeable window. Both "Print Screen"
or "ALT - Print Screen" work in '95 / '98. BTW - I do not have the
suggested Word, MS Photo Editor, or Adobe Photoshop, but other
standard windows stuff (Paint, Works, whatever) work in '95, '98 but
not XP. I generally use "Paste", tried CTRL V - doesn't matter.
Standing By!
|
Request for Question Clarification by
hummer-ga
on
19 Oct 2004 07:46 PDT
Hi goodflyer,
If it makes you feel any better, you are not alone with this problem,
however, apparently there is no easy way around it. Perhaps you'll
find a workable solution in one of the following links.
qbasic program under Windows XP
"It turns out that QBASIC is a 16-bit language, just like Windows 3.1
was. Windows 95 and above were 32-bit with 16-bit support. Starting
with Windows XP, however, Microsoft has decided to strip the 16-bit
support. Therefore, your Qbasic programs unfortunately won't be able
to run in WindowsXP. The only option, unfortunately, is to perhaps
migrate over to Visual Basic 6 or Visual Basic.NET"
"I have nearly no problem using qbasic in win xp, I simply load
command prompt then qb.exe, and occassionaly it would freeze up, but
since I changed the memory 'properties' of qb.exe to allow protected
memory it works just fine, I can't see why you have a problem."
http://www.daniweb.com/techtalkforums/showthread.php?t=636&page=1
PRINTING FROM SUNTYPE USING WINDOWS XP
http://www.classifiedgroup.com/Printing%20to%20dos%20prn.htm
QBASIC under Windows XP
"I recently solved this problem. I wrote some gwbasic basic programs
that are still in use today. These programs used the LPRINT command
heavily and all stopped working when the computer they were on was
upgraded to WinXP. I changed the program by opening the printer port
for file output:
OPEN "LPT1:" for OUTPUT as #1
To print use PRINT #1, "HELLO"
Follow with a CLOSE #1 to print string.
Worked for me."
"I also use qbasic in windows xp and it works for me, although
sometimes it freezes up, other than that the problem with the LPRINT
is that with windows xp as your primary operating system it will take
about 10 mins for a qbasic program to send all the info to the
printer. I made a fairly simply checksum program that outputted to the
printer and it printed 10 mins later, so just wait."
http://www.daniweb.com/techtalkforums/showthread.php?t=636&page=2
Parallel Port Central
http://www.lvr.com/parport.htm
how can i print graphics in qbasic
"Load GRAPHICS.COM before you run your program. It will do a screen dump every
time you press the Print Screen key.
Or if you are using Windows when you press Print Screen key, it puts it in
clip board. Then paste it to Paintbrush and print it from Paintbrush."
http://groups.google.ca/groups?hl=en&lr=&selm=6s15md%248ce%241%40nnrp1.dejanews.com
The QBasic Forum
http://www.network54.com/Forum/13959
Good luck!
hummer
|
Clarification of Question by
goodflyer-ga
on
19 Oct 2004 13:32 PDT
RE: latest inputs --
Please bear with me - I'm totally new to this ..
... So maybe that's why I'm not sure what needs further clarification.
I've looked at the discussion and links and as best I can tell the
answer is not contained therein, and I also don't see a question
therein. (??) Since it appears I'm not alone with this problem, I'm
guessing it may not be possible to do since surely someone would have
cracked this rock by now. Some considerations that did pop out of
latest reply include my printer not being on an LPT but rather on USB.
Also, I'm not familiar with Visual Basic but in searching find that
it's way too costly for this singular problem. I did try the
"Graphics.com" suggestion - NG. What I'm envisioning now is a "hammer
and chisel" approach of photographing the screen with a digital camera
and printing the result! YUK! Not being computer skilled I guess
what's hard for me to accept is that if something can be made to
appear on one device (the screen) why can't it be made to show up
elsewhere - like a clipboard, or printer, or magic image holding pot?
While I'm not very good at "computer", I do remain a reasonably
"goodflyer"! help.
|