This file is /cdf/run1/documents/development/cdfsga_screen_printing.note Last update was March 30th, 2001 Several people have asked me about ways to take an image from the display and send it to a printer. There are many ways to do this, I present one way below. 1) Specify the display with the command: > setenv DISPLAY xxxxxx.yyyy.zzz:0 (as usual) 2) Modify $HOME/.login to include a line similar to: setenv FLPQUE b0trwqms_ps to select your favorite PostScript printer. 3) Run this script: #!/bin/tcsh -f # A little menu # source ~cdfman/CDF_BASE setup ximagetools @ stop = 0 while (0 == $stop) set button = `xconfirm -noframe -geometry 178x50 -b Exit -b Print` switch ($button) case Print import print.ps flpr print.ps breaksw case Exit @ stop = 1 breaksw default: @ stop = 1 breaksw endsw end 4) Click on Print in the little menu, and then click on the window you want printed.