From owner-freebsd-questions Sat Aug 5 12:27:47 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id MAA26650 for questions-outgoing; Sat, 5 Aug 1995 12:27:47 -0700 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id MAA26644 for ; Sat, 5 Aug 1995 12:27:45 -0700 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA06985; Sat, 5 Aug 95 19:27:44 GMT Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA13017; Sat, 5 Aug 1995 13:27:42 -0600 Date: Sat, 5 Aug 1995 13:27:42 -0600 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9508051927.AA13017@emu.fsl.noaa.gov> To: fadorno@ix.netcom.com Cc: questions@freebsd.org In-Reply-To: <199508051812.LAA23094@ix3.ix.netcom.com> (fadorno@ix.netcom.com) Subject: Re: Printer setup for a Epson Actionlaser 1500 Sender: questions-owner@freebsd.org Precedence: bulk >>>>> "Fred" == Fred Adorno 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