- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Screen prints on HPUX 11.00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:12 AM
06-21-2002 07:12 AM
Screen prints on HPUX 11.00
Hi, what's the best way to print parts of the screen that do not support a print feature in the application? Graphs and tables generated by cadence or ads.
Thanks!
-john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:13 AM
06-21-2002 07:13 AM
Re: Screen prints on HPUX 11.00
You can print the whole X window with something like this:
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
Hope this helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:15 AM
06-21-2002 07:15 AM
Re: Screen prints on HPUX 11.00
XWDs is not so portable..
I use imagemagik to port them after.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:19 AM
06-21-2002 07:19 AM
Re: Screen prints on HPUX 11.00
use XV freeware utility or similar ....gimp,imagemagick etc.
use HP's screencapture utility part of mpower web product - purchaseable on apps CD's.
use xwd (see man page for xwd and xpr) eg xwd
screenpr
use sceenpr -h for list of options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2002 01:55 AM
06-24-2002 01:55 AM
Re: Screen prints on HPUX 11.00
- the first prints the whole screen
- the second prints a selected window
function prscreen
{
tmp_file="/tmp/prscreen.$$.tmp"
tmp_file2="/tmp/prscreen.$$.tmp2"
xwd -out $tmp_file -root
xpr -device ljet -output $tmp_file2 -gray 2 $tmp_file
lp -oraw -d$PRINTER $tmp_file2
rm -f $tmp_file2 $tmp_file
}
function prwin
{
tmp_file="/tmp/prwin.$$.tmp"
tmp_file2="/tmp/prwin.$$.tmp2"
xwd -out $tmp_file -screen
xpr -device ps -output $tmp_file2 -gray 2 $tmp_file
lp -onb -d$PRINTER $tmp_file2
rm -f $tmp_file $tmp_file2
}