Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2006 07:11:00 -0400
From:      Gerard Seibert <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unable to Print
Message-ID:  <20060802070128.C4DD.GERARD@seibercom.net>
In-Reply-To: <p0623090ec0f5b4feddb5@[128.113.24.47]>
References:  <p0623090dc0f5b1a013b4@[128.113.24.47]> <p0623090ec0f5b4feddb5@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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