[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/48581: a2ps (or maybe apsfilter?) misunderstands directory settings
>Synopsis: a2ps (or maybe apsfilter?) misunderstands directory settings
>Arrival-Date: Sun Feb 09 02:40:00 +0000 2014
Newest stable release 6.1.3 - and a2ps/apsfilter compiled from sources for this
An attempt to print any text file using a2ps + apsfilter doesn't result in any
printout; instead there is an error message in /var/spool/lpd/aps1/log:
"/usr/pkg/etc/apsfilter/basedir/bin/apsfilter: cannot open
/var/spool/lpd/aps1/acct/lock: no such file"
After closer examination it turned out, that a2ps (or maybe apsfilter, but this
is less likely) somehow messes the files/directories settings, and therefore
it's unable to use proper files/directories.
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
# APS1_END - don't delete this
As you see from error message, a2ps insists on treating "acct" like a
sub-directory, while in fact it is a file.
1. Configure and start lpd.
2. Install a2ps and apsfilter.
3. Configure printer using its SETUP script.
4. Try to print any ASCII text file, for example with:
"a2ps -2 -P <queue name> <text file name>".
5. Examine the log.
Main Index |
Thread Index |