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

  1. Path: sparky!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!uwm.edu!ogicse!das-news.harvard.edu!husc-news.harvard.edu!humcr3.harvard.edu!veloso
  2. From: veloso@husc9.harvard.edu (Manuel Veloso)
  3. Newsgroups: comp.lang.postscript
  4. Subject: Re: Filtering ^D from PS files
  5. Message-ID: <1992Dec30.143827.18904@husc3.harvard.edu>
  6. Date: 30 Dec 92 19:38:25 GMT
  7. Article-I.D.: husc3.1992Dec30.143827.18904
  8. References: <1602@twinkletoes.sbi.com>
  9. Distribution: world
  10. Organization: Harvard University
  11. Lines: 16
  12. Nntp-Posting-Host: humcr3.harvard.edu
  13. X-UserAgent: Nuntius v1.1.1d11
  14. X-XXMessage-ID: <A76766987B021817@humcr3.harvard.edu>
  15. X-XXDate: Wed, 30 Dec 92 14:45:44 GMT
  16.  
  17. In article <1602@twinkletoes.sbi.com> Richard P. Daley,
  18. rpd@twinkletoes.sbi.com writes:
  19. >Can anyone tell me whether it's safe to strip out all ^D characters from
  20. an
  21. >arbitrary Postscript file?  Is it possible for a Postscript file to have
  22. >^D characters that can't be stripped out?  For example, is there a way to
  23. >imbed bitmaps or other binary data using non-printable characters?
  24.  
  25. I tried to do this once because binary images would inevitably have a 
  26. ctrl-d in them. Stripping them out doesn't work, nor does converting 
  27. them. And on the mac, there's no reliable, simple way to tell if the 
  28. ctrl-d is part of a binary image. But if the ctrl-d's are in a certain 
  29. place (before %%BeginDocument or after %%EOF) then they're probably safe 
  30. to strip.
  31.  
  32. Manuel
  33.