Date: Sat, 5 Aug 1995 13:27:42 -0600 From: kelly@fsl.noaa.gov (Sean Kelly) To: fadorno@ix.netcom.com Cc: questions@freebsd.org Subject: Re: Printer setup for a Epson Actionlaser 1500 Message-ID: <9508051927.AA13017@emu.fsl.noaa.gov> In-Reply-To: <199508051812.LAA23094@ix3.ix.netcom.com> (fadorno@ix.netcom.com)
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Fred" == Fred Adorno <fadorno@ix.netcom.com> writes: Fred> I am getting an error message "unknown printer". What do I Fred> do? This comes from either (1) Using lpr with the -P option with the name of a printer that doesn't exist in /etc/printcap. (2) Not using a -P option and having a PRINTER environment variable that's set to the name of a printer that doesn't exist in /etc/printcap. (3) Not using -P nor having a PRINTER environment variable; in this case, lpr defaults to a printer named ``lp'' and there's no printer or alias named ``lp'' in /etc/printcap. My guess is you're experiencing (3). To fix it, add an alias called ``lp'' to /etc/printcap. For example: lp|epson|action|laser|Epson ActionLaser 1500:\ :lp=/dev/lpt0: ...etc... will allow you to type any of the following commands to print: lpr lpr -Plp lpr -Pepson lpr -Paction lpr -Plaser lpr "-PEpson ActionLaser 1500" -- Sean Kelly NOAA Forecast Systems Lab, Boulder Colorado USA I bet it was pretty hard to pick up girls if you had the Black Death. -- Jack Handey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508051927.AA13017>