From owner-freebsd-questions Thu Sep 30 9:34:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pebkac.owp.csus.edu (pebkac.owp.csus.edu [130.86.232.245]) by hub.freebsd.org (Postfix) with ESMTP id 89F93159F9 for ; Thu, 30 Sep 1999 09:34:00 -0700 (PDT) (envelope-from joseph.scott@owp.csus.edu) Received: from owp.csus.edu (mothra.ecs.csus.edu [130.86.76.220]) by pebkac.owp.csus.edu (8.9.3/8.9.3) with ESMTP id JAA52918; Thu, 30 Sep 1999 09:33:29 -0700 (PDT) Message-ID: <37F390D5.F529262@owp.csus.edu> Date: Thu, 30 Sep 1999 16:33:25 +0000 From: Joseph Scott X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Christopher T. Griffiths" Cc: Dave Rideout , FreeBSD Questions Subject: Re: Printing References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Christopher T. Griffiths" wrote: > > I believe what he meant to ask was how to stop blank pages from being > printed from a windows machine to a samba shared printer on a freebsd 3.3 > stable server. Here is the config: That's exactly where I came across this problem also. If you look at the config file for Samba there is a line that tells it what command to use when sending a print job. I believe the default looks like : lpr -r -P%p %s I then changed mine to look like : lpr -rh -P%p %s ^ adding the h option stopped the extra page at the end printing. From the man page for lpr(1) : -h Suppress the printing of the burst page. Assuming that is what was refered to then the -h should do the trick. > > hp6p|Hewlett Packard 6P:\ > :sh:\ > :sf:\ > :rm=63.66.225.100:\ > :sd=/var/spool/output/hp6p:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/hpif:\ > :mx#0: > > Any help would be appreciated. > > Chris -- Joseph Scott joseph.scott@owp.csus.edu Office Of Water Programs - CSU Sacramento To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message