| Mark Devin on Sat, 3 Mar 2001 04:15:50 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: problem with apsfilter and abiword |
Sorry about not posting correctly. I hope this is better.
Thank you for being so patient with me.
Here is my steps again:
1. Edited the /usr/share/apsfilter/bin/apsfilter file to remove the #
in
front of set -x to enable debugging.
2. Here is the relevant portion of my /etc/printcap file:
bjc4200|Printer1 auto:\
:lp=/dev/printers/0:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/bjc4200:\
:lf=/var/spool/lpd/bjc4200/log:\
:af=/var/spool/lpd/bjc4200/acct:\
:mx#0:\
:sh:
3. Changed the permissions of /var/spool/lpd/bjc4200/log to rw for
everyone. ls -l now shows:
-rw-rw-rw- 1 daemon lp 0 Feb 26 22:13
/var/spool/lpd/bjc4200/log
4. Ran abiword and created a file called "~./Documents/test.abw ->
this file only had the word "test" written on the first line of the
document.
5. Asked abiword to print the document to a file (from the print
command) -> it created a file called:
test.abw.ps
6. file test.abw.ps -> shows:
test.abw.ps: PostScript document text conforming at level 2.0
7. Sent the file to the printer with the following command:
cat test.abw.ps | lpr -P bjc4200
8. Again the same thing happens. The printer outputs one small black
strip (the same length as the word "test") - If I type more words then I
get more black strip.
9. The log file is empty. ls -l /var/spool/lpd/bjc4200/log
-rw-rw-rw- 1 daemon lp 0 Feb 26 22:13
/var/spool/lpd/bjc4200/log
I hope I have answered all you questions correctly. It doesn't make
sense to me.
Thanks for your persistence on this problem.
Mark.