For Programmers: Free Programming Magazines  


Home > Archive > Clipper > July 2005 > Print Screen Key









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Print Screen Key
Dass

2005-07-24, 8:17 pm

Help me

i have a Windows XP
in full-screen MS-DOS mode i can't using the key "print screen" to directly
to the printer

why? help me a solluction

thks


Mike

2005-07-24, 8:17 pm

Can't do it without a third party program.

Mike

Eric

2005-07-24, 8:17 pm



Dass wrote:
> Help me
>
> i have a Windows XP
> in full-screen MS-DOS mode i can't using the key "print screen" to directly
> to the printer
>
> why? help me a solluction
>
> thks


You can't use the printscreen key, but you can attach your own function
to a menu or Alt-key.

Here is a function called ScreenDump() that I wrote ages ago. It ain't
pretty and it only works with the "standard" screen size. But you can
send it to a printer or file.

FUNCTION ScreenDump(p_printer, p_append)
* take a snap-shot of the screen and send it to p_printer
* or current printer if no parameter

private fullscreen, cleanscreen, x, oldprinter

* cleanup the parameter
p_append := IIF(p_append == NIL, .F., p_append)

* get a copy of the current screen
fullscreen := savescreen()

* remove the color attribute (every other character)
cleanscreen := ""
for x := 1 to len(fullscreen) step 2
cleanscreen += substr(fullscreen,x,1)
next

* change to the printer specified in parameter
if p_printer <> NIL
oldprinter := set(_SET_PRINTFILE, p_printer, p_append)
endif

* turn on the printer
set device to print
set printer on
set console off

* print the cleaned-up screen variable
for x := 1 to len(cleanscreen) step 80
?? substr( cleanscreen, x, 80)
?? chr(13) + chr(10)
next
eject

* put everything back
set printer off
set console on
set device to screen
if p_printer <> NIL
set(_SET_PRINTFILE, oldprinter)
endif

return
* end of ScreenDump()

Fred Zuckerman

2005-07-24, 8:17 pm

Although complicated, this usually works:

using the "prtscrn" button actually captures the screen into the windows
clipboard (similar to ctrl-C). Then if you alt-tab into notepad, or wordpad,
or MSWord, etc you can paste the screen (ctrl-V). Then you can print from
that program.

Note, I have found that some computers use various key combinations for
"prntscrn". You just have to try them to see which one works:
"PrtScrn"
"ctrl-PrtScrn"
"alt-PrtScrn"
"shift-PrtScrn"

Good Luck,
Fred




"Dass" <dass@not.me> wrote in message
news:42dfbc2a$0$18807$a729d347@news.telepac.pt...
> Help me
>
> i have a Windows XP
> in full-screen MS-DOS mode i can't using the key "print screen" to

directly
> to the printer
>
> why? help me a solluction
>
> thks
>
>



Dass

2005-07-24, 8:17 pm

Great Solluction

Thks Very Much


Mike

2005-07-24, 8:17 pm

Fred & Eric,

He asked about "full-screen MS-DOS mode". I thought it could be done
in a window (I cut and paste to WP for documentation).

Do these methods work in "full-screen MS-DOS mode"?

Mike

Fred Zuckerman

2005-07-24, 8:17 pm

I use cut & paste (via prtscrn) in full screen DOS mode.
Fred


"Mike" <mgmurch@yahoo.com> wrote in message
news:1122046544.470103.264710@f14g2000cwb.googlegroups.com...
> Fred & Eric,
>
> He asked about "full-screen MS-DOS mode". I thought it could be done
> in a window (I cut and paste to WP for documentation).
>
> Do these methods work in "full-screen MS-DOS mode"?
>
> Mike
>



bennyyap@yahoo.com

2005-07-24, 8:17 pm

Hi,

Long ago I had used the program Screen Thief whereby upon pressing a
hotkey the screen will be saved to a .tiff file format.

I used it extensively when working on documentation on Wordperfect 5.1
days

Regards
Benny

Mike wrote:
> Fred & Eric,
>
> He asked about "full-screen MS-DOS mode". I thought it could be done
> in a window (I cut and paste to WP for documentation).
>
> Do these methods work in "full-screen MS-DOS mode"?
>
> Mike


Markus Wiederstein

2005-07-24, 8:17 pm


http://www.atlantsoft.com/utils/screen.htm

- possibility to capture image from DOS and DirectX programs (games)
- simplest process to make screen shots
- various and powerful modes of capturing: full screen region
any visible control (such button or window)
active window
active window without border
repeat last capture
- allows to capture multiple images
- allows to capture cursor image
- all major graphics formats for opening external images
- most used graphics formats for saving images - BMP, JPEG, TGA, GIF, PNG,
PCX, WMF, EMF and TIFF
- allows editing images:
color adjustment
image processing (resize, rotate at any angle, flip, crop, filters)
large set of graphics elements (shapes, arrows, free lines, fill, spray,
text, highlight etc.)
- allows printing images, to copy to clipboard or save
- automatic mode for saving your time
- allows accurately to define part of needful region of screen
- allows accurately to define part of captured image in postprocess
- install & uninstall support












Am Sat, 23 Jul 2005 06:14:16 +0200 hat <bennyyap@yahoo.com> geschrieben:

> Hi,
>
> Long ago I had used the program Screen Thief whereby upon pressing a
> hotkey the screen will be saved to a .tiff file format.
>
> I used it extensively when working on documentation on Wordperfect 5.1
> days
>
> Regards
> Benny
>
> Mike wrote:
>




--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com