Operating System - HP-UX
1833059 Members
2430 Online
110049 Solutions
New Discussion

How to change the interface window into image file

 
szhiyong
Frequent Advisor

How to change the interface window into image file

Hi,

I want to change my interface window into image file in the hp/ux 10.20, so I can print the interface image and edit it.

Would someone please tell me how to do it?

Thanks.

Zhiyong
My life is now asking and learning, I wish It can change into replying and discussing
7 REPLIES 7
Andrew_4
Honored Contributor

Re: How to change the interface window into image file

Hi,

You'll have to give us some more information !

What 'interface window' are you talking about ? Is it some window within CDE ? or an application of yours ?

Andrew
The Unix Programmer's Manual, 2nd Edition, June, 1972: "The number of Unix installations has grown to 10, with more expected."
harry d brown jr
Honored Contributor

Re: How to change the interface window into image file

When I want to "capture" a screen, I used Exceed from my PC and do a ctrl-print, then open something like word and paste it.

live free or die
harry
Live Free or Die
szhiyong
Frequent Advisor

Re: How to change the interface window into image file

Hi,Andrew and Harry,

Thanks for your reply. I mean to capture the screen on the CDE.

Is there some way to capture the screen on the CDE by command?

Zhiyong
My life is now asking and learning, I wish It can change into replying and discussing
Andreas Voss
Honored Contributor

Re: How to change the interface window into image file

Hi,

you can install xv which can capture screen windows and save in various formats.
You can get it here:
http://hpux.connect.org.uk/hppd/hpux/X11/Viewers/xv-3.10a/

Regards
Alex Glennie
Honored Contributor

Re: How to change the interface window into image file

Xv is one such tool, /opt/screencapture/bin/capure is another but I think it's installed as part of the mpower /imageview products (purchaseable). xwd/xwud is another (see man pages) and also you *could* get away with using CDE's icon editor .... it has a screencapture function.

One other point to note if you are trying to capture the CDE login screen you'd need to edit the resource : /etc/dt/config/Xconfig : Dtlogin*Grabserver : False (copy of file exists in /usr/dt/config).
Bill McNAMARA_1
Honored Contributor

Re: How to change the interface window into image file

try
xwd to do an x window dump.

very easy
echo $DISPLAY
make sure it's good.. as usual..

xwd -root -out filename.xwd

click
beep beep.

to view it: xw undump

xwud -in filename.xwd

lots of image converters will convert it, such as imagemagic. But you should be able to print that no problem...

Later,
Bill
It works for me (tm)
szhiyong
Frequent Advisor

Re: How to change the interface window into image file

Hi,Bill,Alex and Andreas,

Thanks for your reply.

I try the ways you suggested, they all can capture the screen.

Have a good day.

Zhiyong
My life is now asking and learning, I wish It can change into replying and discussing