How to print X screen images
The following was contributed by Calvin Howell, Duke U, 7/22/97 :
Hall-A users logged onto the adaq account can print X screen images
using the xsprint command. The command line syntax is:
xsprint [printername]
The printer must be setup for postscript documents. If the printername parameter
is omitted, the default printer, given by the environment variable PRINTER, is
used. If no printername is given and PRINTER is not set, then the screen will
be written in postscript format in the current directory to the Xscreendump.ps
file. Once the command is executed, the cursor will turn into a circle with a
dart in the center, place the circle in the window to be printed and press the
left mouse button. Most screen dumps should take less than a minute. This
command is well suited for printing images of the xscaler display or other
X-window programs that do not have print options.
The xsprint script runs xgrabsc, which is a utility used to dump an
X-window image to a file or a printer in a variety of standard output formats,
e.g., postscript. For more information see the xgrabsc man pages when logged
onto the adaq acccount.