home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / postscri / 6122 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.3 KB

  1. Path: sparky!uunet!psinntp!internet!sbi!zeuswtc!twinkletoes!rpd
  2. From: rpd@twinkletoes.sbi.com (Richard P. Daley)
  3. Newsgroups: comp.lang.postscript
  4. Subject: Filtering ^D from PS files
  5. Message-ID: <1602@twinkletoes.sbi.com>
  6. Date: 30 Dec 92 03:24:54 GMT
  7. Organization: Fulcrum - Salomon Brothers, NY
  8. Lines: 22
  9.  
  10. From a Postscript neophyte...
  11.  
  12. I understand that some PC software is in the habit of creating Postscript files
  13. which contain ^D characters, to make printing via serial connections work.
  14. I have various software packages on my SPARCStation which print, fax, and view
  15. Postscript files, and some of these packages don't like finding ^D characters
  16. imbedded in the Postscript.  I'd like to use a simple filter to get rid of the
  17. ^D characters.
  18.  
  19. Can anyone tell me whether it's safe to strip out all ^D characters from an
  20. arbitrary Postscript file?  Is it possible for a Postscript file to have
  21. ^D characters that can't be stripped out?  For example, is there a way to
  22. imbed bitmaps or other binary data using non-printable characters?
  23.  
  24. Should my filter be a little smarter, and only filter out ^D characters that
  25. show up at the beginning of the file?  Is there any software which is
  26. creating Postscript files with a ^D at the end as well?
  27.  
  28. Thanks for any advice,
  29.  
  30. Rick Daley
  31. rdaley@sbi.com
  32.