Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2007 20:00:10 -0400
From:      David Banning <david+dated+1186876815.7ac832@skytracker.ca>
To:        Nikola Lecic <nlecic@EUnet.yu>
Cc:        questions@freebsd.org
Subject:   Re: apsfilter setup problem
Message-ID:  <20070807000010.GA28680@skytracker.ca>
In-Reply-To: <200708060429.l764Toou007190@eunet.yu>
References:  <20070805164403.GA88838@skytracker.ca> <200708060429.l764Toou007190@eunet.yu>

next in thread | previous in thread | raw e-mail | index | archive | help
> You should let apsfilter SETUP program to add the entry in printcap (you
> wrote that you added it yourself). It should be marked with something
> like:
> 
>   # APS1_BEGIN:printer1
>   # - don't delete start label for apsfilter printer1
>   # - no other printer defines between BEGIN and END LABEL
>   [...]
>   # APS1_END - don't delete this

I didn't post the whole thing - but it actually does have the apsfilter
start and end entries.

> Apart from this, your printcap details seem good. However, the problem
> you described could be related to permissions. You run SETUP program as
> root, but you try to print as an ordinary user, I guess. Please check
> permissions/ownership of samba-client configuration file
> under /usr/local/etc/apsfilter/.

# cd /usr/local/etc/apsfilter
# ls -tl 
total 46
-rw-r-----  1 root  daemon    416 Aug  6 19:47 SETUP.cfg
-rw-r--r--  1 root  wheel   18750 Aug  6 19:45 perf.log
lrwxr-xr-x  1 root  wheel      26 Aug  6 19:42 basedir -> /usr/local/share/apsfi
lter
drwxr-xr-x  2 root  wheel     512 Aug  3 17:22 aps1
drwxr-xr-x  2 root  wheel     512 Mar  7  2006 lp
drwxr-xr-x  2 root  wheel     512 Mar  7  2006 brother
drwxr-xr-x  2 root  wheel     512 Jan 24  2006 lp2
drwxr-xr-x  2 root  wheel     512 Jan 24  2006 aps2
drwxr-xr-x  2 root  wheel     512 Aug 22  2003 raw2
drwxr-xr-x  2 root  wheel     512 Aug 22  2003 raw
-r--r--r--  1 root  wheel    8794 Aug 22  2003 apsfilterrc


I tried to print as root also, but so luck.





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