🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6563

Re: Filtering ^D from PS files

#6563
From: Rick Clements
Date: Mon, 04 Jan 1993 17:52
19 lines
1324 bytes
In article <1602@twinkletoes.sbi.com> rpd@twinkletoes.sbi.com (Richard P. Daley) writes:
>From a Postscript neophyte...

>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?

You can remove ^D from files which have ASCII and binary data.  If the file has
raw data you can't.  The serial and parallel ports will handle both ASCII and
binary data.  AppleTalk will handle raw data.

The difference between binary and raw data is binary data has special
characters quoted (^D, ^C, ^S ...).  In level II, the ^D won't appear as a ^D 
in the data.  In level I, different printers quoted binary data differently, so
many programs didn't send  binary data because it wasn't consistant.
-- 
Rick Clements (RickCl@pogo.WV.TEK.COM)
Technical Details
Message-ID: <14191@pogo.wv.tek.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!shaman!pogo!rickcl
References: <1602@twinkletoes.sbi.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!shaman!pogo!rickcl
From: rickcl@pogo.wv.tek.com (Rick Clements)
Newsgroups: comp.lang.postscript
Subject: Re: Filtering ^D from PS files
Message-ID: <14191@pogo.wv.tek.com>
Date: 4 Jan 93 17:52:48 GMT
References: <1602@twinkletoes.sbi.com>
Organization: Tektronix, Inc., Wilsonville,  OR.
Lines: 19