[comp.unix.ultrix] printing and terminal servers

HATHAWA@gecrdvm1.crd.ge.com (Barry Hathaway) (08/03/90)

I can't seem to get an HP Laserjet which is connected to a DECserver
550 to print reliablely from an Ultrix microVax.  Output gets lost.
Anybody have any ideas?

My configuration looks like:

*************              **************
*microVax   *              *DecServer   *
* (Ultrix)  *--------------*   550      *---------------HP Laserjet
*           *  ethernet    *            *RS232
*************              **************

The RS232 connection has line drivers on both ends and the ttys
file and the server port has been set to use modem control.

The printcap entry for the printer looks like:


lp1|1|eptest|eptest1:\
    :af=/usr/adm/lp1acct:\
    :br#9600:\
    :fc#0177777:\
    :fs#0000003:\
    :if=/usr/local/print_server/iffil:\
    :lf=/usr/adm/lp1err:\
    :lp=/dev/tty10:\
    :mx#0:\
    :of=/usr/local/print_server/offil:\
    :op=LC-1-1:\
    :pl#66:\
    :pw#80:\
    :sd=/usr/spool/lpd1:\
    :sh:\
    :ts=EMB_LAT:\
    :xc#0177777:\
    :xf=/usr/lib/lpdfilters/xf:\
    :xs#0144440:

The symptom of the problem is that data is getting lost.  I have put
a datascope on the printer line and what happens is:
1.) the printer sends an XOFF to the terminal server
2.) the terminal server obeys the XOFF and shuts down
3.) the printer sends an XON
4.) the terminal server starts back up, but not from the point where
    it had stopped!  Instead, some data has been thrown away and it picks
    up from way down the data stream
Typically this occurs on short print jobs when more than 1 is in the
queue and causes the end of jobs to be lost.  For some reason it doesn't
seem to happen in the middle of the output.  Any ideas?
I've tried many combinations of fs and xs - all to no avail.