1819871 Members
2697 Online
109607 Solutions
New Discussion юеВ

Screenshot i nHP-UX 11

 
Kudlaty
Occasional Contributor

Screenshot i nHP-UX 11

Hello all,
I have simple question for you but I have problem with it. I want to do screenshot from one active window (or all desktop) in HP-UX 11.00 How I can do this??

Thanx

Qdlaty
8 REPLIES 8
Elmar P. Kolkman
Honored Contributor

Re: Screenshot i nHP-UX 11

Depends on the interface you use. On X-windows you can do a xwd which create a window dump. If it is a terminal connection, I would suggest using a windows terminal emulator, where - will put a window dump in your buffer. Which makes it easy to put window dumps in your documents. The xwd output is not easy to use, you will need some tools to convert them to usable formats.
Every problem has at least one solution. Only some solutions are harder to find.
Robert-Jan Goossens
Honored Contributor
Graham Cameron_1
Honored Contributor

Re: Screenshot i nHP-UX 11

If you don't have a PC and you just want a shot of a terminal window, then TSM will do the job.
Start up tsm, run your app, and when you want to take your screenshot, use ^T to get the TSM menu and then follow cut&paste options to cut your text, then paste into vi, or whatever.
-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Kudlaty
Occasional Contributor

Re: Screenshot i nHP-UX 11

Graham, I want to do screenshot from one application runing in X window (not terminal window).

Thanx

Qdlaty
Tomek Gryszkiewicz
Trusted Contributor

Re: Screenshot i nHP-UX 11

The easy way is to run this application on windows, using xwindows serwer (like X-Win32), and print screen by Alt Print Screen

-Tomek
Pete Randall
Outstanding Contributor

Re: Screenshot i nHP-UX 11

Qdlaty,

We use xwd for this purpose. Something like this (to print):

XPR=/usr/contrib/bin/X11/xpr
XWD=/usr/bin/X11/xwd
HEADER="Printed by `whoami` on `date`"
$XWD -frame | $XPR -header "$HEADER" -cutoff 75| lp -o nb -oraw -d$printer

Or, if you just want to dump to a file:

xwd -nobdrs -out savewindow


You can then reprint the saved file with:

xwud -in savewindow

Or ship it to another display with:

xwud -in savewindow -display $1:0.0
(where $1 is the name of the display)


The xwd command changes your mouse pointer to a "crosshair", which you then use to select the window you want to dump by clicking in the window. Overlapping windows will get captured, so sometimes it's handy to use the alt-tab sequence to bring the desired window to the forefront.


Pete





Pete
V. Nyga
Honored Contributor

Re: Screenshot i nHP-UX 11

Hi,

there was the good old 'screencapture' in UX 10.20 (in /opt).
I've copied it to 11.0 - it works.
It is more comfortable than xwd.
You can say if you want TIFF or BMP which can be read in `Word' for ex.

Do you have a 10.20 anywhere?

Regards
Volkmar
*** Say 'Thanks' with Kudos ***
RolandH
Honored Contributor

Re: Screenshot i nHP-UX 11

Read the text in that patch -->PHSS_29338

Then you know why capture is anymore in the OS.


If you have installed WTSharedX (somewhere on Appl Disks) this patch will re-add this programm back to the OS under /usr/contrib/bin/capture.



=|;-}

HTH
Roland
Sometimes you lose and sometimes the others win