Serial Printing Problems


Subject: Serial Printing Problems
From: Kyle Poland (kyle_poland@REMOVEexcite.com)
Date: Thu Mar 14 2002 - 10:48:39 MST


Hi, I'm looking for some help in printing to a locally connected HP LaserJet
Postscript printer. I am running YDL2.0, kernel 2.2.19-1k, on a beige G3.
The printer is attached to the "printer" port which, as I understand it, is
the same as the serial port /dev/ttyS1. I don't think I am as far as LPRng
config yet because I can't even get anything out of ttyS1.

dmesg indicates the following about the serial ports:
        Serial driver version 4.27 with no serial options enabled
        PowerMac Z8530 serial driver version 2.0
        ttyS0 at 0xf3013020 (irq = 15) is a Z8530 ESCC, port = modem
        ttyS1 at 0xf3013000 (irq = 16) is a Z8530 ESCC, port = printer

I've tried the following as root that I picked up from another post:
# stty -F /dev/ttyS1 230400 raw echo cstopb
# stty -F /dev/ttyS1 ixon ixoff
# echo -en "please print this\n\f" > /dev/ttyS1

...and I get nothing. Is there something different I should be doing with
stty, or setserial, or another way to check the serial port? Or is netatalk
required when printing to a locally connected printer as in my situation?

Thanks -kyle



This archive was generated by hypermail 2a24 : Thu Mar 14 2002 - 11:04:19 MST