Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 1998 18:39:38 -0400 (EDT)
From:      David La Croix <dlacroix@acm.vt.edu>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/8295: Bug in printcap handling of mx#0
Message-ID:  <199810121800.NAA25190@narf2.streams.com>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 12 15:50:00 PDT 1998
>Last-Modified:
>Originator:     David La Croix
>Organization:
Streams Online Media Development Corporation
>Release:        FreeBSD 2.2.7-STABLE #0: Thu Aug 20 13:57:50 CDT 1998
>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--



>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810121800.NAA25190>