[comp.unix.i386] Printing Problems

carroll@sunb8.cs.uiuc.edu (03/05/90)

This is a followup concerning slow printing under 386/ix 2.0.2:

I want to thank those to sent email. While not directly helpful, they did
point the way. Apparently, the problem is that the mono/printer card doesn't
generate any interupts. I've looked through the hardware specs that I have,
and nowhere is any mention of interupts from that card made. As a result, I
put another parallel card in, configured it as LPT1:, IRQ7, and told the
system to print on /dev/lp1 instead of /dev/lp0, and now things work fine.
The printer runs almost continously during printing. As far as I can tell,
the parallel port on the mono/printer card is basically useless under a
multi-tasking OS.

Problem: Printing on lp0 with 386/ix is very slow and bursty.
Solution: Install another parallel card, and move printing there.

Alan M. Carroll                "Like the north wind whistling down the sky,
carroll@cs.uiuc.edu             I've got a song, I've got a song.
Conversation Builder:           I carry it with me and I sing it loud
+ Tomorrow's Tools Today +      If it gets me nowhere, I'll go there proud"
Epoch Development Team          
CS Grad / U of Ill @ Urbana    ...{ucbvax,pur-ee,convex}!cs.uiuc.edu!carroll

schulte@thp.uni-koeln.de (Martin Schulte) (04/10/90)

A while a ago, Alan M. Carroll(carroll@sunb.cs.uiuc.edu) wrote:

>This is a followup concerning slow printing under 386/ix 2.0.2:
.
.(Theories about technical details)
.
>Problem: Printing on lp0 with 386/ix is very slow and bursty.
>Solution: Install another parallel card, and move printing there.

I had the same problem on one of my two 386-boxes, but the problem
couldn't be fixed by by the above mentioned solution.

Instead we found out that the problems begin after I started the
ttymap(1, in the Operating System Guide). Even with 
/usr/lib/keyboard/usa.map as argument, the problem occured.
With a self-defined map things went even worse, suddenly my
MicroGnu (gnu-emacs downward compatible editor), the screen driver
blocked so that I was forced to reboot. So I concluded that the
ttymap program shouldn't be used. Without ttymap, even the
paralell port on my Hercules card worked fine (==fast).

For those of you who *really* need a keyboard remapping(Germans, French
and other aliens), I suggest to use ioctl with KDSKBENT argument,
description is found in keyboard(7, in the Operating System Guide).
This can't do character composing and those things ttymap should be able
to do, but it seems to work.

I just did a simple hack, those who don't want to to rewrite their own
mapping program from scratch can write me a little note and I'll send
them my hacked C-program(certainly without comments, but nevertheless
more or less readable (may be copied free, even for commercial use, 
provided the authors name is *NOT* included))

Hope it helps, Martin

--
----------------------------------
Martin Schulte
Institute for Theoretical Physics
University of Cologne/Germany

Internet: schulte@thp.uni-koeln.de