home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!cronkite.ocis.temple.edu!moe.eng.temple.edu!jwiegand
- From: jwiegand@moe.eng.temple.edu (James Wiegand)
- Newsgroups: comp.os.linux
- Subject: Re: cp foo.graphics /dev/lp1 is slooooooooow. ANSWER!
- Message-ID: <1992Dec25.063629.9169@cronkite.ocis.temple.edu>
- Date: 25 Dec 92 06:36:29 GMT
- References: <1h9s83INNlng@nz12.rz.uni-karlsruhe.de> <1992Dec23.150230.22344@news.stolaf.edu>
- Sender: news@cronkite.ocis.temple.edu (NetWork News (readnews))
- Organization: Temple University EE Dept.
- Lines: 59
-
- In article <1992Dec23.150230.22344@news.stolaf.edu> johnsonm@lars.acc-admin.stolaf.edu (Michael K. Johnson) writes:
- >
- >In article <1h9s83INNlng@nz12.rz.uni-karlsruhe.de> bernd@iamk4526.mathematik.uni-karlsruhe.de (Bernd Wiebelt) writes:
- >
- >
- > This has been asked before, but not yet answered.
- >
- >BZZZZZZZZZZZZT! Wrong. I have posted twice about this already.
- >
- > Somewhere between linux98.1 and linux99 there was
- > a change in the blk-drv code which affects output
- > speed on printers. Does anyone know a cure for
- > this dilemma which doesn't involve putting the
- > old blk-drv code from linux98.1 back into 99?
- > (In fact, I remeber there was a posting about
- > a programm solving this problem (lptune???) but
- > the same posting said that this programm was not
- > yet completed).
- >
- >That wasn't exactly what it said.
- >
- >ANYONE WITH PRINTER PROBLEMS *PLEASE* MAIL ME
- >ANYONE WITH PRINTER PROBLEMS *PLEASE* MAIL ME
- >ANYONE WITH PRINTER PROBLEMS *PLEASE* MAIL ME
- >
- >Please tell me what printer you have, and give me a description of
- >your computer, and I will do my best to help you.
- >
- > This gets me to another question: Why the hell was
- > there a change in the !working! lpr-code in a
- > version so close to linux 1.0. Shouldn`t we have been
- > waiting till 1.0 was out and then think about redesigning
- > lpr-code?
- >
- >NOT! Working? Well, that depends on your definition of working.
- >Yes, it got stuff to the printer, but for many people, it was 5 times
- >as slow as printing under dos, and really sucked up system time. Now,
- >my redesigned driver is much faster and more efficient for most
- >people. Unfortunately, it appears to break on deskjet 500's, and
- >perhaps other printers, though I have only heard about deskjets...
- >
- >As far as waiting, I re-wrote that code quite a while ago. If you
- >haven't bothered to ask about it before now, and just now complain
- >about the speed, right before 1.0 comes out, you /DON'T/ have my
- >sympathy. I'll still try to fix it, but I won't feel sorry for you.
- >
- >michaelkjohnson
-
- Actually, the answer is quite simple and no secret.
- Increase the value of LP_INIT_CHAR until you are happy.
- I have:
-
- #define LP_INIT_CHAR 250000
-
- in include/linux/lp.h and get the same throughput as before. Otherwise,
- I was getting one line of graphics every 20 minutes. Pretty sh*tty!
-
- jim
- When in doubt, there is always the source code!
-