Operating System - HP-UX
1838241 Members
3429 Online
110125 Solutions
New Discussion

Re: Sreenshot sofware running under HP-UX 11

 
SOLVED
Go to solution
Christophe MESTDACH
Occasional Advisor

Sreenshot sofware running under HP-UX 11

Hello,

I need to find a screenshot software running under HP-UX 11 and a freeware if possible.

Thanks in advance.
16 REPLIES 16
Michael Elleby III_1
Trusted Contributor

Re: Sreenshot sofware running under HP-UX 11

Hmmm, what is it that you need a snapshot of?

Why not install Reflection X or Exceed, which will allow you to copy the screen to the clipboard for pasting or directly to a printer for printing?

Mike-
Knowledge Is Power
Gregory Fruth
Esteemed Contributor

Re: Sreenshot sofware running under HP-UX 11

The HP-supplied tools /opt/screencapture/bin/capture and
/usr/bin/X11/xwd ought to do what you want.
Pete Randall
Outstanding Contributor

Re: Sreenshot sofware running under HP-UX 11

I don't know what you want to do with your screen images but take a look at xwd: /usr/bin/X11/xwd and man xwd. This will capture an image of an X window for subsequent display or printing through xpr (/usr/contrib/bin/X11/xpr).


Pete



Pete
Shannon Petry
Honored Contributor

Re: Sreenshot sofware running under HP-UX 11

xwd is a defacto X-11R5+ tool for dumping screens. Used in conjunction with something like gimp, you can turn the x-window-dumps into tiff's, jpegs, bitmaps, etc...
If your not worried about proprietary code, then install the wt-tools from your application media. This includes HP screen capture software which does jped and tiff by default, plus xwd format.


Regards,
Shannon
Microsoft. When do you want a virus today?
Christophe MESTDACH
Occasional Advisor

Re: Sreenshot sofware running under HP-UX 11

I must write a document of installation for an application which I developed under HP-UX 11.

With this intention, I insert screenshots in the document.

PS : excuse-me for my bad english
Shannon Petry
Honored Contributor

Re: Sreenshot sofware running under HP-UX 11

If you want free and easy, then use screencapture for HP-UX or GIMP+xwd. You will need to install either, but I use them alot for similar reasons.

If money is not an object, Adobe FrameMaker for HP-UX is the way to go. You can write, spell check, format, and take on the fly screen shots and insert them in your doc's.

Regards,
Shannon
Microsoft. When do you want a virus today?
Paula J Frazer-Campbell
Honored Contributor

Re: Sreenshot sofware running under HP-UX 11

Hi

Cheap and easy.

Telnet to the server from a Windows machine.

When you want a screen shot :- shift+print screen.

Open almonst any MS app (word,excell,powerpoint) or graphics programme and then ctrl+v or select edit paste.


Paula
If you can spell SysAdmin then you is one - anon
Shannon Petry
Honored Contributor

Re: Sreenshot sofware running under HP-UX 11

Paula, your supposed to steer people away from windblows, not into it!!!!


:P







Shannon
Microsoft. When do you want a virus today?
Paula J Frazer-Campbell
Honored Contributor

Re: Sreenshot sofware running under HP-UX 11

Sorry Shannon

I cound not resist posting it.

Paula
If you can spell SysAdmin then you is one - anon
Caesar_3
Esteemed Contributor

Re: Sreenshot sofware running under HP-UX 11

Hello!

Goto http://hpux.connect.org.uk/
download the xv program and there you have
screenshot option.

Caesar
Martin Christov
Advisor

Re: Sreenshot sofware running under HP-UX 11

Hi,

please try for screenshot with "dark background"
...
/usr/bin/X11/xwd|/usr/contrib/bin/X11/xpr -density 150 -landscape -cutoff 67 -header "${LOGNAME}" -device ljet|lp -oraw -d${DRUCKER_DFLT} -oBSDJ/nff/nb

and for screenshot with " light background"
...
/usr/bin/X11/xwd|/usr/contrib/bin/X11/xpr -rv -density 150 -landscape -cutoff 67 -header "${LOGNAME}" -device ljet|lp -oraw -d${DRUCKER_DFLT} -oBSDJ/nff/nb

Regards:
Martin

sudo question
Pete Randall
Outstanding Contributor

Re: Sreenshot sofware running under HP-UX 11

Martin,

What's ${DRUCKER_DFLT} ?

;^)
Pete



Pete
Wodisch
Honored Contributor
Solution

Re: Sreenshot sofware running under HP-UX 11

Hi,

Add some lines to your CDE-session's "Root Menu", then "right-mouse-click" into the background and click on "Print Window", whenever you want a "Print" of a window or "Print Screen" for the whole screen.
The procedure is:
01) cd # go home
02) cd .dt # your CDE session's memory
03) cp /usr/dt/config/C/sys.dtwmrc dtwmrc
04) # add the following lines to that file ($HOME/.dt/dtwmrc) into the "Root Menu" paragraph:
"Dump Window..." f.exec "my.dump.screen -frame"
"Dump Screen" f.exec "my.dump.screen -root"
05) store the following script somewhere in your $PATH:
#!/usr/bin/sh
# my.dump.screen: save windows/screens to disk
DIR=/tmp/screendumps
NUM=$DIR/.cnt
# create the directoy - if neccessary
if [ ! -d $DIR ]
then mkdir $DIR
echo 0 > $NUM
fi
# get the last number
if [ -s $DIR/.cnt ]
then n="$(cat $NUM)"
else n=0
fi
((n=n+1)
# save the next number
echo "$n" > $NUM
# save the window/screen
xwd $* > $DIR/dump.$n
exit 0
# end of script
06) give execute permission to that script

Now right-mouse click into your background and "Restart Workspace Manager".
Next time you do the right-mouse-click that menu should show the two "print" options.
The screen/window dumps (in "xwd" format) are to be found in "/tmp/screendumps/".

Find the script attached.

FWIW,
Wodisch


PS: Pete, DRUCKER_DFLT is german, of course - did you still not manage to learn it, after all these years? ;-)
Wodisch
Honored Contributor

Re: Sreenshot sofware running under HP-UX 11

Hi,

Find the ".dt/dtwmrc" attached.

FWIW,
Wodisch
Pete Randall
Outstanding Contributor

Re: Sreenshot sofware running under HP-UX 11

Wodisch,

Still blissfully ignorant, thankyou!


Pete



Pete
NDQ_1
Advisor

Re: Sreenshot sofware running under HP-UX 11

Hi,
Try ImageMagick ! It works very well for me under HP-UX-11.00 and it's FREE :-) You can make your screenshot with PNG, TIFF, JPEG,... very easily.
It's a great software.

HTH,
NDQ