Path: 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

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 
* Computer Science Center Network Infrastructures Group
* University of Maryland at College Park