Date: Mon, 20 Mar 2000 21:37:47 PST From: "Joe Park" <hjjp76@hotmail.com> To: jonc@logisticsoftware.co.nz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: printer ... almost there Message-ID: <20000321053747.42421.qmail@hotmail.com>
next in thread | raw e-mail | index | archive | help
The problem is solved : -) For some reason, /etc/printcap was not being read so I just created new one without any comments (just the settings) and it works wonderfully. I still get one blank page added to every print job when I print from Samba but I can live with that. (and eventually, I'll fix it) Thank you for help. Joe >From: Jonathan Chen <jonc@logisticsoftware.co.nz> >To: Joe Park <joepark@uclink4.berkeley.edu> >CC: freebsd-questions@FreeBSD.ORG >Subject: Re: printer ... almost there >Date: Tue, 21 Mar 2000 08:42:58 +1200 > >On Mon, Mar 20, 2000 at 12:50:09AM -0800, Joe Park wrote: > > > Hello, > > > > My printer now sort of works, but not completely. First, I looked at >the > > log fie and I noticed that there were bunch of messages saying that >there > > is no "/dev/lp" file. I thought in /etc/printcap file, ":lp=/dev/lpt0" > > line takes care of that, but I guess I was wrong. So I made a link by >"# > > ln -s /dev/lpt0 /dev/lp". > >This is strange. You may want to send the list the contents of >/etc/printcap. The most common config mistake here is forgetting about >the trailing '\'. > > > Now, I can print from Win98 with samba but it keep add two pages-- one >in > > the beginning and one at the end. I though the first page was header >page, > > but adding or subtracting ":sh:" in printercap has no effect. And when >I > > tried to print from the FreeBSD printer server machine, it only prints 3 > > blank pages -- e.g. "lptest 20 5 | lpr" prints 3 blank page. > >Dunno about the problem with Win98+samba, but the second problem >relates to staircasing effect described in the handbook. A script >file with the following, along with the appropriate if= entry in >/etc/printcap should take care of the the staircasing effect. > > #!/bin/sh > awk '{ printf {"%s\r\n", $0}; }' > printf "\f" > >Jonathan Chen >---------------------------------------------------------------------- > When the character of a man is not clear to you, > look at his friends. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000321053747.42421.qmail>