From owner-freebsd-questions Sat Feb 19 6:46:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.twave.net (twave.net [206.100.228.5]) by hub.freebsd.org (Postfix) with SMTP id 7EE2237BC68 for ; Sat, 19 Feb 2000 06:46:22 -0800 (PST) (envelope-from brameld@twave.net) Received: from [208.219.234.27] by mail.twave.net (NTMail 3.03.0018/1.abwg) with ESMTP id ta666243 for ; Sat, 19 Feb 2000 09:44:59 -0500 Received: from Bozo_3.BozoLand.domain (localhost [127.0.0.1]) by Bozo_3.BozoLand.domain (8.9.3/8.9.3) with SMTP id JAA03049; Sat, 19 Feb 2000 09:46:05 -0500 (EST) (envelope-from brameld@twave.net) From: Walter Brameld To: ccba , Greg Lehey , FreeBSD-Questions Subject: Re: LAN Postscript Problems Date: Sat, 19 Feb 2000 09:41:23 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <20000210154332.A18555@cc942873-a.ewndsr1.nj.home.com> <20000219092012.H32540@freebie.lemis.com> <38AEA3A9.A93B6602@mindspring.com> In-Reply-To: <38AEA3A9.A93B6602@mindspring.com> MIME-Version: 1.0 Message-Id: <00021909460402.02939@Bozo_3.BozoLand.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 19 Feb 2000, in a never-ending search for enlightenment, ccba wrote: > Hello Again: > > In the /etc/printcap file, I added the following entries: > > rlp | Remote Printer:\ > :rm==Jib_Jack:sd=/var/spool/output/Jib-Jack:lf=/var/log/lpd-errs: > > and I create the necessary Jib-Jack directory in the output folder. > > However when I do a "lpr -P Jib-Jack /etc/printcap" > > it still gives me "lpr: unknown printer " message. > > What else am I doing wrong ?? > > Phil Wong > New FreeBSD guy > When using the -P option, the name of the printer is what is specified on the first line of the printcap, i.e. rlp or Premote Printer. There is also no space between the P and the name, so the command line you would want appears like this: lpr -Prlp /etc/printcap, or lpr -PRemote Printer /etc/printcap (Not sure if the space in the name might cause problems). Also, not sure if this was just a typo, but it should be :rm=Jib_Jack: not :rm==Jib_Jack:. -- Walter in·tel·lec·tu·al n. Someone who has been educated past his/her level of intelligence. Join the Army, meet interesting people, kill them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message