home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12968 < prev    next >
Encoding:
Text File  |  1992-08-27  |  2.1 KB  |  60 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!williams
  3. From: williams@casbah.acns.nwu.edu (Gus Williams)
  4. Subject: RE: Printing to a Paintjet
  5. Message-ID: <1992Aug27.145628.21872@news.acns.nwu.edu>
  6. Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
  7. Organization: Northwestern University, Evanston, Illinois, USA
  8. Date: Thu, 27 Aug 1992 14:56:28 GMT
  9. Lines: 49
  10.  
  11.  
  12.  
  13. In response to several queries recently involving printing to
  14. a paintjet I thought I would summarize how I do it.  We use three
  15. different methods depending on what we start with and what we want.
  16. All three can be written into simple shell scripts to simply print
  17. whatever file it is you want printed.
  18.  
  19. I'll list the options in the order I find most useful.
  20.  
  21. 1)  Use the pbmplus utilities for raster images.
  22.  
  23.     filetoppm <> | ppmdither -red 2 -green 2 -blue 2 | ppmtopj | lp -
  24.  
  25.     Using the dither does a much better job than going straight to
  26.     the paintjet.  You will probably also want to add a pnmgamma
  27.     to adjust the color (I like about a 1.7 on most images) and
  28.     a pnmscale -xysize 1440 1980 to always get as large as image
  29.     as can fit on the page.  Both these should go before the
  30.     ppmdither command.
  31.  
  32. 2)  Use Ghostscript 
  33.     
  34.     gs -sDEVICE=paintjet <>
  35.  
  36.     Has a good driver for the paintjet and paintjetXL.  Nice for
  37.     postscript files or images you have annotated in Showcase.
  38.  
  39. 3)  Use xpr (it's part of the standard X distribution just make sure you
  40.         installed it)
  41.  
  42.     xpr has drivers for both the paintjet and the PaintjetXL.  It
  43.     lets you include all sorts of options, such as internal paintjetXL
  44.     dither algorithms etc.
  45.  
  46.     xpr prints xwd (X-window dump) files.  You can use either xwd to
  47.     dump an X-window or use your favorite image program to convert.
  48.     Again I like pbmplus with the ppmdither command to do this one.
  49.  
  50. Hope this helps.
  51.  
  52. As I said it is easy to put any of these solutions into a simple shell script
  53. to print images.
  54.  
  55. One thing to be aware of though.  All these options produce raw paintjet
  56. files, use the -oraw option to make sure no processing is done by the
  57. lp filter.
  58.  
  59.  
  60.