From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 18:58:55 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 E414616A4DA for ; Wed, 2 Aug 2006 18:58:54 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49EF043D46 for ; Wed, 2 Aug 2006 18:58:54 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by ug-out-1314.google.com with SMTP id m2so2095592uge for ; Wed, 02 Aug 2006 11:58:53 -0700 (PDT) Received: by 10.65.185.3 with SMTP id m3mr1984622qbp; Wed, 02 Aug 2006 11:58:25 -0700 (PDT) Received: from seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id e15sm1916791qba.2006.08.02.11.58.25; Wed, 02 Aug 2006 11:58:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by seibercom.net (Postfix) with ESMTP id 0865DC242 for ; Wed, 2 Aug 2006 14:58:23 -0400 (EDT) Date: Wed, 2 Aug 2006 14:58:23 -0400 (EDT) From: Gerard Seibert X-X-Sender: ges@seibercom.net To: FreeBSD-Questions Message-ID: <20060802145104.K5915@seibercom.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Unable to print X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gerard Seibert List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 18:58:55 -0000 I know I posted earlier about this; however, since then I have gathered more information. First, I installed LPRng and had it replace the base system. I rebooted the system and it started up fine. However, I still cannot print. I can print from within 'apsfilter' but that is it. The printer is attached to a WinXP machine. I did have printing working until I updated to version 6.1. After that, it broke. Output of Apsfilter program: Your choice: ** creating printcap entry for printer aps1... creating spooldir ... creating samba config file ... read protect password information... remember SETUP settings in printers apsfilterrc file... Aug 2 14:15:53 seibercom checkpc[89703]: lp: Checkwrite: fcntl F_SETFL of '/dev /null' failed - Inappropriate ioctl for device Aug 2 14:15:53 seibercom checkpc[89703]: aps1: Checkwrite: fcntl F_SETFL of '/d ev/null' failed - Inappropriate ioctl for device ** done. ===== Output of checkpc -fV LPRng-3.8.28, Copyright 1988-2003 Patrick Powell, Checking for configuration files '/etc/lpd.conf' found '/etc/lpd.conf', mod 0100444 Checking for printcap files '/etc/printcap' Checking for lpd only printcap files '/etc/lpd/lpd_printcap' DaemonUID 1, DaemonGID 1 Using Config file '/etc/lpd.conf' LPD lockfile '/var/run/lpd.515' .names :lp=lp .all :lp #Printcap Information lp|bj8pa06n.upp;r=600x600;q=high;c=full;p=letter;m=auto :af=/var/spool/lpd/lp/acct :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter :lf=/var/spool/lpd/lp/log :lp=/dev/null :mx#0 :sd=/var/spool/lpd/lp :sh Checking printcap info Checking printer 'lp' Checking directory: '/var/spool/lpd/lp' directory '/' directory '//var' directory '//var/spool' directory '//var/spool/lpd' directory '//var/spool/lpd/lp' checking 'control.pr' file checking 'status.pr' file checking 'status' file checking '/var/spool/lpd/lp/log' file checking '/var/spool/lpd/lp/acct' file 2006-08-02-14:22:11.152 seibercom lp: Checkwrite: fcntl F_SETFL of '/dev/null' failed - Inappropriate ioctl for device Warning - lp: cannot open lp device '/dev/null' - Inappropriate ioctl for device 'if' filter '/usr/local/etc/apsfilter/basedir/bin/apsfilter' executable '/usr/local/etc/apsfilter/basedir/bin/apsfilter' ===== lpc status lp Printer Printing Spooling Jobs Server Subserver Redirect Status/(Debug) lp@seibercom enabled enabled 0 none none ===== Output: lpr -P lp /etc/printcap lpr: Connection refused ===== Output: lpr /etc/print lpr: Error - scheduler not responding! The first entry above: Aug 2 14:15:53 seibercom checkpc[89703]: lp: Checkwrite: fcntl F_SETFL of '/dev/null' failed - Inappropriate ioctl for device is probably where the problem is. However, I am not sure what I am suppose to do to correct it. -- Gerard Seibert gerard@seibercom.net Words can never express what words can never express.