🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5863

Re: Filtering ^D from PS files

#5863
From: Manuel Veloso
Date: Wed, 30 Dec 1992 19:38
16 lines
1499 bytes
In article <1602@twinkletoes.sbi.com> Richard P. Daley,
rpd@twinkletoes.sbi.com writes:
>Can anyone tell me whether it's safe to strip out all ^D characters from
an
>arbitrary Postscript file?  Is it possible for a Postscript file to have
>^D characters that can't be stripped out?  For example, is there a way to
>imbed bitmaps or other binary data using non-printable characters?

I tried to do this once because binary images would inevitably have a 
ctrl-d in them. Stripping them out doesn't work, nor does converting 
them. And on the mac, there's no reliable, simple way to tell if the 
ctrl-d is part of a binary image. But if the ctrl-d's are in a certain 
place (before %%BeginDocument or after %%EOF) then they're probably safe 
to strip.

Manuel
Technical Details
Message-ID: <1992Dec30.143827.18904@husc3.harvard.edu>
Path: arc1-ca.pugleaf.net!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
References: <1602@twinkletoes.sbi.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: veloso@husc9.harvard.edu (Manuel Veloso)
Newsgroups: comp.lang.postscript
Subject: Re: Filtering ^D from PS files
Message-ID: <1992Dec30.143827.18904@husc3.harvard.edu>
Date: 30 Dec 92 19:38:25 GMT
Article-I.D.: husc3.1992Dec30.143827.18904
References: <1602@twinkletoes.sbi.com>
Distribution: world
Organization: Harvard University
Lines: 16
Nntp-Posting-Host: humcr3.harvard.edu
X-UserAgent: Nuntius v1.1.1d11
X-XXMessage-ID: <A76766987B021817@humcr3.harvard.edu>
X-XXDate: Wed, 30 Dec 92 14:45:44 GMT