Date: Fri, 8 Jul 2005 16:36:20 -0400 From: Scott Robbins <scottro@nyc.rr.com> To: freebsd-stable@freebsd.org Subject: Re: How to set polling for printer upon startup Message-ID: <20050708203620.GA52798@uws1.starlofashions.com> In-Reply-To: <42CED9B5.6080100@math.missouri.edu> References: <42CED9B5.6080100@math.missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Jul 08, 2005 at 02:53:25PM -0500, Stephen Montgomery-Smith wrote: > My printer doesn't work very well unless I type > lpcontrol -p > What is the "correct" way to make this happen when the computer first boots up > - is there some setting in device.hints or something I can put in the kernel > config so that it defaults to this? Well, I have a very complex and esoteric script that I load. However, perhaps with years of study, you can duplicate it. #!/bin/sh lpcontrol -e (Which is what I need in my case for a similar problem) Just put it into /usr/local/etc/rc.d and make it executable, changing the -p to an -e of course. Call it whatever you wish, but be sure to add an sh extension, e.g. call it lptcontrol.sh That should do it. - -- Scott GPG KeyID EB3467D6 ( 1B848 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Buffy: Have I ever let you down? Giles: Do you want me to answer that, or shall I just glare? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCzuPE+lTVdes0Z9YRAmztAJ48gCcwd0QlTkAkSMKbJNLxTeiy7gCdFA6f Vrd0I0AKNT4KYomP9QE7QrA= =SZBs -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050708203620.GA52798>