Article View: comp.lang.postscript
Article #91Re: Sending special characters to serial connected LaserWriter
From: Vidiot
Date: Sun, 01 Nov 1992 04:16
Date: Sun, 01 Nov 1992 04:16
35 lines
2386 bytes
2386 bytes
In article <3929@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) 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
<>there is a program on each end that works with serial ports to transfer data
<>in binary (or what is know as Unix raw mode). But, with a printer, raw mode
<>can't be used, otherwise XON/XOFF woudln't work for software handshaking.
<
<Sorry Michael, this is really close to being 100% bogus...
<
<Raw has nothing to do with 8 bit. Except in really primitive (V7 or
<older pure BSD) systems.
<
<Any system that supports termio or termios (System V, SunOS, HPUX, AIX,
<*anything* with any pretensions of being Posix compliant) can go to 8 bit
<and transmit *any* byte from 0x00 through 0xff without going "raw" or even
<"cbreak" or losing XON/XOFF flow control. It's just a "stty cs8 -opost".
<(8 bit, plus no output processing - tab expansion, and \n processing
<must be disabled.)
Sorry, didn't know that it changed. Thanks for the info. I was used to the
old BSD stuff that I worked on. Good news though.
<The original poster's problem is actually making sure that the *printer*
<doesn't barf on control characters. Like having 0x03 in an image causing
<the printer to abort the job. As others have mentioned, *some* printers
<can't manage this.
At least I got something right. :-)
--
harvard\ spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot ucbvax!uwvax..........!astroatc!vidiot!brown
rutgers/ INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
brown@wi.extrel.com
Technical Details
Message-ID:
<4371@vidiot.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!sgiblab!sgigate!rutgers!uwvax!astroatc!vidiot!brownReferences:
<1992Oct26.202733.5318@island.COM> <4353@vidiot.UUCP> <3929@ecicrl.ocunix.on.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!sgiblab!sgigate!rutgers!uwvax!astroatc!vidiot!brown From: brown@vidiot.UUCP (Vidiot) Newsgroups: comp.lang.postscript Subject: Re: Sending special characters to serial connected LaserWriter Message-ID: <4371@vidiot.UUCP> Date: 1 Nov 92 04:16:22 GMT References: <1992Oct26.202733.5318@island.COM> <4353@vidiot.UUCP> <3929@ecicrl.ocunix.on.ca> Reply-To: brown@vidiot.UUCP (Vidiot) Organization: Vidiot's Hangout Lines: 35