From dlacroix@cowpie.acm.vt.edu  Mon Oct 12 15:40:10 1998
Received: from cowpie.acm.vt.edu (cowpie.acm.vt.edu [128.173.42.253])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00440
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Oct 1998 15:40:06 -0700 (PDT)
          (envelope-from dlacroix@cowpie.acm.vt.edu)
Received: (from dlacroix@localhost)
	by cowpie.acm.vt.edu (8.8.8/8.8.8) id SAA05132;
	Mon, 12 Oct 1998 18:39:38 -0400 (EDT)
	(envelope-from dlacroix)
Message-Id: <199810121800.NAA25190@narf2.streams.com>
Date: Mon, 12 Oct 1998 18:39:38 -0400 (EDT)
From: David La Croix <dlacroix@acm.vt.edu>
Reply-To: dlacroix@acm.vt.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: Bug in printcap handling of mx#0
X-Send-Pr-Version: 3.2

>Number:         8295
>Category:       bin
>Synopsis:       order of options in printcap causes some options to be ignored
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 12 15:50:00 PDT 1998
>Closed-Date:    Mon Apr 01 15:58:01 PST 2002
>Last-Modified:  Mon Apr  1 16:00:04 PST 2002
>Originator:     David La Croix
>Release:        FreeBSD 2.2.7-STABLE #0: Thu Aug 20 13:57:50 CDT 1998
>Organization:
Streams Online Media Development Corporation
>Environment:

FreeBSD 2.2.7-Stable supped in mid August.  System is a K6-2 (K6-3D) 300Mhz
with 64Mb ram, EIDE disk drive, Alladin V chipset, Tulip PCI ethernet card.
(mostly irrelevant)

       Network printing to a GCC Elite 616 XL (hence the strange filters)


>Description:

The order options are given appears to be significant in printcap.  
The printcap (5) man page does not mention order being significant, 
and I kept getting my large files truncated before they were printed.

This printcap entry works:
lp:\
       :lp=/dev/null:\
       :mx#0:sh:\
       :if=/usr/local/bin/printfilter:\
       :of=/usr/local/bin/tcpof_207.152.104.69:\
       :sd=/var/spool/lpd:\
       :lf=/var/log/lpd-errs1:


This printcap entry doesn't work:

lp:\
       :lp=/dev/null:\
       :if=/usr/local/bin/printfilter:\
       :of=/usr/local/bin/tcpof_207.152.104.69:\
       :sd=/var/spool/lpd:\
       :mx#0:sh:\
       :lf=/var/log/lpd-errs1:

>How-To-Repeat:

	See description above
>Fix:

--RAA29848.908230942/narf2.streams.com--



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: jedgar 
State-Changed-When: Fri Nov 16 15:04:28 PST 2001 
State-Changed-Why:  
Is this still a problem with recent 4.x releases? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=8295 

From: Giorgos Keramidas <keramida@freebsd.org>
To: jedgar@freebsd.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/8295: Bug in printcap handling of mx#0
Date: Thu, 28 Mar 2002 04:02:49 +0200 (EET)

 > State-Changed-From-To: open->feedback
 > State-Changed-By: jedgar
 > State-Changed-When: Fri Nov 16 15:04:28 PST 2001
 >
 > Is this still a problem with recent 4.x releases?
 
 Do we need to keep this in "feedback" or "open" state anymore?
 It's more than 4 months that the originator hasn't replied.
 
 - Giorgos
 
State-Changed-From-To: feedback->closed 
State-Changed-By: keramida 
State-Changed-When: Mon Apr 1 15:57:40 PST 2002 
State-Changed-Why:  
Feedback timeout after 4+ months. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=8295 

From: Chris Faulhaber <jedgar@fxp.org>
To: Giorgos Keramidas <keramida@freebsd.org>
Cc: jedgar@freebsd.org, FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/8295: Bug in printcap handling of mx#0
Date: Mon, 1 Apr 2002 18:52:58 -0500

 On Thu, Mar 28, 2002 at 04:02:49AM +0200, Giorgos Keramidas wrote:
 > 
 > > State-Changed-From-To: open->feedback
 > > State-Changed-By: jedgar
 > > State-Changed-When: Fri Nov 16 15:04:28 PST 2001
 > >
 > > Is this still a problem with recent 4.x releases?
 > 
 > Do we need to keep this in "feedback" or "open" state anymore?
 > It's more than 4 months that the originator hasn't replied.
 > 
 
 Nope, feel free to close it.
 
 -- 
 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
 --------------------------------------------------------
 FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
>Unformatted:
