1833875 Members
1674 Online
110063 Solutions
New Discussion

Print Screen

 
SOLVED
Go to solution
Jan Bjorkquist
Occasional Contributor

Print Screen

How do I use the Prt Scr- Sys Rq key on my HP keyboard?
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: Print Screen

Hi,

I gather you wish to capture the information that is on your screen.

If your using an X based package such as exceed, pressing the print screen on it's own will capture the entire screen. If you using a
terminal emulator such as Esker Tun, the same
key will work. All you need to do is open up
a blank word document and paste the output.
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: Print Screen

I don't know if this is what you are looking for. There is a utility called xwd that can be used to take a snapshot of any X window into a file. Then you can use xwud to view it or xpr to print it.

$/usr/bin/X11/xwd -out /tmp/xwd.out

The cursor will become a plus sign and you can click on any window to dump. Then use xwud to view it later or xpr to print.

$xwud -in /tmp/xwd.out

$xpr /tmp/xwd.out

Look at the man pages for more options.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steve Steel
Honored Contributor

Re: Print Screen

Hi

I use the script below on an 8500 and it works

You need to change the printer name for the lp and the device in xpr to fit your system.

Click an a window. the window prints

Click on root and screen prints

You can add a comment to this script as parameters


Steve Steel

y=$(date)"_"$(hostname)_$LOGNAME
x=$(echo $y|sed -e 's/ /_/g')
z=$(echo $*|sed -e 's/ /_/g')"!"
/bin/rm /tmp/$PPID$LOGNAME 2>/dev/null
xwd -out /tmp/$PPID$LOGNAME
xpr -device dj1200 -header $x -trailer \"$z\" -landscape /tmp/$PPID$LOGNAME |lp
-dbelgo046 -onb
/bin/rm /tmp/$PPID$LOGNAME 2>/dev/null
If you want truly to understand something, try to change it. (Kurt Lewin)