Re: seng a character to printer port...



Almost forgot -- when your open() returns -1, it's telling you the
open() failed. There's no need to close() a file that wasn't open in
the first place.
.