From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 11:10:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B46E16A4DA for ; Wed, 2 Aug 2006 11:10:40 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9E8943D45 for ; Wed, 2 Aug 2006 11:10:39 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by ug-out-1314.google.com with SMTP id m2so1871384uge for ; Wed, 02 Aug 2006 04:10:38 -0700 (PDT) Received: by 10.65.98.4 with SMTP id a4mr1120425qbm; Wed, 02 Aug 2006 04:10:38 -0700 (PDT) Received: from seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id e19sm3300397qbe.2006.08.02.04.10.38; Wed, 02 Aug 2006 04:10:38 -0700 (PDT) Received: from [192.168.0.4] (boss [192.168.0.4]) (Authenticated sender: gerard@seibercom.net) by seibercom.net (Postfix) with ESMTP id EEB6DC1E1 for ; Wed, 2 Aug 2006 07:10:36 -0400 (EDT) Date: Wed, 02 Aug 2006 07:11:00 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: References: X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060802070128.C4DD.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] Subject: Re: Unable to Print X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 11:10:40 -0000 Garance A Drosehn wrote: > On August 1/2006, I (Garance) wrote: > > > >Check to see if you have multiple versions of 'lpr' > >running. *If* you do, then the results that you see > >will probably depend on which version you run. > > What I meant to say was: Check to see if you have > multiple versions of `lpr' *installed*. See what > you get from the command: > > type -a lpr I just tried running apsfilter again. It successfully printed out a test page. However, when I told it to install the information into the /etc/printcap file, this error message was displayed: Aug 2 06:58:51 seibercom checkpc[27640]: lp: Checkwrite: fcntl F_SETFL of '/dev/null' failed - Inappropriate ioctl for device ** done. What is that all about? This is the contents of the /etc/printcap file: # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL lp|bj8pa06n.upp;r=600x600;q=high;c=full;p=letter;m=auto:\ :lp=/dev/null:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/lp:\ :lf=/var/spool/lpd/lp/log:\ :af=/var/spool/lpd/lp/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this -- Gerard