Hi Steve,
Currently there isn’t a version of snapshot that does this, but
you can be the first to make one! 
Basicly the key function calls you are going to need are:
- PgReadScreen (this is well documented)
- PxWriteImage (not doc’d yet, but I will explain what you will need
to do).
From Snapshot:
PxWriteImage(name,data,&methods,fmt,0));
name = any name you want as a text string.
data = PhImage_t *image that is returned from PgReadScreen.
&methods = This is a PxMethods_t stuct, you will be concered
with the .flags, everything else should be 0’d out.
The flags you are going to want to set are:
PX_LOAD | PX_DIRECT_COLOR | PX_TRANSPARENT
fmt = PX_IMAGE_BMP
last parameter (not sure exactly what it is) = 0 (which I wish I knew
more information on), perhaps the person who wrote it could elaborate
on its use?
You will also require the header
#include <photon/PxImage.h>
for PxWriteImage.
This should be enough for you to get what you want to do.
Hope it helps!
Erick.
Steve Shumway <sshumway@facts-inc.com> wrote:
Hi there;
I need to do a screen dump / capture and print. The desired format is .BMP
for the screen dump results. Is there a utility (or utilities) that I can
get my hands on that does this kind of thing?
I’ve played around with snapshot. The short fall here is that it always pops
up a dialogue box. This is undesirable. I need to be able to perform the
screen capture without operator intervention. This is an industrial /
factory floor operation, and we don’t want or need that kind of operator
involvement in the process.
Thanks for your help.
Steve Shumway
FACTS, Inc.
sshumway@facts-inc.com