🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix
Article #240

Serial port config'n

#240
From: Gary Horton
Date: Wed, 10 Oct 1990 03:49
16 lines
1277 bytes
I'm on a Sparc 1+, running SunOS 4.1, and am attempting to
send bytes via a serial port to an HP PaintJet to 
accomplish raster graphics. I have determined that zero-filled
bytes cause confusion.  Baud and parity are fine (9600, none)
and I've used library routine ioctl() to configure the port
for 'no post-processing'.  All other values produce the
expected raster image; does anyone know what to do to 
render zeroes usefully?  Somewhere I've heard that serial
ports discard null characters unless instructed otherwise.
Oddly, with same serial port configuration, I do NOT have
this problem on an HP9876A Thermal Printer (the only diff. 
being baud here is 19200); ergo, I did not initially suspect
the port config'n.  Could it be on the printer side?

Please send replies directly to me; thanks very much for any
help!!!
Technical Details
Message-ID: <2164@megadon.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!ames!vsi1!altos!megadon!clp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!ames!vsi1!altos!megadon!clp
From: gary@spock.atd.ucar.edu (Gary Horton)
Newsgroups: comp.unix
Subject: Serial port config'n
Message-ID: <2164@megadon.UUCP>
Date: 10 Oct 90 03:49:47 GMT
Sender: clp@megadon.UUCP
Organization: National Center for Atmospheric Research, Boulder, CO
Lines: 16
Approved: clp@megadon.UUCP