From nobody@FreeBSD.ORG Sat Mar 20 15:52:54 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id F068114D60; Sat, 20 Mar 1999 15:52:52 -0800 (PST)
Message-Id: <19990320235252.F068114D60@hub.freebsd.org>
Date: Sat, 20 Mar 1999 15:52:52 -0800 (PST)
From: drwho@xnet.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: ppbus printing problems
X-Send-Pr-Version: www-1.0

>Number:         10701
>Category:       kern
>Synopsis:       ppbus printing problems
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 20 16:00:01 PST 1999
>Closed-Date:    Mon Mar 12 19:58:51 PST 2001
>Last-Modified:  Mon Mar 12 19:58:59 PST 2001
>Originator:     Michael Maxwell
>Release:        3.1-RELEASE
>Organization:
none
>Environment:
FreeBSD drwho.xnet.com 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Tue Mar  9 02:13:08 CST 1999     root@drwho.xnet.com:/usr/src/sys/compile/DRWHO  i386
>Description:
Using a HP Deskjet 672c, with the print filter described in the 
freebsd handbook, problems occur when printing plain text and/or
postscript.  When printing plain text, characters are dropped, or
formatting is broken.  The printer seems to have problems loading
the paper, and the error light comes on.  When printing postscript,
I use GhostScript 5.50 (also tried 5.10) from ports/packages.  I
have tried several printer drivers from gs, but I've always been
able to use "deskjet" printer type.  however, with 3.1-R, the
document does not print properly at all, and usually spews out
unprintable binary garbage about halfway down the page.  

This problem only occurs on FreeBSD 3.1-RELEASE.  A 2.2.7-RELEASE
machine does NOT exhibit this problem.

>How-To-Repeat:
Print something.
>Fix:
I wish I knew, but it must have something to do with the new ppbus
parallel port driver.  I will try recompiling the kernel to use the
OLD "lpt" interface instead of "nlpt" to see if that works as a 
temporary fix.

>Release-Note:
>Audit-Trail:

From: Zach Heilig <zach@uffdaonline.net>
To: drwho@xnet.com, freebsd-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: kern/10701: ppbus printing problems
Date: Sat, 20 Mar 1999 22:58:31 -0600

 On Sat, Mar 20, 1999 at 03:52:52PM -0800, drwho@xnet.com wrote:
 > >Fix:
 > I wish I knew, but it must have something to do with the new ppbus
 > parallel port driver.  I will try recompiling the kernel to use the
 > OLD "lpt" interface instead of "nlpt" to see if that works as a 
 > temporary fix.
 
 I have seen this before!  Even though you didn't really give enough
 information to figure out the problem (what does your kernel configuration
 file say, and what does dmesg output for those lines...), I think I can
 guess what your problem is:
 
 controller      ppc0    at isa? port? tty irq 7
 #                                     ^^^ is very likely missing (or different)
 controller      ppbus0
 device          nlpt0    at ppbus?
 
 
 -- 
 Zach Heilig <zach@uffdaonline.net>
 

From: drwho@xnet.com
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: kern/10701: ppbus printing problems
Date: Sat, 20 Mar 1999 15:52:52 -0800 (PST)

 >Number:         10701
 >Category:       kern
 >Synopsis:       ppbus printing problems
 >Confidential:   no
 >Severity:       critical
 >Priority:       high
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Sat Mar 20 16:00:01 PST 1999
 >Closed-Date:
 >Last-Modified:
 >Originator:     Michael Maxwell
 >Release:        3.1-RELEASE
 >Organization:
 none
 >Environment:
 FreeBSD drwho.xnet.com 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Tue Mar  9 02:13:08 CST 1999     root@drwho.xnet.com:/usr/src/sys/compile/DRWHO  i386
 >Description:
 Using a HP Deskjet 672c, with the print filter described in the 
 freebsd handbook, problems occur when printing plain text and/or
 postscript.  When printing plain text, characters are dropped, or
 formatting is broken.  The printer seems to have problems loading
 the paper, and the error light comes on.  When printing postscript,
 I use GhostScript 5.50 (also tried 5.10) from ports/packages.  I
 have tried several printer drivers from gs, but I've always been
 able to use "deskjet" printer type.  however, with 3.1-R, the
 document does not print properly at all, and usually spews out
 unprintable binary garbage about halfway down the page.  
 
 This problem only occurs on FreeBSD 3.1-RELEASE.  A 2.2.7-RELEASE
 machine does NOT exhibit this problem.
 
 >How-To-Repeat:
 Print something.
 >Fix:
 I wish I knew, but it must have something to do with the new ppbus
 parallel port driver.  I will try recompiling the kernel to use the
 OLD "lpt" interface instead of "nlpt" to see if that works as a 
 temporary fix.
 
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-bugs" in the body of the message
 
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: sheldonh 
State-Changed-When: Sun Mar 28 08:37:06 PST 1999 
State-Changed-Why:  
Please confirm that the suggested fix worked. 

From: Jens Schweikhardt <schweikh@noc.dfn.de>
To: freebsd-gnats-submit@freebsd.org, drwho@xnet.com
Cc:  
Subject: Re: kern/10701: ppbus printing problems
Date: Wed, 31 Mar 1999 17:01:39 +0200

 I've had exactly the same problem, i.e. gs deskjet
 driver suddenly printing garbage after 1/2 a page.
 There seem to be two solutions:
 1) Changing
 controller ppc0 at isa? port? net irq 7
 
 to tty instead of net (which for some reason unbeknownst
 to me is the default in GENERIC).
 
 2) Configuring polling mode for the printer interface
     lptcontrol -p   (e.g. in /etc/rc.conf.local)
 
 Regards,
 
 	Jens
 -- 
 Jens Schweikhardt  http://www.shuttle.de/schweikh/
 SIGSIG -- signature too long (core dumped)
 

From: Nicolas Souchu <nsouch@free.fr>
To: freebsd-gnats-submit@freebsd.org, drwho@xnet.com
Cc:  
Subject: Re: kern/10701: ppbus printing problems
Date: Thu, 09 Sep 1999 21:02:18 +0000

 So, shall I close the PR?
 
 --
 nsouch@free.fr / nsouch@freebsd.org
 FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org
 
 
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: des 
State-Changed-When: Mon Mar 12 19:58:51 PST 2001 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=10701 
>Unformatted:
