Article View: comp.lang.postscript
Article #5865Re: Filtering ^D from PS files
From: Paul Gilmartin
Date: Thu, 31 Dec 1992 00:15
Date: Thu, 31 Dec 1992 00:15
16 lines
1278 bytes
1278 bytes
Richard P. Daley (rpd@twinkletoes.sbi.com) wrote:
: I understand that some PC software is in the habit of creating Postscript files
: which contain ^D characters, to make printing via serial connections work.
: I have various software packages on my SPARCStation which print, fax, and view
: Postscript files, and some of these packages don't like finding ^D characters
: imbedded in the Postscript. I'd like to use a simple filter to get rid of the
: ^D characters.
It may help to concatenate your PostScript file after the following:
%!
<04> cvn {} def
which redefines the ^D as a no-op to PostScript. You might also
want to try a similar trick for the ^Z with <1A> instead of <04>.
This should preserve those characters in binary images.
Technical Details
Message-ID:
<1992Dec31.001558.28616@stortek.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!stortek!sanitas!pgReferences:
<1602@twinkletoes.sbi.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!csn!stortek!sanitas!pg From: pg@sanitas.stortek.com (Paul Gilmartin) Subject: Re: Filtering ^D from PS files Message-ID: <1992Dec31.001558.28616@stortek.com> Sender: usenet@stortek.com Nntp-Posting-Host: sanitas.stortek.com Organization: Storage Technology Corp. X-Newsreader: TIN [version 1.1 PL7] References: <1602@twinkletoes.sbi.com> Date: Thu, 31 Dec 1992 00:15:58 GMT Lines: 17