Buffer Overflows HP 5Si to AlphaServer 2000 (OT)

From: Ron Bramblett (bramblet@fuller.com)
Date: Fri Jun 11 2004 - 11:54:12 EDT


Hello,

I have a HP5Si printer that is connected serially through a lantronix
server. It has been working for the longest time but something isn't
right now. I did NOT change anything.

The user prints abunch of invoices each day. We put the invoices
together in batches of 25. Each invoice may print 1 or more pages. At
the front and end of each batch there is a printout say it is finished etc.

The invoices are numbered sequentially for each batch. The user says
that she can print any number of batches and sometimes it will work and
sometimes it will not work right. She has to look at each batch page by
page and see what happens. (When she isn't happy NOBODY is happy)

This is what I have done so far to try and solve this issue.
        
        The lantronix has multiple free ports. I configured 2 other ports, one
by one and then switched the printer to that port and let her try it.
        
        I then changed the lantronix with another one.
        
        I swapped out printers (we have another one like only with less copies.
They are identical except one has less copies than the other one. The
memory was identical down to the barDimm (UNIX barcodes). Each printer
had 16 MB of memory and says they were only using some of the memory no
where max.
        
        I added more memory to give both printers 80 MB each. They had 16 MB
and with the barDimm I had to leave the 16 MB in because it would not
fit with the 32 MB memory. (2 sided issue) I tried with just 64 MB
memory and with 80 MB memory. When I tried with the 64 MB I had BarDimm,
then empty slot, then 2 32 MB memory slots. When I tried the 80 MB it
goes BarDimm then 16 MB slot then 2 32 MB memory slots.

 From the system standpoint.
        AlphaServer 2000 5/300, 512 MB memory, Tru64 4.0g

        We are printing LAT I think.
printcap looks like this
lp14|14|invoice1|INVOICE1:\
         :lf=/usr/adm/lp14err:\
         :lp=:\
         :mx#0:\
         :rm=serv05:\
         :rp=invoice1:\
         :sd=/usr/spool/lpd14:

Lantronix Port looks like this.
  Port 14: Username: Physical Port 14 (Idle)

    Char Size/Stop Bits: 8/1 Input Speed: 38400
    Flow Ctrl: Xon/Xoff Output Speed: 38400
    Parity: None Modem Control: None

    Access: Remote Local Switch: None
    Backward: None Port Name: Port_14
    Break Ctrl: None Session Limit: 1
    Forward: None Terminal Type: Hard()

    Preferred Services: (Lat)
                            (Telnet) ALFRED

    Authorized Groups : 0
    (Current) Groups : 0

    Characteristics: Autoconnect Verify Telnet Pad Queueing

Nothing in the system or Lantronix was changed recently.

Could I use the Loss Characteristic -- Enables or disables a
notification signal (bell) if a character is lost due to data error or
overrun on the serial line.

Possible PASSFLOW Characteristic -- Enable or disable (default) adding
Xon/Xoff characters to the data stream when in Xon/Xoff flow control mode.

Any other ideas would be greatly appreciated.

-- 
Ron Bramblett
Sys Admin
Fuller Brush Company


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:01 EDT