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, <[EMAIL PROTECTED]>
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)
[EMAIL PROTECTED]        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
[EMAIL PROTECTED]

Words can never express what words can never express.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to