Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L
On Sun, Nov 27, 2005 at 10:18:49AM -0500, [EMAIL PROTECTED] wrote: how did you change the setting? My 932c used to print 3 or 4 lines per pass and now it does one line per pass I had the exact same problem, except with a Deskjet 932C. Someone on the list said man lptcontrol and set your printer to poll. I used this command: % lptcontrol -p -d /dev/lpt0 and it fixed my problem. where so you install the command? You should run this command as root from the command line. If you want to make it permanent, add the follwoing to /boot/device.hints: hint.ppc.0.flags=0x28 This puts the port in ECP mode (flag 0x08), and disables the IRQ (flab 0x20), thus enabling polling mode. If your chipset doesn't support ECP mode (unlikely for a reasonably modern one) use 0x20 instead of 0x28. The hint will take eddect on the next reboot. The lptcontrol command will take care of things until you reboot. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpOWWiRvcSbB.pgp Description: PGP signature
Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L
[EMAIL PROTECTED] wrote: I have a problem with very slow printing after replacing 4.1 instalation with new 5.4 instalation (clean install, not upgrade). The printer is HP 4L, and i use it with up to date CUPS (all packages + gimp-print). With both CUPS ang gimp-print drivers and default port settings the dokument printing speed is about 8k each 1 minute (acording to CUPS web interface). There are no error messages from the kernel. With hint.ppc.0.falgs=0x20 or 0x80 there is the same effect. With hint.ppc.0.falgs=0x20, 0x40, 0x48 and 0x88 CUPS web interface shows taht first 32k are sent instantly. Then 'Interrupt storm detected on irq5: lpt0; throttling interrupt source' kernel error message apears and the rest of the document prints slow, as in the first example. I tried this with several standard and HP bidirectional cables. I also tried all possible BIOS settings for the port. The old 4.1 instalation prints without problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello. I am new to FreeBSD, so if anyone else has better advice on this matter, please chime in. The only things I can think of are: 1. hint.ppc.0.falgs= is what you typed above twice. Make sure that this is not misspelled in the device.hints file (it should be flags... not falgs). 2. Try 0x28. 3. Read a thread from the archives in April 2005 entitled Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C ( http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-April/thread.html#84258 ). In there, they mention having to possibly remove a line and possibly adding another one. They also mention some other drivers that might work better for you. 4. Try going through lptcontrol. Chapter 9 of the FreeBSD Handbook goes over this a bit. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html I hope this helps. And, if anyone else has any ideas, please add 'em. Good luck. -Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L
Anthony M. Agelastos wrote: Hello. I am new to FreeBSD, so if anyone else has better advice on this matter, please chime in. The only things I can think of are: 1. hint.ppc.0.falgs= is what you typed above twice. Make sure that this is not misspelled in the device.hints file (it should be flags... not falgs). 2. Try 0x28. 3. Read a thread from the archives in April 2005 entitled Very slow printing with stock FreeBSD5.3 + CUPS + Gimp-Print + HPDeskJet612C ( http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-April/thread.html#84258 ). In there, they mention having to possibly remove a line and possibly adding another one. They also mention some other drivers that might work better for you. 4. Try going through lptcontrol. Chapter 9 of the FreeBSD Handbook goes over this a bit. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-intro-setup.html I hope this helps. And, if anyone else has any ideas, please add 'em. Good luck. Looks like a pretty good list to me! For parallel port printers, I always configure the parallel port in the BIOS to be either EPP or ECP (never really found out which is better or what difference it makes) and then set flags to 0x20 or ox28. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very slow printing on 5.4 with cups anh HP LaserJet 4L
--On Wednesday, June 15, 2005 12:56:19 +0300 [EMAIL PROTECTED] wrote: I have a problem with very slow printing after replacing 4.1 instalation with new 5.4 instalation (clean install, not upgrade). The printer is HP 4L, and i use it with up to date CUPS (all packages + gimp-print). With both CUPS ang gimp-print drivers and default port settings the dokument printing speed is about 8k each 1 minute (acording to CUPS web interface). There are no error messages from the kernel. With hint.ppc.0.falgs=0x20 or 0x80 there is the same effect. With hint.ppc.0.falgs=0x20, 0x40, 0x48 and 0x88 CUPS web interface shows taht first 32k are sent instantly. Then 'Interrupt storm detected on irq5: lpt0; throttling interrupt source' kernel error message apears and the rest of the document prints slow, as in the first example. I tried this with several standard and HP bidirectional cables. I also tried all possible BIOS settings for the port. The old 4.1 instalation prints without problems. I had the exact same problem, except with a Deskjet 932C. Someone on the list said man lptcontrol and set your printer to poll. I used this command: % lptcontrol -p -d /dev/lpt0 and it fixed my problem. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]