[ale] Serial Printer

Chris Fowler cfowler at outpostsentinel.com
Thu Jan 22 19:50:20 EST 2004


DB9 (PC)  DB25 (OKI)
-------------------
2         2
3         3
5         7

On Thu, 2004-01-22 at 19:40, Chris Fowler wrote:
> Change speed to 2400.  A Okidata print head can not go as fast as 9600. 
> There is no use to run the serial that fast.  You'll just increase your
> chances of a buffer overflow.
> 
> 
> On Thu, 2004-01-22 at 19:02, Nick Travis wrote:
> > I've got the cable, acutally its 2 converters that use an ethernet cable
> > inbetween, this is how the printer was setup originally, I can get the
> > printer to work fine over the parallel port, but I'm not getting anything
> > from the serial port, I checked the serial settings on the printer:
> > Parity                                      None
> > Serial Data 7/8 Bits                  8 Bits
> > Protocol                                  X-ON/X-OFF
> > Busy Line                                SSD+
> > Baud Rate                                9600BPS
> > DSR Signal                              Invalid
> > DTR Signal                              Ready on Power UP
> > Emulation mode                        IBM PPR
> > 
> > I've tried changing several of these but havn't had any luck, I put it back
> > how it originally was(above settings).
> > 
> > This is my /etc/cups/printers.conf file (the printer dot-s is the serial,
> > dot_1 is the same printer when setup on the parallel interface)
> > 
> > # Printer configuration file for CUPS v1.1.19
> > # Written by cupsd on Thu 22 Jan 2004 06:56:48 PM EST
> > <Printer dot-s>
> > Info
> > Location
> > DeviceURI serial:/dev/ttyS0?baud=9600+bits=8+parity=none+flow=soft
> > State Idle
> > Accepting Yes
> > JobSheets none none
> > QuotaPeriod 0
> > PageLimit 0
> > KLimit 0
> > </Printer>
> > <DefaultPrinter dot_1>
> > Info
> > Location
> > DeviceURI parallel:/dev/lp0
> > State Idle
> > Accepting Yes
> > JobSheets none none
> > QuotaPeriod 0
> > PageLimit 0
> > KLimit 0
> > </Printer>
> > 
> > I verified my serial ports were active:
> > [root at localhost etc]# dmesg | grep tty
> > ttyS0 at 0x03f8 (irq = 4) is a 16550A
> > ttyS1 at 0x02f8 (irq = 3) is a 16550A
> > 
> > Anyone have any ideas?  Is there a command to do something simular to an IP
> > ping for serial to tell if the cable is working?
> > 
> > Nick
> > 
> > ----- Original Message -----
> > From: "Christopher Fowler" <cfowler at outpostsentinel.com>
> > To: "Atlanta Linux Enthusiasts" <ale at ale.org>
> > Sent: Thursday, January 22, 2004 2:33 PM
> > Subject: Re: [ale] Serial Printer
> > 
> > 
> > > Create a DB9 -> DB25 Null modem cable.  Configure the printer correctly
> > > and you'll be fine.
> > >
> > > If this is for your business I know of a local consulting group that
> > > specializes in these type hookups.
> > >
> > >
> > >
> > > On Thu, 2004-01-22 at 14:20, Nick Travis wrote:
> > > > I'm trying to hook up an okidata printer using my serial port, but
> > > > i've never hooked anything up via the serial port so I'm having some
> > > > problems.  Anyone know of any sites that can point me in the right
> > > > direction, everything i've googled up seems to be for modems.  It's a
> > > > fedora core 1 machine.  The serial port on the printer is a 25 pin,
> > > > this printer was previously working on a system that used Digiboards,
> > > > which i have absolutely no knowledge about.  Thanks
> > > >
> > > > Nick
> > > >
> > > > ______________________________________________________________________
> > > >
> > > > _______________________________________________
> > > > Ale mailing list
> > > > Ale at ale.org
> > > > http://www.ale.org/mailman/listinfo/ale
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> > >
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list