-----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-----
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to