ReactOS 0.4.15-dev-7907-g95bf896
parallel.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LP_EXIST   0x0001
 
#define LP_SELEC   0x0002
 
#define LP_BUSY   0x0004
 
#define LP_OFFL   0x0008
 
#define LP_NOPA   0x0010
 
#define LP_ERR   0x0020
 
#define LP_ABORT   0x0040
 
#define LP_CAREFUL   0x0080
 
#define LP_ABORTOPEN   0x0100
 
#define LP_INIT_CHAR   1000
 
#define LP_INIT_WAIT   0
 
#define LP_INIT_TIME   2
 
#define LPCHAR   0x0601 /* corresponds to LP_INIT_CHAR */
 
#define LPTIME   0x0602 /* corresponds to LP_INIT_TIME */
 
#define LPABORT
 
#define LPSETIRQ
 
#define LPGETIRQ   0x0606 /* get the current IRQ number */
 
#define LPWAIT   0x0608 /* corresponds to LP_INIT_WAIT */
 
#define LPCAREFUL
 
#define LPABORTOPEN
 
#define LPGETSTATUS   0x060b /* return LP_S(minor) */
 
#define LPRESET   0x060c /* reset printer */
 
#define LP_TIMEOUT_INTERRUPT   (60 * HZ)
 
#define LP_TIMEOUT_POLLED   (10 * HZ)
 
#define LP_BUFFER_SIZE   256
 
#define LP_PBUSY   0x80 /* inverted input, active high */
 
#define LP_PACK   0x40 /* unchanged input, active low */
 
#define LP_POUTPA   0x20 /* unchanged input, active high */
 
#define LP_PSELECD   0x10 /* unchanged input, active high */
 
#define LP_PERRORP   0x08 /* unchanged input, active low */
 
#define LP_PINTEN   0x10
 
#define LP_PSELECP   0x08 /* inverted output, active low */
 
#define LP_PINITP   0x04 /* unchanged output, active low */
 
#define LP_PAUTOLF   0x02 /* inverted output, active low */
 
#define LP_PSTROBE   0x01 /* inverted output, active low */
 
#define LP_DUMMY   0x00
 
#define LP_DELAY   150000
 

Macro Definition Documentation

◆ LP_ABORT

#define LP_ABORT   0x0040

Definition at line 19 of file parallel.h.

◆ LP_ABORTOPEN

#define LP_ABORTOPEN   0x0100

Definition at line 21 of file parallel.h.

◆ LP_BUFFER_SIZE

#define LP_BUFFER_SIZE   256

Definition at line 85 of file parallel.h.

◆ LP_BUSY

#define LP_BUSY   0x0004

Definition at line 15 of file parallel.h.

◆ LP_CAREFUL

#define LP_CAREFUL   0x0080

Definition at line 20 of file parallel.h.

◆ LP_DELAY

#define LP_DELAY   150000

Definition at line 129 of file parallel.h.

◆ LP_DUMMY

#define LP_DUMMY   0x00

Definition at line 123 of file parallel.h.

◆ LP_ERR

#define LP_ERR   0x0020

Definition at line 18 of file parallel.h.

◆ LP_EXIST

#define LP_EXIST   0x0001

Definition at line 13 of file parallel.h.

◆ LP_INIT_CHAR

#define LP_INIT_CHAR   1000

Definition at line 31 of file parallel.h.

◆ LP_INIT_TIME

#define LP_INIT_TIME   2

Definition at line 52 of file parallel.h.

◆ LP_INIT_WAIT

#define LP_INIT_WAIT   0

Definition at line 40 of file parallel.h.

◆ LP_NOPA

#define LP_NOPA   0x0010

Definition at line 17 of file parallel.h.

◆ LP_OFFL

#define LP_OFFL   0x0008

Definition at line 16 of file parallel.h.

◆ LP_PACK

#define LP_PACK   0x40 /* unchanged input, active low */

Definition at line 102 of file parallel.h.

◆ LP_PAUTOLF

#define LP_PAUTOLF   0x02 /* inverted output, active low */

Definition at line 115 of file parallel.h.

◆ LP_PBUSY

#define LP_PBUSY   0x80 /* inverted input, active high */

Definition at line 101 of file parallel.h.

◆ LP_PERRORP

#define LP_PERRORP   0x08 /* unchanged input, active low */

Definition at line 105 of file parallel.h.

◆ LP_PINITP

#define LP_PINITP   0x04 /* unchanged output, active low */

Definition at line 114 of file parallel.h.

◆ LP_PINTEN

#define LP_PINTEN   0x10

Definition at line 112 of file parallel.h.

◆ LP_POUTPA

#define LP_POUTPA   0x20 /* unchanged input, active high */

Definition at line 103 of file parallel.h.

◆ LP_PSELECD

#define LP_PSELECD   0x10 /* unchanged input, active high */

Definition at line 104 of file parallel.h.

◆ LP_PSELECP

#define LP_PSELECP   0x08 /* inverted output, active low */

Definition at line 113 of file parallel.h.

◆ LP_PSTROBE

#define LP_PSTROBE   0x01 /* inverted output, active low */

Definition at line 116 of file parallel.h.

◆ LP_SELEC

#define LP_SELEC   0x0002

Definition at line 14 of file parallel.h.

◆ LP_TIMEOUT_INTERRUPT

#define LP_TIMEOUT_INTERRUPT   (60 * HZ)

Definition at line 70 of file parallel.h.

◆ LP_TIMEOUT_POLLED

#define LP_TIMEOUT_POLLED   (10 * HZ)

Definition at line 71 of file parallel.h.

◆ LPABORT

#define LPABORT
Value:
0x0604 /* call with TRUE arg to abort on error,
FALSE to retry. Default is retry. */

Definition at line 57 of file parallel.h.

◆ LPABORTOPEN

#define LPABORTOPEN
Value:
0x060a /* call with TRUE arg to abort open() on error,
FALSE to ignore error. Default is ignore. */

Definition at line 62 of file parallel.h.

◆ LPCAREFUL

#define LPCAREFUL
Value:
0x0609 /* call with TRUE arg to require out-of-paper, off-
line, and error indicators good on all writes,
FALSE to ignore them. Default is ignore. */

Definition at line 61 of file parallel.h.

◆ LPCHAR

#define LPCHAR   0x0601 /* corresponds to LP_INIT_CHAR */

Definition at line 55 of file parallel.h.

◆ LPGETIRQ

#define LPGETIRQ   0x0606 /* get the current IRQ number */

Definition at line 59 of file parallel.h.

◆ LPGETSTATUS

#define LPGETSTATUS   0x060b /* return LP_S(minor) */

Definition at line 63 of file parallel.h.

◆ LPRESET

#define LPRESET   0x060c /* reset printer */

Definition at line 64 of file parallel.h.

◆ LPSETIRQ

#define LPSETIRQ
Value:
0x0605 /* call with new IRQ number,
or 0 for polling (no IRQ) */

Definition at line 58 of file parallel.h.

◆ LPTIME

#define LPTIME   0x0602 /* corresponds to LP_INIT_TIME */

Definition at line 56 of file parallel.h.

◆ LPWAIT

#define LPWAIT   0x0608 /* corresponds to LP_INIT_WAIT */

Definition at line 60 of file parallel.h.