Available in

(1) (1)/de (1)/es (1)/fr (1)/pl (1posix) (4) (4)/de (4)/es (4)/fr (4)/it (4)/ja (4)/ko (4)/pl (4)/pt (4freebsd) (7d)

TOC

LP(4)                      Linux Programmer's Manual                     LP(4)



lp -

#include <linux/lp.h>

lp[0-2]

        6  0-2
        0x03bc, 0x0378, 0x0278
        220  root  lp (polling) (interrupts)





ioctl(2)
       int ioctl(int fd, LPTIME, int arg)
              ( buffer )
               arg 11001 20.02( polling driver )

       int ioctl(int fd, LPCHAR, int arg)

              (busy-wait) arg

               1000

       int ioctl(int fd, LPABORT, int arg)
              arg  0
               0

       int ioctl(int fd, LPABORTOPEN, int arg)
              arg  0 open(2)



       int ioctl(int fd, LPCAREFUL, int arg)
              arg0 (false)0


       int ioctl(int fd, LPWAIT, int arg)

              (strobe)
               arg
               0.5
               0


       int ioctl(int fd, LPSETIRQ, int arg)

              ioctl(2) IRQ int

              arg0


       int ioctl(int fd, LPGETIRQ, int *arg)
              IRQarg

       int ioctl(int fd, LPGETSTATUS, int *arg)
              arg


              LP_PBUSY
              LP_PACK
              LP_POUTPA
              LP_PSELECD

              LP_PERRORP




       int ioctl(int fd, LPRESET)


/dev/lp*

chmod(1),
       chown(1), mknod(1), lpcntl(8), tunelp(8)

 2.1.x
        2.1.x




Linux                             1995-01-15                             LP(4)

COMMENTS

Add your comment here. Whitespace and linebreaks are preserved. URLs are linked automatically.
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.