[comp.sys.mips] Parallel Printing

crowley@granite.cr.bull.com (Brian Crowley) (02/17/90)

I am working on both an M2000 high-boy and a low-boy as well and I am having
a problem getting some vanilla printers (almost) to work in parallel mode.
Here is how I configured them:

	- System V print spooler
	- Dumb interface script (modified to send the octal printer reset code)
	- Device file used is /dev/lp0 (There is only one parallel port)

It all looks fine until I try to print something.  The results can be placed
in one of three categories.  If I try printing the root login (/.login) file,
as root or a regular user, ten times, I could get the following:

	1)  A correct printout (about 1/2 to 2/3 of the time);
	2)  about 10 or so line feeds (and nothing else) interspersed with
	3)  a printout consisting of many pages containing about 15-20
	    characters from the extended character set and then a form feed.

Whenever we connect any printers to a serial port and use the same script,
we have no problems (a correct printout every time).  We know that the printer
is working and that the cable works.  Is it the way I'm looking at the
machine??  I really don't know what else to try.  Should I try BSD printing
or is there something else that I'm missing.  I have had other UN*X'ers check
the setup and they say it's right (evidenced by the correct printout we get
every now and then using the parallel port).

Thanx in advance...			(and possibly your friend for life)
			Brian Crowley
-- 
--------------------------------------------------------------------------
Brian Crowley					\\|/	(Smiley of a
crowley@granite.cr.bull.com			--8-)	 person needing
BULL HN Information Systems			//|\	 a haircut or with

pnessutt@dmshq.mn.org (Bob Monio) (02/18/90)

In article <1990Feb16.163103.29362@granite.cr.bull.com> crowley@granite.cr.bull.com (Brian Crowley) writes:
>I am working on both an M2000 high-boy and a low-boy as well and I am having
>a problem getting some vanilla printers (almost) to work in parallel mode.

I've experienced some similar problems with an M-120 using a parallel
printer adapter attached to the PC/AT bus.

In our situation we had originally configured all of the printers
serially, but after the arrival of the parallel port we switched one
over.  Everything worked fine for small outputs, but not for outputs
larger than 1 page.  On these larger outputs the printer would not 
print the last few lines or sometimes even more.  The interface script
was generic and the cabling standard.  The only way that I could get
the interface script to work and not lose output was to put a sleep
statement in the script, right after the cat.  This took care of the
problem and things print fine now.

Unfortunately this doesn't seem to be a true fix.  I'd be curious as
to whether this is something that is common among the MIPS OS releases
or whether it is something in the parallel driver that we're using.
If you find out anything, Brian, please forward it to me as it will
help me with any new installs we do down the line.

Thanks.

 -Bob

-- 
 Robert A. Monio                       "It all looks fine, 
 Level I Systems                        When you look through the naked eye.
 pnessutt@dmshq.mn.org                  But it don't really happen that way
 ..uunet!rosevax!nis!dmshq!pnessutt     at all..."