lp



Liczniki odwiedzin | Księgi gości | Metal Lyrics | Znaczenie imion | Konwerter | Wolne domeny | Informacje o samochodach | Zakupy w UK | | | | | | | wyposażenie warsztatów | Wypoczynek nad jeziorami




NAME

       lp - line printer devices


SYNOPSIS

       #include <linux/lp.h>


CONFIGURATION

       lp[0-2] are character devices for the parallel line print-
       ers; they have major number 6 and minor number  0-2.   The
       minor   numbers   correspond  to  the  printer  port  base
       addresses 0x03bc, 0x0378 and 0x0278.   Usually  they  have
       mode  220 and are owned by root and group lp.  You can use
       printer ports either  with  polling  or  with  interrupts.
       Interrupts  are recommended when high traffic is expected,
       e.g. for laser printers.  For usual  dot  matrix  printers
       polling will usually be enough.  The default is polling.


DESCRIPTION

       The following ioctl(2) calls are supported:

       int ioctl(int fd, LPTIME, int arg)
              Sets  the  amount  of  time  that the driver sleeps
              before rechecking the printer  when  the  printer's
              buffer  appears to be filled to arg.  If you have a
              fast printer, decrease this number; if you  have  a
              slow  printer  then  increase  it.  This is in hun-
              dredths of a second, the default 2 being 0.05  sec-
              onds.  It only influences the polling driver.

       int ioctl(int fd, LPCHAR, int arg)
              Sets  the  maximum  number  of busy-wait iterations
              which the polling driver does while waiting for the
              printer  to  get ready for receiving a character to
              arg.  If printing is too slow, increase  this  num-
              ber;  if  the  system  gets too slow, decrease this
              number.  The default is 1000.  It  only  influences
              the polling driver.

       int ioctl(int fd, LPABORT, int arg)
              If  arg  is  0,  the  printer  driver will retry on
              errors, otherwise it will abort.  The default is 0.

       int ioctl(int fd, LPABORTOPEN, int arg)
              If arg is 0, open(2) will be aborted on error, oth-
              erwise error will be ignored.  The  default  is  to
              ignore it.

       int ioctl(int fd, LPCAREFUL, int arg)
              If  arg  is  0,  then the out-of-paper, offline and
              error signals are  required  to  be  false  on  all
              writes, otherwise they are ignored.  The default is
              to ignore them.


       int ioctl(int fd, LPWAIT, int arg)
              Sets the number of busy waiting iterations to  wait
              before  strobing the printer to accept a just-writ-
              ten character, and the number of iterations to wait
              before  turning  the strobe off again, to arg.  The
              specification  says  this  time   should   be   0.5
              microseconds,  but  experience  has shown the delay
              caused by the code is  already  enough.   For  that
              reason,  the  default value is 0.  This is used for
              both the polling and the interrupt driver.

       int ioctl(int fd, LPSETIRQ, int arg)
              This ioctl()  requires  superuser  privileges.   It
              takes  an  int  containing the new IRQ as argument.
              As a side effect, the printer will be reset.   When
              arg is 0, the polling driver will be used, which is
              also default.

       int ioctl(int fd, LPGETIRQ, int *arg)
              Stores the currently used IRQ in arg.

       int ioctl(int fd, LPGETSTATUS, int *arg)
              Stores the value of the status port  in  arg.   The
              bits have the following meaning:

              LP_PBUSY     inverted busy input, active high
              LP_PACK      unchanged acknowledge input, active low
              LP_POUTPA    unchanged out-of-paper input, active high
              LP_PSELECD   unchanged selected input, active high
              LP_PERRORP   unchanged error input, active low

              Refer to your printer manual for the meaning of the
              signals.  Note that undocumented bits may  also  be
              set, depending on your printer.

       int ioctl(int fd, LPRESET)
              Resets the printer.  No argument is used.


FILES

       /dev/lp*


AUTHORS

       The  printer  driver was originally written by Jim Weigand
       and Linus Torvalds.  It was further improved by Michael K.
       Johnson.   The interrupt code was written by Nigel Gamble.
       Alan Cox modularised it.  LPCAREFUL, LPABORT,  LPGETSTATUS
       were added by Chris Metcalf.


SEE ALSO

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

  Księgarnia

- Oferta księgarni Mentis
- Oferta księgarni Onepress
- Linux Manual (english)
- Konstytucje
- Kręgosłup, bóle karku
- Elektroniczne książki
- Prasa elektroniczna
- Gry RPG, figurki
- darmowy słownik on-line
- jubiler - biżuteria
- polityka prywatności





Linux - Welsh Matt, Dalheimer Matthias Kalle, Kaufman Lar Linux
Autor: Welsh Matt, Dalheimer Matthias Kalle, Kaufman Lar
Cena: 85.44
Rok wydania: 2000
Wydawnictwo: Read Me
Ilość stron: 700
Linux - bezpieczeństwo serwerów - Michael D.Bauer Linux - bezpieczeństwo serwerów
Autor: Michael D.Bauer
Cena: 58.88
Rok wydania: 2003
Wydawnictwo: Read Me
Ilość stron: 488
Linux kernel - Daniel P. Bovet, Marco Cesati Linux kernel
Autor: Daniel P. Bovet, Marco Cesati
Cena: 85.44
Rok wydania: 2001
Wydawnictwo: Read Me
Ilość stron: 634
Linux. Programowanie dla zaawansowanych - Mark Mitchell. Jeffrey Oldham, Alex Samuel Linux. Programowanie dla zaawansowanych
Autor: Mark Mitchell. Jeffrey Oldham, Alex Samuel
Cena: 42.32
Rok wydania: 2002
Wydawnictwo: Read Me
Ilość stron: 300
Linux: Systemy plików - Moshe Bar Linux: Systemy plików
Autor: Moshe Bar
Cena: 51.52
Rok wydania: 2002
Wydawnictwo: Read Me
Ilość stron: 332
Linux. Archiwizacja danych - Leszek Madeja Linux. Archiwizacja danych
Autor: Leszek Madeja
Cena: 17.60
Rok wydania: 2003
Wydawnictwo: Mikom
Ilość stron:
Linux i galanteria SCSI - Leszek Madeja Linux i galanteria SCSI
Autor: Leszek Madeja
Cena: 10.80
Rok wydania: 2003
Wydawnictwo: Mikom
Ilość stron: 88
Bezpieczeństwo systemu Linux - Ramón J. Honta&ntilde;ón Bezpieczeństwo systemu Linux
Autor: Ramón J. Honta&ntilde;ón
Cena: 44.62
Rok wydania: 2002
Wydawnictwo: Mikom
Ilość stron: 464
Korzystanie z drukarki. Ćwiczenia z systemu Linux - Leszek Madeja Korzystanie z drukarki. Ćwiczenia z systemu Linux
Autor: Leszek Madeja
Cena: 16.80
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 192
Korzystanie z pomocy. Ćwiczenia z systemu Linux - Leszek Madeja Korzystanie z pomocy. Ćwiczenia z systemu Linux
Autor: Leszek Madeja
Cena: 15.40
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 152
Linux - książka kucharska - Michael Stutz Linux - książka kucharska
Autor: Michael Stutz
Cena: 47.84
Rok wydania: 2002
Wydawnictwo: Mikom
Ilość stron: 488
Linux. Gniazda w programowaniu - Woren W. Gay Linux. Gniazda w programowaniu
Autor: Woren W. Gay
Cena: 47.29
Rok wydania: 2001
Wydawnictwo: Mikom
Ilość stron: 552
LINUX. Rozwiązywanie problemów - Brian Ward LINUX. Rozwiązywanie problemów
Autor: Brian Ward
Cena: 33.92
Rok wydania: 2001
Wydawnictwo: Mikom
Ilość stron: 312
Midnight Commander. Ćwiczenia z systemu Linux - Leszek Madeja Midnight Commander. Ćwiczenia z systemu Linux
Autor: Leszek Madeja
Cena: 23.80
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 272
Red Hat Linux 6.2 same konkrety - Bob Rankin Red Hat Linux 6.2 same konkrety
Autor: Bob Rankin
Cena: 39.74
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 372
Caldera Linux 2.3 dla każdego - Bill Ball Caldera Linux 2.3 dla każdego
Autor: Bill Ball
Cena: 49.00
Rok wydania: 2000
Wydawnictwo: Helion
Ilość stron: 400
Linux. Praktyczne rozwiązania - Adam Podstawczyński Linux. Praktyczne rozwiązania
Autor: Adam Podstawczyński
Cena: 35.00
Rok wydania: 2000
Wydawnictwo: Helion
Ilość stron: 248
Red Hat Linux 7.3. Księga eksperta - Bill Ball Red Hat Linux 7.3. Księga eksperta
Autor: Bill Ball
Cena: 110.00
Rok wydania: 2002
Wydawnictwo: Helion
Ilość stron: 752
Linux w sieci - Adam Podstawczyński Linux w sieci
Autor: Adam Podstawczyński
Cena: 39.00
Rok wydania: 2002
Wydawnictwo: Helion
Ilość stron: 224
Red Hat Linux 7.2. Ćwiczenia praktyczne - Jerzy Marczyński Red Hat Linux 7.2. Ćwiczenia praktyczne
Autor: Jerzy Marczyński
Cena: 18.00
Rok wydania: 2002
Wydawnictwo: Helion
Ilość stron: 176






ksiegarnia.pila.pl exists since 2005 year.
Provided by: Przemysław Krajniak, PHP Scripts