[comp.unix.questions] lp help needed

tmanos@tmsys.UUCP (Tom Manos) (02/20/90)

Printer problem:

machine: ZEOS 386/20
os:      Microport SysV/AT rel. 2.4 (I KNOW, I'm saving my money :-))
printer: Panasonic KXP-1092i, Citizen MSP-10
port:    /dev/lp1

Problem: the printer prints _excruciatingly_ slowly. When I boot DOS on the
same machine, no problem, the printer speeds along, just as it should. I get
the same results whether I use the command "lp /etc/passwd", or 
"cat /etc/passwd > lp1".

I just purchased and set up the new machine, loaded the software from the
original SysV/AT disks, and transferred over my user file system.

The lp spooling system is set up just as it is on a Compaq system here which
works perfectly with the same printers.

Here are my lp devices:
crw-------   2 lp       sys        7,  1 Feb 19 19:16 /dev/lp
crw-------   1 lp       sys        7,  0 Mar 18  1986 /dev/lp0
crw-------   2 lp       sys        7,  1 Feb 19 19:16 /dev/lp1
crw-------   1 lp       sys        7,  2 Oct 19  1986 /dev/lp2

One thing that _is_ really strange is that UNIX prints on lp1, NOT lp0, and
DOS prints on lpt1:. Does that make sense?

This problem is driving me NUTS. Anyone have similar experiences?

email to uunet!talos!xanth!virgil!tmsys!tmanos
      or manost@dcaems.dca.mil

Thanks in advance.
-- 
==============================================================================
|| UUCP   uunet!talos!xanth!virgil!wyvern!tmanos  || Tom Manos@wyvern       ||
|| ARPA   manost@dca-ems.dca.mi                   || Norfolk, Va.           ||
==============================================================================

carroll@m.cs.uiuc.edu (02/22/90)

>/* Written  6:40 pm  Feb 19, 1990 by tmanos@tmsys.UUCP in m.cs.uiuc.edu:comp.unix.questions */
>/* ---------- "lp help needed" ---------- */
>
>Printer problem:
>
>machine: ZEOS 386/20
>os:      Microport SysV/AT rel. 2.4 (I KNOW, I'm saving my money :-))
>printer: Panasonic KXP-1092i, Citizen MSP-10
>port:    /dev/lp1
>
>Problem: the printer prints _excruciatingly_ slowly.
>
>One thing that _is_ really strange is that UNIX prints on lp1, NOT lp0, and
>DOS prints on lpt1:. Does that make sense?

>This problem is driving me NUTS. Anyone have similar experiences?
/* End of text from m.cs.uiuc.edu:comp.unix.questions */

Machine: Logix 386/25
OS: ISC 2.0.2 SysV 3.2
Printer: Epson LX-100
Port: /dev/lp1
Card: DFI Hercules/Printer

I have exactly the same behaviour. Printing is very slow, even though the
Epson has it's 2K internal buffer enabled. It never prints more than 2 lines
in one "burst" - i.e., it's silent for multiple seconds, and then it blasts
out a line or two, and then goes back to waiting.

Alan M. Carroll                "I hold the line - The line of strength
carroll@cs.uiuc.edu             that pulls me through the fear.
Conversation Builder:           San Jacinto - I hold the line
+ Tomorrow's Tools Today +      San Jacinto - Poison bite and
Epoch Development Team          Darkness take my sight -I hold the line."
CS Grad / U of Ill @ Urbana    ...{ucbvax,pur-ee,convex}!cs.uiuc.edu!carroll

selig@udcps3.cps.udayton.edu (Paul D. Selig) (02/23/90)

>Problem: the printer prints _excruciatingly_ slowly.
>
>One thing that _is_ really strange is that UNIX prints on lp1, NOT lp0, and
>DOS prints on lpt1:. Does that make sense?

>I have exactly the same behaviour. Printing is very slow, even though the
>Epson has it's 2K internal buffer enabled. It never prints more than 2 lines
>in one "burst" - i.e., it's silent for multiple seconds, and then it blasts
>out a line or two, and then goes back to waiting.

I had the same problem on Interactive Unix 386/ix.  Things would print 
very slowly under Unix, and fine under DOS.  The solution was very simple:
DOS does not look at the IRQ lines while printing, while Unix does.  Just
double check the settings of your IRQ lines for your printer card, and make
sure that they match the normal AT standards  (I know that IRQ 5 and IRQ 7
are involved, but I don't have in front of me which is which).

If you have any other problems, let me know via E-Mail.

Paul
-- 
Paul Selig, Jr.			Unix Systems Administrator
The University of Dayton, Computer Science Department, Anderson Center 133
BITNET: selig@dayton.bitnet	
UUCP:   selig@cps.udayton.edu or ...!uunet!dayvb!udcps3!selig

prc@erbe.se (Robert Claeson) (02/23/90)

In article <9000027@m.cs.uiuc.edu>, carroll@m.cs.uiuc.edu writes:

> >Problem: the printer prints _excruciatingly_ slowly.

> I have exactly the same behaviour. Printing is very slow, even though the
> Epson has it's 2K internal buffer enabled. It never prints more than 2 lines
> in one "burst" - i.e., it's silent for multiple seconds, and then it blasts
> out a line or two, and then goes back to waiting.

The PC hardware often claim to send interrupts correctly when the printer
is ready to receive. However, this is in most cases a d*mned lie. You
will have to use the polling lp device instead (lp1p). I don't really
remember how to set this up out of my head. Check the documentation.

-- 
          Robert Claeson      E-mail: rclaeson@erbe.se
	  ERBE DATA AB