home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / unix / saoimage / saodoc.tar / hardcopy.txt < prev    next >
Text File  |  1989-11-21  |  3KB  |  54 lines

  1.  
  2. SAOimage hardcopy
  3.  
  4. outputting an image to a laser printer
  5.  
  6. Clicking on the "print" button in the "etc" submenu dumps a hardcopy
  7. of the main display image to a postscript printer.  The output image
  8. includes the central display window and the colorbar.  Any cursors,
  9. showing in the display window are included in the output.  This is
  10. a monochrome file, not color postscript.
  11.  
  12. In order to get a hardcopy that looks something like what you have on
  13. the screen, it is best to use the "gray" colormap.  You should find
  14. a good scaling for the image and manipulate the contrast with the
  15. "gamma" control.  The output image will be dithered by the Postscript
  16. printer's own dithering algorithm.
  17.  
  18. On color workstations, the image is read from the screen and includes
  19. any graphics which may be showing.  The image also includes the upper
  20. portion of SAOimage (the title area and two auxiliary windows).  By
  21. default, the buttons are not included, but they may be included by
  22. first using the -lprbuttons switch on the command line.
  23.  
  24. When SAOimage is in its mono (halfone display) mode, an image of the
  25. display window, only, is created and printed.  This image is made
  26. directly the internal data, using the current scaling information,
  27. and does not include any cursor graphics graphics.  (It will include
  28. markings made with IRAF's tvmark task).
  29.  
  30. The output file can be directed anywhere by setting an environment
  31. variable called R_DISPOSE.  The R_DISPOSE string is a format statement
  32. for an sprintf which creates the UNIX command, where '%s' will be
  33. replaced by its temporary file name.  The default is "lpr -Plw -r %s".
  34. The -r in the print statement deletes the postscript file after being
  35. printed.  One could, for example, set R_DISPOSE to "mv %s /tmp/foo.ps"
  36. to save the file for later use.
  37.  
  38. If no R_DISPOSE environment variable is set, SAOimage looks for a
  39. PRINTER environment variable.  If one is set, the hardcopy will be
  40. sent to that printer.  If no PRINTER variable is found, the default
  41. destination is lw.
  42.  
  43. The postscript file is scaled to fill an 8.5x11 inch page (regardless
  44. of the printer resolution).  To get a smaller image, centered on the
  45. page, see the comment in the ASCII section at top of the file.
  46.  
  47. Sending an image to a printer over serial lines at 9600 baud, as is
  48. common for the Apple printers, will tie up the printer for about 12
  49. minutes.  Be considerate of other users who use the printer.
  50.  
  51. While this is generally a sufficient and convenient form of hardcopy,
  52. the user may also wish to try "xwd" or one of the several other
  53. window dump facilities available for X11.
  54.