home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9276 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.2 KB

  1. From: masa@hpscit.sc.hp.com (Masayoshi Habu)
  2. Date: Thu, 13 Aug 1992 17:15:50 GMT
  3. Subject: Re: Need 'xwd' -> PostScript
  4. Message-ID: <48350006@hpscit.sc.hp.com>
  5. Organization: Hewlett-Packard, Santa Clara, CA
  6. Path: sparky!uunet!usc!sdd.hp.com!hpscdc!hplextra!hpcc05!hpscit!masa
  7. Newsgroups: comp.sys.hp
  8. References: <1992Aug12.190118.1@isvax.lmsc.lockheed.com>
  9. Lines: 21
  10.  
  11. In comp.sys.hp, hebert@isvax.lmsc.lockheed.com (Rick Hebert, Lockheed-ESC, Houston, 713writes:
  12.  
  13. > Can anyone help me find a way to print from an Xwindow directly (or
  14. > indirectly) to PostScript.  I currently am using X11R4 (no shit) and
  15. > would like to print to a PostScript color printer.  I've tried
  16. > 'xwd' but it ends up with a file in PCL format, so I guess a PCL
  17. > to PostScript program would work too.  I also have a HPGL to PostScript
  18. > program so I guess a PCL to HPGL would work also.
  19.  
  20. What I do to get a simple PS output from an X window is this:
  21.  
  22. xwd | xpr -device ps -rv | lp
  23.  
  24. Command xwd gives you XWD format pixel dump. You can convert it
  25. to PostScript pixel dump or PCL dump with xpr. PCL to HPGL would
  26. be hard if it involves raster to vector conversion.
  27.  
  28. This is only my personal opinion...
  29.  
  30. Masa
  31.  
  32.