🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3992

Re: Sending special characters to serial connected LaserWriter

#3992
From: Steve Phillips
Date: Fri, 06 Nov 1992 19:39
28 lines
2114 bytes
In article <BxAvzG.DzL@gpu.utcs.utoronto.ca> tj@gpu.utcs.utoronto.ca (Terry Jones) writes:
>>In article <4353@vidiot.UUCP> brown@vidiot.UUCP (Vidiot) writes:
>>>You will need to send to output to a PostScript printer that has a parallel
>>>port, and not a serial port.  Binary data cannot be sent through a serial
>>>port, plain and simple.  Too many problems.  Things like Xmodem work because
>
>A common reason for the belief that you cannot send binary data over the
>serial line is that the serial communications paramaters are by default
>parity ignore. This means the high bit is getting stripped off. If you
>set the parity setting to NONE then things will work fine. This is 
>certainly easier on newer printers with LCD interfaces than on the
>older printers with setsccbatch commands and a magic table of numbers,
>but it is possible on MOST PS printers. I think some very early ones 
>did not support parity none, like maybe only version 23 LaserWriters.

As far as I know, there is NO way to prevent PostScript from treating ^D
as an end-of-job character for serial or parallel communications.  If you
have even one reserved character out of the ASCII set, you cannot send
down raw binary data - you need at least some kind of filter that lets
you escape special characters such as ^D.

- Steve

-- 
============================================================================
Steve Phillips                                 "Half a mind is a terrible
Tegra-Varityper, Inc., Billerica, MA            thing to waste..."
tegra!phillips@uunet.com                         - Zippy the Pinhead
Technical Details
Message-ID: <BxB7xM.C8n@tegra.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!tegra!phillips
References: <4353@vidiot.UUCP> <13859@pogo.wv.tek.com> <BxAvzG.DzL@gpu.utcs.utoronto.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!tegra!phillips
From: phillips@tegra.com (Steve Phillips)
Subject: Re: Sending special characters to serial connected LaserWriter
Message-ID: <BxB7xM.C8n@tegra.com>
Sender: usenet@tegra.com (Usenet Admin)
Nntp-Posting-Host: sparky
Organization: Tegra-Varityper, Inc. Billerica, MA
References: <4353@vidiot.UUCP> <13859@pogo.wv.tek.com> <BxAvzG.DzL@gpu.utcs.utoronto.ca>
Date: Fri, 6 Nov 1992 19:39:21 GMT
Lines: 28