| Andreas Klemm on Fri, 2 Mar 2001 19:01:26 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: problem with apsfilter and abiword |
Could you please always do a group reply so that your answer show up on the mailing-list ??? I'm nearly about forcing you people by configuring majordomo to set a reply to .... But that has other disadvantages ... Sorry, but the reason is, that other people should learn from our conversation, I'm busy with lots of other things, so I have to use the medium internet to my advantage (to save time...). On Fri, Mar 02, 2001 at 08:04:44PM +1000, Mark Devin wrote: > Andreas Klemm wrote: > > > On Wed, Feb 28, 2001 at 10:20:22PM +1000, Mark Devin wrote: > > > However, when I try to print from abiword then I get only thick black > > > strips where the words should be. And it doesn't matter what font I use > > > in abiword either. The same happens if I ask abiword to print to a file > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > and then later send the file to the printer. > > > > 1) How did you send the Abi created file to the printer ? > > > > 2) What file type is it (use file command) You didn't answer this one .... user$ file abiword.print.file > > 3) enable debugging in apsfilter (set -x in bin/apsfilter) > > and send the debugging output of one (ONLY ONE) print attempt > > to this list. > > > > Andreas /// > > > > -- > > Andreas Klemm > > Apsfilter Homepage http://www.apsfilter.org > > Support over mailing-lists (only!) http://www.apsfilter.org/support > > Mailing-list archive http://www.apsfilter.org/Lists-Archives > > > > ------------------------------------------------------------------------ > > Part 1.2Type: application/pgp-signature > > OK. Here is what I just did: > > 1. Edited the /usr/share/apsfilter/bin/apsfilter file to remove the # in > front of set -x to enable debugging. o.k. > 2. Here is the relevant portion of my /etc/printcap file: > ---------------- snip -------------------------------- > # APS1_BEGIN:printer1 > # - don't delete start label for apsfilter printer1 > # - no other printer defines between BEGIN and END LABEL > 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: > raw1|Printer1 raw:\ > :lp=/dev/printers/0:\ > :if=/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/raw1:\ > :lf=/var/spool/lpd/raw1/log:\ > :af=/var/spool/lpd/raw1/acct:\ > :mx#0:\ > :sf:\ > :sh: > # APS1_END - don't delete this > -------------- snip -------------------------------- > > 3. 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. > > 4. Asked abiword to print the document to a file (from the print command) -> > it created a file called: > ~./Documents/test.abw.ps Seems to be a PS file, but .... please do a file ~./Documents/test.abw.ps > 5. Sent the file to the printer with the following command: > cat ~./Documents/test.abw.ps | lpr -P bjc4200 > > 6. The output I receive from the printer is one small black box (exactly the > same length as the word "test") > --> Thus it prints only a black strip of ink for the letters I have typed. > > I have tried this many times over with different fonts and the same happens. > The same also happens if I print directly from abiword. > > 7. The file: /var/spool/lpd/bjc4200/log is empty. ls -l shows: > -rw------- 1 daemon lp 0 Feb 26 22:13 > /var/spool/lpd/bjc4200/log Well, then you seem to have a permission problem ... Use FreeBSD ... this saves you time ;-) > I would be greatful if you could shed some light on this because it is totally > frustrating me. try a "chmod 666 log" as workaround ... > If I can provide any further info to help troubleshooting please let me know. > > Just to reiterate what I said in the last email. I can successfully print > from netscape and from the command line (with a command such as: man lpr | lpr > -P bjc4200). > > I hope you can help me solve this. Please do the file command, try to resolve your permission problem ... and send the log of *one* unsuccessfull print session. > Thanks for your time and effort. No problem ... but please Cc: to the list ! Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives