Article View: comp.lang.postscript
Article #42Re: Sending special characters to serial connected LaserWriter
From: Jeff Clowser; IRG
Date: Wed, 28 Oct 1992 17:32
Date: Wed, 28 Oct 1992 17:32
39 lines
2635 bytes
2635 bytes
In article <4353@vidiot.UUCP>, brown@vidiot.UUCP (Vidiot) writes... >< ><I figure there must be a way to get this to work because I don't ><hear people complaining about not being able to print their Mac ><PostScript files via CAP because they contain binary data. If ><anyone can shed some light on this, I'd appreciate it. > >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. > >The cure is to run the PostScript program through another piece of code that >will convert the readstring to readhexstring and turn each binary character >into two hex characters. That will work just fine. > >At least, that is what I would do. >-- > 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 uh, I happen to have a Personal Laserwriter NT, configured as a serial printer, 9600bd,8,N,1, XON/XOFF, binary postscript, so I know it works. In fact, that is one of the default settings for this printer. It shows how to set it up (more or less) in the appendices of the printer manual. BTW - There is no such thing as a parallel port on a PLW NT... =============================================================================== Jeff Clowser "A keyboard... how quaint" JeffC@comb1.comb.umd.edu Network Administrator, Macintosh Technical Support Information Resources Group, Maryland Biotechnology Institute University of Maryland
Technical Details
Message-ID:
<28OCT199212320113@comb1.comb.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!haven.umd.edu!news.umbc.edu!comb1.comb.umd.edu!jeffcReferences:
<1992Oct26.202733.5318@island.COM> <4353@vidiot.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript,comp.periphs.printers,comp.protocols.appletalk Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!haven.umd.edu!news.umbc.edu!comb1.comb.umd.edu!jeffc From: jeffc@comb1.comb.umd.edu (Jeff Clowser; IRG) Subject: Re: Sending special characters to serial connected LaserWriter Message-ID: <28OCT199212320113@comb1.comb.umd.edu> News-Software: VAX/VMS VNEWS 1.41 Sender: newspost@umbc3.umbc.edu (News posting account) Organization: University of Maryland, Center of Marine Biotechnology References: <1992Oct26.202733.5318@island.COM> <4353@vidiot.UUCP> Date: Wed, 28 Oct 1992 17:32:00 GMT Lines: 39