From owner-freebsd-bugs Mon Mar 12 21:40: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 81A3F37B718 for ; Mon, 12 Mar 2001 21:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2D5e2U93517; Mon, 12 Mar 2001 21:40:02 -0800 (PST) (envelope-from gnats) Date: Mon, 12 Mar 2001 21:40:02 -0800 (PST) Message-Id: <200103130540.f2D5e2U93517@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Wei-Kai Wu Subject: Re: misc/25635: lpr -# didn't work on network printer Reply-To: Wei-Kai Wu Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/25635; it has been noted by GNATS. From: Wei-Kai Wu To: Garance A Drosihn Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/25635: lpr -# didn't work on network printer Date: Tue, 13 Mar 2001 13:31:35 +0800 On Mon, Mar 12, 2001 at 09:24:34PM -0500, Garance A Drosihn wrote: > What does your printcap entry look like? Do you, for > instance, do anything with a filter (if=blah) on this > print queue? I think our filter did nothing about multiple copies. > protocols, then you will only get a single copy. I also > tested by pointing the exact same queue at a freebsd box, > and the control file sent by the print server was correct. > Ie, the control file does request the same number of copies > that the user originally requested. I check the control file, it just create as n lines as you specify -#n: fdfA339server fdfA339server You mean this? > Still, I suppose 'lpd' could fix this, by having an option > to say "if the user requested multiple copies, then send > each datafile to the remote host multiple times". Not > the most exciting option, but it is probably doable. I > will try to remember this issue, but I don't have any > immediate plans to implement such an option. I have a dirty solution (modify the lpr.c): fdfA339server UdfA339server Nhosts fdfA339server UdfA339server Nhosts But it only works when you print by lpr on server. If I print by exact the same lpr on client (rm=server), it will failed sending jobs to server. -- 國立交通大學資訊工程研究所 Wei-Kai Wu E-mail: wkwu@csie.nctu.edu.tw Lab: 03-5712121-54743 (EC119) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message