Date: Mon, 10 Apr 2000 05:31:38 -0400 (EDT) From: Lanny Baron <lnb@heretic.cybertouch.org> To: Jeff Gray <jwg2@adsl-63-201-55-220.dsl.snfc21.pacbell.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: printer help please Message-ID: <Pine.BSF.4.21.0004100528580.10234-100000@heretic.cybertouch.org> In-Reply-To: <Pine.BSF.4.10.10004091356190.81571-100000@adsl-63-201-55-220.dsl.snfc21.pacbell.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, If you look below, your own machine cannot create the files. What kind of printer do you have? I had a B__tch of a time with a few printers here on my network. Have you installed the latest ghostscript (version 6)? your error says /dev/console permission denied. You are doing something wrong. What version of FreeBSD do you have? -lnb On Sun, 9 Apr 2000, Jeff Gray wrote: > 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 <g>. > > 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 <g>. > > > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004100528580.10234-100000>