From owner-freebsd-questions Tue Nov 24 11:59:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29984 for freebsd-questions-outgoing; Tue, 24 Nov 1998 11:59:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dukat.noc.cup.ndp.net (dukat.noc.cup.ndp.net [209.212.224.149]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29977 for ; Tue, 24 Nov 1998 11:59:45 -0800 (PST) (envelope-from andym@ntt.net) Received: from localhost (localhost [127.0.0.1]) by dukat.noc.cup.ndp.net (8.8.8/8.8.8) with SMTP id LAA07041; Tue, 24 Nov 1998 11:59:12 -0800 (PST) (envelope-from andym@ntt.net) Date: Tue, 24 Nov 1998 11:59:12 -0800 (PST) From: Andy McConnell Reply-To: Andy McConnell To: Patrick Gardella cc: questions@FreeBSD.ORG Subject: RE: /etc/printcap doesn't work as advertised - Can't remove bane In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-2022-JP Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ah.. Maybe you have hit on something. The remote printer is an HP with a JetDirect lpd server. Let me know if I've got the theory right: the sh in the local printcap simply sets a flag that gets propogated to the remote lpd, correct? What option does lpr -h send? What option can I put in the printcap to emulate the -h command line option then? -andy On Tue, 24 Nov 1998, Patrick Gardella wrote: >Perhaps the remote printer doesn't have the :sh: capability? > >My remote printcap entry does not have it, but at the remote side, it does. > >Patrick > >On 24-Nov-98 Andy McConnell wrote: >> OK.... >> >> Tried that(:sh:\ on its own line), killed the lpd process, and restarted >> it (by hand). Still no success. >> >> Could it be something related to the remote printer? I didn't think so, >> because lpr -h works successfully. Any more ideas? >> >> -Andy >> >> On Tue, 24 Nov 1998, Patrick Gardella wrote: >> >>> >>>On 24-Nov-98 Andy McConnell wrote: >>>> lp|printer:\ >>>> :sh:rm=printer.noc.cup.ndp.net:\ >>>> :sd=/var/spool/output/lpd:\ >>>> :lf=/var/log/lpd-errs: >>>> >>> >>>Try it as: >>> lp|printer:\ >>> :sh::rm=printer.noc.cup.ndp.net:\ >>> :sd=/var/spool/output/lpd:\ >>> :lf=/var/log/lpd-errs: >>> >>>or >>> lp|printer:\ >>> :sh:\ >>> :rm=printer.noc.cup.ndp.net:\ >>> :sd=/var/spool/output/lpd:\ >>> :lf=/var/log/lpd-errs: >>> >>> >>>Patrick >>> >>>--- >>>Patrick S. Gardella Director of Web Development >>>The Creative Group 1-800-804-0783 ext 29 606-858-8029 (fax) >>>http://www.cre8tivegroup.com PGP Key ID 0xEE2D47A9 >>> >> >> -- >> Andy McConnell 真向練 安堵龍 >> NTT America IP Headquarters >> >> Plan to be spontaneous tomorrow. > >--- >Patrick S. Gardella Director of Web Development >The Creative Group 1-800-804-0783 ext 29 606-858-8029 (fax) >http://www..cre8tivegroup.com PGP Key ID 0xEE2D47A9 > -- Andy McConnell 真向練 安堵龍 NTT America IP Headquarters I am not a vegetarian because I love animals; I am a vegetarian because I hate plants. -- A. Whitney Brown To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message