home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 3939 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!newwave!matthew
  2. From: matthew@sun.com (Matthew Stier - Sun NC Development Center)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: Re: Help! Problem with Postscript  printer
  5. Message-ID: <17grpsINN3t8@sixgun.East.Sun.COM>
  6. Date: 26 Aug 92 21:07:08 GMT
  7. References: <1992Aug21.233430.20143@usenet.ins.cwru.edu>
  8. Reply-To: matthew@sun.com
  9. Distribution: world
  10. Organization: Sun Microsystems, Inc.
  11. Lines: 28
  12. NNTP-Posting-Host: newwave.east.sun.com
  13.  
  14. In article 20143@usenet.ins.cwru.edu, ramesh@veda (Ramesh Doddamani) writes:
  15. > Hello
  16. > Is there a way to overcome this? Has anybody come across this problem? If we  
  17. > have a filter that changes "%!" to "%!PS-Adobe3.0" will it work? I would  
  18. > appreciate if anybody has a solution for this.
  19.  
  20. Yes this should work.
  21.  
  22. Here is some pseudo-code.
  23.  
  24. first_line = 1;
  25. while ( read_input != eof ) {
  26.     if (first_line) {
  27.         write "%!PS-Adobe3.0"
  28.         first_line = 0;
  29.     }
  30.     write input_line
  31. }
  32.  
  33.  
  34. ---
  35. Matthew Lee Stier                          |
  36. Sun Microsystems ---  RTP, NC  27709-3447  |     "Wisconsin   Escapee"
  37. Email: matthew.stier@East.Sun.COM          |
  38. Phone: (919) 469-8300 fax: (919) 460-8355  | 
  39.