From owner-freebsd-questions Mon Apr 15 18:31:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA24094 for questions-outgoing; Mon, 15 Apr 1996 18:31:51 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA24087 for ; Mon, 15 Apr 1996 18:31:48 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA20804; Tue, 16 Apr 1996 11:32:41 +0930 From: Michael Smith Message-Id: <199604160202.LAA20804@genesis.atrad.adelaide.edu.au> Subject: Re: Network Printing... To: branson@longstreet.larc.nasa.gov (Branson Matheson) Date: Tue, 16 Apr 1996 11:32:41 +0930 (CST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199604151823.OAA28724@longstreet.larc.nasa.gov> from "Branson Matheson" at Apr 15, 96 02:23:41 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Branson Matheson stands accused of saying: > > I have lots of PC's here that print to a single netowrk printer. They > tend to print lots of pages that contain one or two lines and the only > reason that they are printing them in the first place is for paper > record (Yes they are still in the stoneage ;-) What I would like to do > is simple yet it doesn't work.. I want to configure that network > printer with a filter ( somthing like a2ps that puts two pages on one > ) and allow them to print to my machine using samba or lpd and then I > convert and set it to the printer.. I have not found any unique way to > do this .. any idears? Depends on how flashy you want to get. It sounds awfully like they should really be journalling stuff and then printing the journals, rather than being that wasteful. Does the resultant output _have_ to be one page per record? Anyway, to answer your original question, assuming you have installed apsfilter correctly, here's a snippet of smb.conf file for Samba that lets you print : (assuming the printer you want is called 'lp2':) BJ] printable = yes path = /tmp public = yes read only = yes allow hosts = 10.0.,203.20.121. comment = Auto-sensing BJ230 printer = lp2 browseable = yes [global] hosts equiv = /usr/local/samba/lib/hosts.equiv map archive = no password level = 2 security = user browseable = no guest account = samba printing = bsd > branson matheson | branson@widomaker.com -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[