From owner-freebsd-questions Sun Apr 9 14: 5:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from adsl-63-201-55-220.dsl.snfc21.pacbell.net (adsl-63-201-55-220.dsl.snfc21.pacbell.net [63.201.55.220]) by hub.freebsd.org (Postfix) with ESMTP id 3451237B7CC for ; Sun, 9 Apr 2000 14:05:08 -0700 (PDT) (envelope-from jwg2@adsl-63-201-55-220.dsl.snfc21.pacbell.net) Received: from localhost (jwg2@localhost) by adsl-63-201-55-220.dsl.snfc21.pacbell.net (8.9.3/8.9.3) with ESMTP id OAA83145; Sun, 9 Apr 2000 14:03:32 -0700 (PDT) (envelope-from jwg2@adsl-63-201-55-220.dsl.snfc21.pacbell.net) Date: Sun, 9 Apr 2000 14:03:32 -0700 (PDT) From: Jeff Gray To: Lanny Baron Cc: freebsd-questions@FreeBSD.ORG Subject: Re: printer help please In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks but lpd is not the problem, just do not know what it is. ps says it is running and lpc status shows all printers up and running with nothing in the que. If I use my original printcap file lp works. If I use the printcap file that apsfilter creates and then run a test, lpr /usr/local/apsfilter/setup/tiger.ps nothing happens. If I look at the log file I created I cannot figure out what it is telling me, > pwd /var/spool/lpd/uniprint--auto-color > tail log + head -c 8192 + file /tmp/aps_header.81458 + set -- /tmp/aps_header.81458: PostScript document conforming at level 2.0 + shift + FILE_TYPE=PostScript document conforming at level 2.0 + echo PostScript document conforming at level 2.0 + tr A-Z a-z + fault_method + echo apsfilter: unknown print method color /usr/local/apsfilter/filter/aps-uniprint--auto-color: cannot create /dev/console: permission denied The test file works fine within the apsfilter SETUP routine. Means to me that the driver functions as expected. Beautiful output. Still fogged in here . Thanks jeff On Sun, 9 Apr 2000, Lanny Baron wrote: > Hi, > Did you try to see if lpd is running? type: ps auxw | grep lpd > If it's not running type: lpd then try man man | lpr > If you still get zippo, did you make the correct dir's in /var/spool/lpd? > Example: > mkdir -p /var/spool/lpd/lp > chmod 770 /var/spool/lpd/lp > chown daemon.daemon /var/spool/lpd/lp > > lnb > > On Sat, 8 Apr 2000, Jeff Gray wrote: > > > Appeciate some advice on how to get my print output working again. > > > > Running 3.3. Have an Epson Stylus 850 Injet printer that was working in > > ascii mode. That is, I could print from emacs with no difficulty. Worked > > just fine but I could not leave well enough alone . > > > > Decided it would be good to get postscript printing working. > > > > It now appears that information is not getting to the spooler. > > > > > > 1. installed apsfilter. > > > > 2. ran the test protocol and got a beautiful tiger printout; probably used > > up half and ink cartride :-) > > > > 3. finished the setup and decided to first test ascii > > > > could not print from the buffer in emacs. > > > > as root, > > lpd > > lpc up lp1 lp2 lp3 lp4 lp5 > > these are the printers in /etc/printcap > > > > did the above in response to getting messages that printers > > were not running. > > > > 4. If I try and print from emacs the bottom of the screen says, > > Spooling... done > > the output of lpq is blank so there is no pending job > > > lpq > > no entries > > > > If I try from the command line > > lptest 20 5 |lpr > > [as in Greg's book] > > nothing happens, no error message, nada. > > > > > > If I go to Netscape and save a page using save as page.ps and then > > try > > lpr page.ps > > again, nothing > > > > My /etc/printcap follows my name. It was created by apsfilter. > > > > Advice appreciated. > > > > Thanks > > jeff > > > > # LABEL apsfilter > > # apsfilter setup Sat Apr 8 18:48:39 PDT 2000 > > # > > # APS_BASEDIR:/usr/local/apsfilter > > # > > # > > ascii|lp1|uniprint--ascii-mono|uniprint ascii mono:\ > > :lp=/dev/lpt0:\ > > :sd=/var/spool/lpd/uniprint--ascii-mono:\ > > :lf=/var/spool/lpd/uniprint--ascii-mono/log:\ > > :af=/var/spool/lpd/uniprint--ascii-mono/acct:\ > > :if=/usr/local/apsfilter/filter/aps-uniprint--ascii-mono:\ > > :mx#0:\ > > :sh: > > # > > lp2|uniprint--auto-mono|uniprint auto mono:\ > > :lp=/dev/lpt0:\ > > :sd=/var/spool/lpd/uniprint--auto-mono:\ > > :lf=/var/spool/lpd/uniprint--auto-mono/log:\ > > :af=/var/spool/lpd/uniprint--auto-mono/acct:\ > > :if=/usr/local/apsfilter/filter/aps-uniprint--auto-mono:\ > > :mx#0:\ > > :sh: > > # > > lp3|uniprint--ascii-color|uniprint ascii color:\ > > :lp=/dev/lpt0:\ > > :sd=/var/spool/lpd/uniprint--ascii-color:\ > > :lf=/var/spool/lpd/uniprint--ascii-color/log:\ > > :af=/var/spool/lpd/uniprint--ascii-color/acct:\ > > :if=/usr/local/apsfilter/filter/aps-uniprint--ascii-color:\ > > :mx#0:\ > > :sh: > > # > > lp|lp4|uniprint--auto-color|uniprint auto color:\ > > :lp=/dev/lpt0:\ > > :sd=/var/spool/lpd/uniprint--auto-color:\ > > :lf=/var/spool/lpd/uniprint--auto-color/log:\ > > :af=/var/spool/lpd/uniprint--auto-color/acct:\ > > :if=/usr/local/apsfilter/filter/aps-uniprint--auto-color:\ > > :mx#0:\ > > :sh: > > # > > raw|lp5|uniprint--raw|uniprint auto raw:\ > > :lp=/dev/lpt0:\ > > :sd=/var/spool/lpd/uniprint-raw:\ > > :lf=/var/spool/lpd/uniprint-raw/log:\ > > :af=/var/spool/lpd/uniprint-raw/acct:\ > > :if=/usr/local/apsfilter/filter/aps-uniprint--raw:\ > > :mx#0:\ > > :sh: > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message