Article View: comp.lang.postscript
Article #1147Re: ^M in PostScript files
From: Ben Cranston
Date: Tue, 03 Oct 1989 22:40
Date: Tue, 03 Oct 1989 22:40
23 lines
1734 bytes
1734 bytes
In article <9969@venera.isi.edu> britt@venera.isi.edu.UUCP (Benjamin Britt) writes:
> ... LaserWriter interpreter, when using serial I/O,
> automatically converts carriage return (and carriage return immediately
> followed by newline) to newline.
> Is there a way a PostScript program can disable this translation
> and read a line of input verbatim?
The Diablo emulation requires the engine to distinguish between CR and LF.
This is machine dependant, but in several machines I have noticed the setup
procedure for Diablo setting a "transparent flag" in one of the system's
directories. I suspect, however, that setting this flag will also disable
the control-D end of file stuff and the control-T status query. You should
probably think very carefully what this means (to, say, any spooling software
you might be running) before you attempt to use this flag.
When driving the printer from Localtalk the CR mapping does not happen.
I have seen a Mac program that accepts jobs from a serial line and puts them
out on Localtalk. You might not want to go this far...
--
Sig DS.L ('ZBen') ; Ben Cranston <zben@Trantor.UMD.EDU>
* Computer Science Center Network Infrastructures Group
* University of Maryland at College Park
Technical Details
Message-ID:
<5413@umd5.umd.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!haven!umd5!zbenReferences:
<9969@venera.isi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!haven!umd5!zben From: zben@umd5.umd.edu (Ben Cranston) Newsgroups: comp.lang.postscript Subject: Re: ^M in PostScript files Summary: Maybe you can bypass CR translation Message-ID: <5413@umd5.umd.edu> Date: 3 Oct 89 22:40:05 GMT References: <9969@venera.isi.edu> Reply-To: zben@umd5.umd.edu (Ben Cranston) Organization: University of Maryland, College Park Lines: 23