[Linux-parport] open /dev/lp1
svoltz at wanadoo.fr
svoltz at wanadoo.fr
Mon Nov 22 15:22:11 EST 2004
On Mon, Nov 22, 2004 at 09:49:25AM +0100, Phuoc at t-online.de wrote:
> Hello,
>
> I'm read that it's also possible to acces the parallel port via open
> fanction.
> so I try it:
>
> int PPfd=open("/dev/lp1",O_RDWR);
>
> but I always get the error message: No such device or address
>
> what do I wrong?
>
> I'm very greatful for your help
>
> Thanks
> Phuoc
>
>
>
> _______________________________________________
> Linux-parport mailing list
> Linux-parport at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-parport
Maybe trying /dev/lp0 which should be the first device for the
first printer.
Regards,
Stef
More information about the Linux-parport
mailing list