How to set polling for printer upon startup

Roland Smith rsmith at xs4all.nl
Fri Jul 8 21:54:13 GMT 2005


On Sat, Jul 09, 2005 at 09:39:17AM +1200, Jonathan Chen wrote:
> 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?
> 
> I've got:
> 
>     hint.ppc.0.flags="0x28"
> 
> in my /boot/device.hints to do this.

Using 0x28 also puts the port in ECP mode. To put it in polling mode
only, use 0x20.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050708/781de6ef/attachment.bin


More information about the freebsd-stable mailing list