Date: Mon, 12 Mar 2001 21:40:02 -0800 (PST) From: Wei-Kai Wu <wkwu@ccbsd1.csie.nctu.edu.tw> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/25635: lpr -# didn't work on network printer Message-ID: <200103130540.f2D5e2U93517@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/25635; it has been noted by GNATS. From: Wei-Kai Wu <wkwu@ccbsd1.csie.nctu.edu.tw> To: Garance A Drosihn <drosih@rpi.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103130540.f2D5e2U93517>