From owner-freebsd-questions Fri Mar 29 21:21:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by hub.freebsd.org (Postfix) with ESMTP id C404137B405 for ; Fri, 29 Mar 2002 21:21:49 -0800 (PST) Received: from there [66.114.152.128] by pioneernet.net (SMTPD32-6.06) id AC325C130070; Fri, 29 Mar 2002 21:25:06 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Chip Wiegand To: Glenn Johnson Subject: Re: apsfilter printing through samba Date: Fri, 29 Mar 2002 21:22:52 -0800 X-Mailer: KMail [version 1.3.2] Cc: David Banning , FreeBSD questions list References: <1017437510.46170.20.camel@node1> <200203292031354.SM00968@there> <20020330045107.GA98731@gforce.johnson.home> In-Reply-To: <20020330045107.GA98731@gforce.johnson.home> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200203292125654.SM00968@there> 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 On Friday 29 March 2002 20:51, Glenn Johnson wrote: > On Fri, Mar 29, 2002 at 08:29:05PM -0800, Chip Wiegand wrote: > > On Friday 29 March 2002 20:14, Glenn Johnson wrote: > > > My feeling is there is something wrong in the apsfilter script that > > > is causing this as it tries to determine the print method. I say > > > this because the test job prints fine. > > > > > > Thank you. > > > > A problem I've seen happen is the print command is not being formed > > correctly. For example, is apsfilter the name of the printer is given > > as hp1 (or whatever). When sending a print job the command would be > > lpr -Php1. What I've seen is people just use lpr and nothing else, or > > they use the wrong printer name. You have varified that the name you > > are calling is the same as what was set up in apsfilter? You can find > > out the name by looking at /etc/printcap. > > In this case I want to make the printer the default printer so the name > 'lp' is assigned to it in the printcap file. That should be what is > called if I just use 'lpr'. But I wonder if the name of the printer > share is somehow getting intermingled. Run apsfilter again and when you are given the option of assigning a name, just give it lp, which is the default anyway. With multiple printers you'd have to use other names of course. In my case, I just always give the complete command - lpr -Php or lpr -Pepson, and so on, you get the pic. You should be okay rerunning apsfilter and nameing the printer lp. -- Chip W www.wiegand.org chip@wiegand.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message