PDA

View Full Version : Screen Capture ?



Raveen Ryan Sundram
23-Aug-2005, 11:03 PM
Hi,

Is there a (procedural) wayto capture/print the Screen to a file?

--
Regards,
Raveen Ryan Sundram
Excellent Software Ltd

Igor van Houttum
24-Aug-2005, 06:03 AM
Raveen,

The Output command can do that for you.


Regards,
Igor van Houttum
Data Access Europe, BV

"Raveen Ryan Sundram" <raveen@xls.co.nz> wrote in message
news:Y4TM5CGqFHA.3128@dacmail.dataaccess.com...
> Hi,
>
> Is there a (procedural) wayto capture/print the Screen to a file?
>
> --
> Regards,
> Raveen Ryan Sundram
> Excellent Software Ltd
>

Raveen Ryan Sundram
24-Aug-2005, 03:51 PM
Igor,

Yes. The Output command outputs an image or the current_image. But I want to
output the entire screen, which could include images from chained from
programs.

Basically, I want to do what the "Prt Scrn" button does, except capture the
output to a file.

Is that possible?

Regards,
Raveen Ryan Sundram



"Igor van Houttum" <Igor_dot_van_dot_Houttum@DataAccess_dot_Nl> wrote in
message news:qXrCFuJqFHA.3952@dacmail.dataaccess.com...
> Raveen,
>
> The Output command can do that for you.
>
>
> Regards,
> Igor van Houttum
> Data Access Europe, BV
>
> "Raveen Ryan Sundram" <raveen@xls.co.nz> wrote in message
> news:Y4TM5CGqFHA.3128@dacmail.dataaccess.com...
>> Hi,
>>
>> Is there a (procedural) wayto capture/print the Screen to a file?
>>
>> --
>> Regards,
>> Raveen Ryan Sundram
>> Excellent Software Ltd
>>
>
>

Roger Loftus
24-Aug-2005, 04:52 PM
Raveen Ryan Sundram wrote:

> Igor,
>
> Yes. The Output command outputs an image or the current_image. But I
> want to output the entire screen, which could include images from
> chained from programs.
>
> Basically, I want to do what the "Prt Scrn" button does, except
> capture the output to a file.
>
> Is that possible?
>
> Regards,
> Raveen Ryan Sundram
>

Raveen:

I don't pretend to be completely clear on what your needs are for this
whole screen view image to a file. But, if you want a picture of the
screen saved in a graphic format, are operating under windows, and can
stand to have a simple graphics program running in the background - no
problem. The free Irfanview can run in the background in capture mode,
and you can program it to use almost any hot key combination to
instantly save the current screen in a graphic format. You can set it
to capture the complete screen, the foreground window, or the client
area of the foreground window. Also it can be set to display the image
before saving, or directly save it to a file as a invisible process.

However, if you want an ascii image of the screen, and again are
running CM Dataflex in a Dos box under Windows, you can get that by
using the edit, mark option in the dos box to get the ascii screen
image you need to the clipboard. From there, I think you can find
programs that would write the ascii image on the clipboard to a file.

Roger Loftus

Free Agent
24-Aug-2005, 09:40 PM
Raveen,
Procedural? This may not help, but........
Shift+PrintScreen puts entire screen in the clipboard.
Open MS Paint or any graphics program. Click Paste and 'save as' whatever
the graphics progam allows.

HTH

Tod Brannen
"Raveen Ryan Sundram" <raveen@xls.co.nz> wrote in message
news:Y4TM5CGqFHA.3128@dacmail.dataaccess.com...
> Hi,
>
> Is there a (procedural) wayto capture/print the Screen to a file?
>
> --
> Regards,
> Raveen Ryan Sundram
> Excellent Software Ltd
>
>

britk9
25-Aug-2005, 05:43 PM
Raveen,

Yes, and ALT+PrintScreen will capture just the task, not the desktop.

HTH,
Mike


"Free Agent" <data_designTRASH@sbcglobal.net> wrote in message
news:2LN8n5RqFHA.3952@dacmail.dataaccess.com...
> Raveen,
> Procedural? This may not help, but........
> Shift+PrintScreen puts entire screen in the clipboard.
> Open MS Paint or any graphics program. Click Paste and 'save as' whatever
> the graphics progam allows.
>
> HTH
>
> Tod Brannen
> "Raveen Ryan Sundram" <raveen@xls.co.nz> wrote in message
> news:Y4TM5CGqFHA.3128@dacmail.dataaccess.com...
> > Hi,
> >
> > Is there a (procedural) wayto capture/print the Screen to a file?
> >
> > --
> > Regards,
> > Raveen Ryan Sundram
> > Excellent Software Ltd
> >
> >
>
>

Vincent Oorsprong
28-Aug-2005, 02:05 AM
Raveen,

Are you using the console mode runtime?

In that case you can probably use:
1. The Windows API routines GetConsoleWindow and ReadConsoleOutput. With
that information you can work with the collected data.
2. Send the Windows message WM_PRINT.

--
Kind Regards,
Vincent Oorsprong
Data Access Europe BV
Lansinkesweg 4
7553 AE Hengelo
The Netherlands
Telephone: +31 (0)74 - 255 56 09
Fax: +31 (0)74 - 250 34 66
http://www.dataaccess.nl

Raveen Ryan Sundram
29-Aug-2005, 04:22 PM
Hi,

There are 2 reasons why I want to do this:

one:
Its more for user support, in some wierd cases - when we need to support
users - we have not idea what they are talking about and what screen is
actually being displayed. So, if I could capture the screen as ASCII to a
file that would be great.

two:
We often have many chained-to programs for selection-list depend what the
user presses/selects - so after a while the screen looks ugly with so many
window open and being displayed. So, if I could capture the screen before
the widows start appearing - I could 'redraw' the screen if it gets too
ugly.

P/s: We are using DF for Linux.

Has anyone done this?

Regards,
Raveen Ryan Sundram





"Roger Loftus" <rloftus@plantingstock.com> wrote in message
news:kp40mYPqFHA.3128@dacmail.dataaccess.com...
> Raveen Ryan Sundram wrote:
>
>> Igor,
>>
>> Yes. The Output command outputs an image or the current_image. But I
>> want to output the entire screen, which could include images from
>> chained from programs.
>>
>> Basically, I want to do what the "Prt Scrn" button does, except
>> capture the output to a file.
>>
>> Is that possible?
>>
>> Regards,
>> Raveen Ryan Sundram
>>
>
> Raveen:
>
> I don't pretend to be completely clear on what your needs are for this
> whole screen view image to a file. But, if you want a picture of the
> screen saved in a graphic format, are operating under windows, and can
> stand to have a simple graphics program running in the background - no
> problem. The free Irfanview can run in the background in capture mode,
> and you can program it to use almost any hot key combination to
> instantly save the current screen in a graphic format. You can set it
> to capture the complete screen, the foreground window, or the client
> area of the foreground window. Also it can be set to display the image
> before saving, or directly save it to a file as a invisible process.
>
> However, if you want an ascii image of the screen, and again are
> running CM Dataflex in a Dos box under Windows, you can get that by
> using the edit, mark option in the dos box to get the ascii screen
> image you need to the clipboard. From there, I think you can find
> programs that would write the ascii image on the clipboard to a file.
>
> Roger Loftus

Marco
29-Aug-2005, 08:05 PM
Raveen,

We are using DF4Linux, butwe've got VNC client on all machines. If
they call the helpdesk, they just link via VNC and see their desktop.
From there you can offcourse do a printscreen etc.

Not an answer to your question, but perhaps something to concider.

Cheers,
Marco

On Tue, 30 Aug 2005 09:22:01 +1200, "Raveen Ryan Sundram"
<raveen@xls.co.nz> wrote:

>Hi,
>
>There are 2 reasons why I want to do this:
>
>one:
>Its more for user support, in some wierd cases - when we need to support
>users - we have not idea what they are talking about and what screen is
>actually being displayed. So, if I could capture the screen as ASCII to a
>file that would be great.
>
>two:
>We often have many chained-to programs for selection-list depend what the
>user presses/selects - so after a while the screen looks ugly with so many
>window open and being displayed. So, if I could capture the screen before
>the widows start appearing - I could 'redraw' the screen if it gets too
>ugly.
>
>P/s: We are using DF for Linux.
>
>Has anyone done this?
>
>Regards,
>Raveen Ryan Sundram
>
>
>
>
>
>"Roger Loftus" <rloftus@plantingstock.com> wrote in message
>news:kp40mYPqFHA.3128@dacmail.dataaccess.com...
>> Raveen Ryan Sundram wrote:
>>
>>> Igor,
>>>
>>> Yes. The Output command outputs an image or the current_image. But I
>>> want to output the entire screen, which could include images from
>>> chained from programs.
>>>
>>> Basically, I want to do what the "Prt Scrn" button does, except
>>> capture the output to a file.
>>>
>>> Is that possible?
>>>
>>> Regards,
>>> Raveen Ryan Sundram
>>>
>>
>> Raveen:
>>
>> I don't pretend to be completely clear on what your needs are for this
>> whole screen view image to a file. But, if you want a picture of the
>> screen saved in a graphic format, are operating under windows, and can
>> stand to have a simple graphics program running in the background - no
>> problem. The free Irfanview can run in the background in capture mode,
>> and you can program it to use almost any hot key combination to
>> instantly save the current screen in a graphic format. You can set it
>> to capture the complete screen, the foreground window, or the client
>> area of the foreground window. Also it can be set to display the image
>> before saving, or directly save it to a file as a invisible process.
>>
>> However, if you want an ascii image of the screen, and again are
>> running CM Dataflex in a Dos box under Windows, you can get that by
>> using the edit, mark option in the dos box to get the ascii screen
>> image you need to the clipboard. From there, I think you can find
>> programs that would write the ascii image on the clipboard to a file.
>>
>> Roger Loftus
>

Joerg Thuemmler
30-Aug-2005, 01:06 AM
Hi,

using linux there is a system way to do this, if you have control
over the printer konfiguration and your way to print is not using
the default printer lp:
Install as Printer "lp" (which is the default linux printer) a
"print to file" printer in "raw" mode and let the user press
PRINTSCREEN if you need a screenshot file.

Seems you should also be able to manage in DFCONFIG what is used as
dataflex default printer (and so not bee in need to use "lp"
therefore), maybe also with the DFPRINTER environment variable, but
I don't know how this works really, it never does, what I wanted and
I'm completely _not_ using all this. I'm managing all printouts over
textfiles and runprogram "lpr ..." (we have lots of task-depended
printers and only a few workstation-attached ones).

hth

joerg

Raveen Ryan Sundram wrote:
> Hi,
>
> There are 2 reasons why I want to do this:
>
> one:
> Its more for user support, in some wierd cases - when we need to support
> users - we have not idea what they are talking about and what screen is
> actually being displayed. So, if I could capture the screen as ASCII to a
> file that would be great.
>
> two:
> We often have many chained-to programs for selection-list depend what the
> user presses/selects - so after a while the screen looks ugly with so many
> window open and being displayed. So, if I could capture the screen before
> the widows start appearing - I could 'redraw' the screen if it gets too
> ugly.
>
> P/s: We are using DF for Linux.
>
> Has anyone done this?
>
> Regards,
> Raveen Ryan Sundram
>
>
>
>
>
> "Roger Loftus" <rloftus@plantingstock.com> wrote in message
> news:kp40mYPqFHA.3128@dacmail.dataaccess.com...
>
>>Raveen Ryan Sundram wrote:
>>
>>
>>>Igor,
>>>
>>>Yes. The Output command outputs an image or the current_image. But I
>>>want to output the entire screen, which could include images from
>>>chained from programs.
>>>
>>>Basically, I want to do what the "Prt Scrn" button does, except
>>>capture the output to a file.
>>>
>>>Is that possible?
>>>
>>>Regards,
>>>Raveen Ryan Sundram
>>>
>>
>>Raveen:
>>
>>I don't pretend to be completely clear on what your needs are for this
>>whole screen view image to a file. But, if you want a picture of the
>>screen saved in a graphic format, are operating under windows, and can
>>stand to have a simple graphics program running in the background - no
>>problem. The free Irfanview can run in the background in capture mode,
>>and you can program it to use almost any hot key combination to
>>instantly save the current screen in a graphic format. You can set it
>>to capture the complete screen, the foreground window, or the client
>>area of the foreground window. Also it can be set to display the image
>>before saving, or directly save it to a file as a invisible process.
>>
>>However, if you want an ascii image of the screen, and again are
>>running CM Dataflex in a Dos box under Windows, you can get that by
>>using the edit, mark option in the dos box to get the ascii screen
>>image you need to the clipboard. From there, I think you can find
>>programs that would write the ascii image on the clipboard to a file.
>>
>>Roger Loftus
>
>
>

Peter van Mil
30-Aug-2005, 02:21 PM
Raveen,

In the past I used the DOS utility PRN2FILE for this kind of screen
caputures. It was a PC Magazine utility. Maybe Linux also has such a
utility.

Regards,

Peter van Mil

Raveen Ryan Sundram schreef:
> Igor,
>
> Yes. The Output command outputs an image or the current_image. But I want to
> output the entire screen, which could include images from chained from
> programs.
>
> Basically, I want to do what the "Prt Scrn" button does, except capture the
> output to a file.
>
> Is that possible?
>
> Regards,
> Raveen Ryan Sundram
>
>
>
> "Igor van Houttum" <Igor_dot_van_dot_Houttum@DataAccess_dot_Nl> wrote in
> message news:qXrCFuJqFHA.3952@dacmail.dataaccess.com...
>
>>Raveen,
>>
>>The Output command can do that for you.
>>
>>
>>Regards,
>>Igor van Houttum
>>Data Access Europe, BV
>>
>>"Raveen Ryan Sundram" <raveen@xls.co.nz> wrote in message
>>news:Y4TM5CGqFHA.3128@dacmail.dataaccess.com...
>>
>>>Hi,
>>>
>>>Is there a (procedural) wayto capture/print the Screen to a file?
>>>
>>>--
>>>Regards,
>>>Raveen Ryan Sundram
>>>Excellent Software Ltd
>>>
>>
>>
>
>