From owner-freebsd-questions Tue Dec 4 6:16:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by hub.freebsd.org (Postfix) with ESMTP id 9616A37B416 for ; Tue, 4 Dec 2001 06:16:27 -0800 (PST) Received: (from mrg8n@localhost) by humpty.finadmin.virginia.edu (8.11.1/8.11.1) id fB4EP6W24078; Tue, 4 Dec 2001 09:25:06 -0500 (EST) (envelope-from mrg8n) Date: Tue, 4 Dec 2001 09:25:06 -0500 From: Mike Galvez To: Ron Martin Cc: questions@FreeBSD.org Subject: remote printing Message-ID: <20011204092506.A24014@mail.virginia.edu> References: <000601c17b56$3884dd80$077d87af@icrsystems.net> <3C0C41C7.5020906@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C0C41C7.5020906@earthlink.net>; from rrodrig743@earthlink.net on Mon, Dec 03, 2001 at 07:23:51PM -0800 X-Operating-System: FreeBSD UNIX Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Ron Martin wrote: > > I would like to know if anyone can tell me how to setup FreeBSD to print to > an HP LaserJet attached to an Intel Pro 100 printserver. > > I have tried everything in the online handbook about printing both simple > and advanced. > > Thanks, > > Ron Martin > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > #Add printer to /etc/printcap: helga|helga HP4100:\ :lp=9100@192.168.10.2:\ :sh:mx=0:\ :lf=/var/log/lpd-errs:\ :if=/usr/local/libexec/lpr/hplj:\ :sd=/var/spool/output/helga: # Make sure you create the spool directory /var/spool/output/printername # Create a shell script (make executable) for your infilter: #!/bin/sh printf "\033&k2G" && cat && printf "\f" && exit 0 exit 2 Start or re-start lpd. HTH Mike -- Michael Galvez Computer Systems Sr. Engineer Office: 804-982-2975 Financial Analysis E-Mail: mrg8n@virginia.edu University of Virginia Messenger Mail: Carruthers Hall Meader's Law: Whatever happens to you, it will previously have happened to everyone you know, only more so. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message