From owner-freebsd-bugs Mon Oct 12 15:50:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02345 for freebsd-bugs-outgoing; Mon, 12 Oct 1998 15:50:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02275 for ; Mon, 12 Oct 1998 15:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA04989; Mon, 12 Oct 1998 15:50:01 -0700 (PDT) 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 ; 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 Reply-To: dlacroix@acm.vt.edu To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/8295: Bug in printcap handling of mx#0 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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