Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Flow control problem with plotter under Ultrix
@ 1993-01-15 21:20 Jeff Donsbach
  0 siblings, 0 replies; only message in thread
From: Jeff Donsbach @ 1993-01-15 21:20 UTC (permalink / raw)


<Sorry if I posted this question to any inappropriate groups>

I'm looking for some help from from a Unix (Ultrix in particular) guru
familar with hooking up a plotter to the system.

System:
	DecStation 5000/240, Ultrix 4.2A (Rev 47)

Plotter:
	Calcomp 1023
	   Setup for no parity,eight bit data,1 stop bit, XON/XOFF flow control

	(also experiencing the same problem with an HP 7586B with HPGL files)

Problem:

	We are having a problem spooling C907 files to the plotter.
We have the plotter set up as listed above. The host seems to be ignoring the
flow control characters or something like that. What happens is, the plotter
will start the plot and then halt after 15 seconds or so. If you do an
'lpq', it says something like 'will retry in 15 seconds' and if you wait long
enough, sure enough it starts over again, only to hang again. Another
'lpq' says it will 'retry in 30 seconds'. It continues on like this
forever, continually doubling the the time it waits to retry.

Like I said, I think it's a handshaking problem. I've also tried just
'cat'ing the c907 file out the tty port, but that doesn't seem to work either.
The plotter gets a "buffer overflow".

Here are the fields for the flag and mode bits I have set in my printcap
entry for the plotter:

	:fc#0177777:fs#0301:xc#0177777:xs#045040:

From all the information I can find in Ultrix man pages, etc. I thought this
should have been correct, but I guess not. An important thing to note at
this time is that these settings work on a SparcStation! (AAAAAAGGGGGHHHHH!!!!)
Also, SunOS let's you specify 'stty' style settings in an "ms" field
in the printcap (like ":ms=ixon,-ixany,-parity,-cstopb,-clocal,-opost:"),
but Ultrix doesn't allow this. 

Can anyone who has gotten a plotter hooked up to a DecStation help me
out by sending me a printcap entry they know that works?

I prefer reply's via e-mail if possible since I don't always have time
to check on News. But, if you can't reach me via e-mail, posting is
fine (I've directed follow-ups to comp.unix.ultrix). I can also post a summary
or forward responses if anyone is interested.

Thanks in advance,
-Jeff

-- 
=========================
Jeff Donsbach, Computervision Corp, 14 Crosby Dr. MS 5-2, Bedford, MA 01730
UUCP: {decvax|linus|sun}!cvbnet!jdonsbac | Internet: jdonsbac@cvbnet.prime.com
"10 bucks is 10 bucks" - Geddy Lee                       (soon to be CV.Com ??)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-01-15 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-01-15 21:20 Flow control problem with plotter under Ultrix Jeff Donsbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox