home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / postscri / 6130 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.lang.postscript
  2. Path: sparky!uunet!munnari.oz.au!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!stortek!sanitas!pg
  3. From: pg@sanitas.stortek.com (Paul Gilmartin)
  4. Subject: Re: Filtering ^D from PS files
  5. Message-ID: <1992Dec31.001558.28616@stortek.com>
  6. Sender: usenet@stortek.com
  7. Nntp-Posting-Host: sanitas.stortek.com
  8. Organization: Storage Technology Corp.
  9. X-Newsreader: TIN [version 1.1 PL7]
  10. References: <1602@twinkletoes.sbi.com>
  11. Date: Thu, 31 Dec 1992 00:15:58 GMT
  12. Lines: 17
  13.  
  14. Richard P. Daley (rpd@twinkletoes.sbi.com) wrote:
  15. : I understand that some PC software is in the habit of creating Postscript files
  16. : which contain ^D characters, to make printing via serial connections work.
  17. : I have various software packages on my SPARCStation which print, fax, and view
  18. : Postscript files, and some of these packages don't like finding ^D characters
  19. : imbedded in the Postscript.  I'd like to use a simple filter to get rid of the
  20. : ^D characters.
  21.  
  22. It may help to concatenate your PostScript file after the following:
  23.  
  24. %!
  25. <04> cvn {} def
  26.  
  27. which redefines the ^D as a no-op to PostScript.  You might also
  28. want to try a similar trick for the ^Z with <1A> instead of <04>.
  29. This should preserve those characters in binary images.
  30.  
  31.