From owner-freebsd-hackers Wed Sep 24 02:41:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA19002 for hackers-outgoing; Wed, 24 Sep 1997 02:41:25 -0700 (PDT) Received: from minor.stranger.com (stranger.vip.best.com [204.156.129.250]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA18996 for ; Wed, 24 Sep 1997 02:41:20 -0700 (PDT) Received: from dog.farm.org (dog.farm.org [207.111.140.47]) by minor.stranger.com (8.8.5/8.6.12) with ESMTP id CAA18573; Wed, 24 Sep 1997 02:46:51 -0700 (PDT) Received: (from dk@localhost) by dog.farm.org (8.7.5/dk#3) id CAA05910; Wed, 24 Sep 1997 02:37:27 -0700 (PDT) Date: Wed, 24 Sep 1997 02:37:27 -0700 (PDT) From: Dmitry Kohmanyuk Message-Id: <199709240937.CAA05910@dog.farm.org> To: arg@arg1.demon.co.uk (Andrew Gordon) Cc: freebsd-hackers@freebsd.org Subject: Re: lpr/lpd and HP networked printers Newsgroups: cs-monolit.gated.lists.freebsd.hackers Organization: FARM Computing Association Reply-To: dk+@ua.net X-Newsreader: TIN [version 1.2 PL2] Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article you wrote: > Maybe I didn't make this clear: having looked at the protocol, I find I > can suppress the banner page when printing from a FreeBSD machine too, so > long as I use "lpr -h". The printer is obeying the "L" command code in > the print job control file (both the HP and Intel devices do so). > The problem is that with hundreds of users, printing via many different > methods (manual lpr, from netscape, via Samba, via PC-NFS etc.) getting > the "-h" into all the applicable config files/user's brains is impractical. > If lpd is printing locally to a printer, it observes the "sh" capability > and overrides the "L" command. However, if it is printing to a remote > printer, it just transfers the control file unchanged and "sh" has > no affect whatever. force them all to print to a proxy lpd on a Unix host. Patch the lpd on this host, add new capability (network-sh), and add it to definition of this printer. You get side advantages: accounting, possible filtering/quotas, and virtual printer (imagine adding new printer and asking everybody to change). Meanwhile, ask HP to give you an upgrade that works... ;-) -- "Books: You can't grep dead trees." -- Dion Favors(?)