| Matt Gostick on Fri, 6 Oct 2000 15:19:29 +0200 (CEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| RE: can't use lpr from cmd line |
> -----Original Message----- > From: Andreas Klemm [mailto:andreas@klemm.gtn.com] > Sent: October 6, 2000 1:17 AM > To: Matt Gostick > Cc: apsfilter-help@apsfilter.org > Subject: Re: can't use lpr from cmd line > > > On Wed, Oct 04, 2000 at 12:52:11PM -0400, Matt Gostick wrote: > > > > Hi, > > > > I just installed apsfilter on my freebsd-4.1 machine and was very > > 1. apsfilter version ? It doesn't matter... I fixed the problem. It turned out to be an error with a2ps. For some reason on freebsd the source version (from ports) compiled with that bug. I used the binary package version and all is now well. > > impressed with the functionality. I thought it was going to be hell > > getting my machine to print to a HP laserjet 4000 connected to a Win95 > > machine via smbclient. I probably would have given up if it wasn't for > > apsfilter. > > > > I am having one problem though. I _can_ print from netscape > etc... but I > > _can't_ use lpr from the command line. > > > > I've tried a couple of different switchs to see if they make it work but > > as far as I understood 'lpr text.txt' should work. It seems to > ... when I > > run lpq it's there ... and then disappears after about 2 minutes. But > > when I run upstairs to the printer it didn't print :( > > > > I'm getting kinda tired of running upstairs... hopefully someone on this > move the box downstairs for testing time ... Gee thanks, maybe you could write my company an email explaining to them that I need to take down the print server for a little while b/c I'm using an operating system where the printer does't 'just work'. I'm sure they would love it. That would give them at least a couple of months worth of 'M$ is better than anything' ammo. > > list can help. > > > > There's nothing in my log files that suggests anything went wrong (or > > right for that matter). > > > > my /etc/printcap: > > > > # LABEL apsfilter > > # apsfilter setup Wed Oct 4 10:15:24 EDT 2000 > > # > > # DON'T DELETE THIS: > > # APS_BASEDIR:/usr/local/apsfilter > > # > > # APS1_BEGIN:printer1:laserjet:letter:default > > # - don't delete start label for apsfilter printer1 > > # - no other printer defines between BEGIN and END LABEL > > # > > lp|aps1-laserjet-letter-auto-default|Printer1 laserjet letter auto > > default:\ > > :lp=/dev/null:\ > > :sd=/var/spool/lpd/printer1-laserjet-letter-auto-default:\ > > :lf=/var/spool/lpd/printer1-laserjet-letter-auto-default/log:\ > > :af=/var/spool/lpd/printer1-laserjet-letter-auto-default/acct:\ > > :if=/usr/local/apsfilter/filter/aps1-laserjet-letter-auto-default:\ > > :mx#0:\ > > :sh: > > raw|aps2-laserjet-letter-raw|Printer1 laserjet letter raw:\ > > :lp=/dev/null:\ > > :sd=/var/spool/lpd/printer1-laserjet-letter-raw:\ > > :lf=/var/spool/lpd/printer1-laserjet-letter-raw/log:\ > > :af=/var/spool/lpd/printer1-laserjet-letter-raw/acct:\ > > :if=/usr/local/apsfilter/filter/aps2-laserjet-letter-raw:\ > > :mx#0:\ > > :sf:\ > > :sh: > > # APS1_END - don't delete this END LABEL for printer1 > > > > > > AAAHHHH... it just occured to me that I was looking at > /var/log... and in > > printcap is says /var/spool/lpd/.../log. > > > > This is in that file when I try and print. > > > > pap: not found > > a2ps:/usr/local/share/a2ps/sheets/sheets.map:50: unexpected > character `*' > > > > I don't know what pap is... > > pap is for appletalk remote printing I don't remember selecting that option. No bother. That message does not come up anymore now that I have the new a2ps installed for some reason. > > Thanks, > > > > P.S. Could you CC me as well as the list as I am not subscribed. Thanks > > again, > > you should read how to report bugs and send a log from an unsuccessful > print session. As usual I spend most of the time asking for that. Hmmm... I wasn't actually trying to report a bug. I was trying to get my printer working. I think you're giving users to much credit. Maybe to avoid confusion you should rename help@apsfilter.com to unhelpful@apsfilter.com. And the log entry that I attached above? that doesn't qualify as a log? > -- > Andreas Klemm Powered > by FreeBSD SMP > Songs from our band > >>64Bits<<............http://www.apsfilter.org/64bits.html > My homepage................................ > http://people.FreeBSD.ORG/~andreas > Please note: Apsfilter got a NEW > HOME................http://www.apsfilter.org/ > >