On Wed, 21 Mar 2001 18:13:23 -0500, patrick wrote
> Currently my HP DeskWriter is plugged into the modem port of my 8500/G3
> running LinuxPPC 2.2.18. However, when I try to switch to ttyS1 (which I'm
> assuming is the printer port) and plug the printer into the printer port,
> I get garbage when printing test pages from printtool.
> Plug it back into the modem port, and go back to ttyS0, everything is
> fine again.
> Is ttyS1 *not* the PrinterPort?
I can't speak to your *exact* configuration, because I have a
Mac 7200/90 running the Debian distribution. However, I just
recently installed Linux myself and had a serial printer
problem which sounds just like yours. I have a HP DeskJet 855C,
which may have a similar protocol.
After much mailing list and Web-site searching, I found the
following site, which solved my problem.
Briefly, the problem may be that your printer port driver
(yes, it's ttyS1) has its baud rate set incorrectly as a default.
The above URL will show you how to set it correctly by using "stty".
If this solves your problem, be sure to insert the "stty" command
within the proper system startup script, so you don't have to enter
it manually every time. I don't know what the proper script would be
in a LinuxPPC distribution.