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