Timothy J Kowalczyk on Fri, 18 Jan 2002 02:58:14 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Trouble With SETUP - empty printcap file


Hello all.  I am having trouble getting apsfilter Setup on my OpenBSD machine
(3.0-current).  This is probably something simple I am forgetting to do but I
am compeltely stumped as to what that problem is.

I run the setup script and configure my printer.  I then in the Setup script
am able to print a test page perfectly, demonstrating that my selections
regarding the drivers, etc are corect.  I then press I to install the printer
and the script says it updates /etc/printcap.  Then it automatically exits the
script for me (after all the nice apsfilter information - no crash).  The
problem is that it does not in fact add the printer to /etc/printcap:

# cd /etc
# ls -l printcap
-rw-r--r--  1 root  wheel  131 Jan 17 20:20 printcap

*** At this point I run SETUP as described above (in another terminal) ***

# ls -l printcap
-rw-r--r--  1 root  wheel  131 Jan 17 20:31 printcap

# cat printcap
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL

As you can plainly see, this is not a complete printcap entry.  This also
indicates that the printcap file is indeed modified, so there are no
permission issues.  

I have tried both apsfilter-current-11.01.2002 and apsfilter-7.2.1 installed
from the source from apsfilter.org.  I have tried different printer options in
the setup screen but for obvious reasons did not attempt the testpage print on
the other setups.  


Other possibly relevant information:

results of ./configure
    prefix              /usr/local
    bindir              /usr/local/bin
    datadir             /usr/local/share
                        (will become /usr/local/share/apsfilter)
    sysconfdir          /usr/local/etc
                        (will become /usr/local/etc/apsfilter)
    mandir              /usr/local/man
    docdir              /usr/local/share/doc
                        (will become /usr/local/share/doc/apsfilter)

    shell               /usr/local/bin/zsh
    awk                 /usr/bin/nawk
    sendmail            /usr/sbin/sendmail
    printcap            /etc/printcap
    spooldir            /var/spool/lpd


Any assistance is greatly appreciated, thanks.
-TJ

-- 
Timothy J Kowalczyk
tkowalcz@umich.edu