Bug 388 - Printing extremely slow when printing with a Deskjet 540.
Summary: Printing extremely slow when printing with a Deskjet 540.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-05-08 21:00 UTC by bpk
Modified: 1995-05-08 21:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bpk 1995-05-08 21:00:00 UTC
	When I dump anything (tried both cat and lpr) to the printer device 
the following things occur:
#1) Printer immediately loads up the paper as it normally would to begin
printing.
#2) Pauses without printing a single character for roughly 3-5 minutes.
#3) Prints a line or two.  Pauses for a long amount of time.  An average
pause seems to be around 10-15 minutes.  I have a feeling it pauses longer
with longer files.  Then prints another line or two.  Continues looping in
this fashion.

	I'm sure this isn't a problem with my printer.  This exact printer
has worked previously under NetBSD, Linux, and DOS.  Seems to me this might
be some kind of buffer problem in the kernel code.  I've tried printing both
raw text and PCL formatted files and both had the same problem described
above.

How-To-Repeat: 
	Using a HP Deskjet 540 printer (or possibly others too):	
cat <favorite file here> > /dev/lpt0
Comment 1 gpalmer freebsd_committer freebsd_triage 1995-05-14 23:17:59 UTC
State Changed
From-To: open->closed

This wasn't a problem with the kernel, rather the port used didn't generate 
interrupts. Switching to polled mode fixed the problems.