lptreg.h File Reference

Back to the index.

Macros
lptreg.h File Reference

Go to the source code of this file.

Macros

#define LPT_DATA   0 /* Data to/from printer (R/W) */
 
#define LPT_STATUS   1 /* Status of printer (R) */
 
#define LPS_NERR   0x08 /* printer no error */
 
#define LPS_SELECT   0x10 /* printer selected */
 
#define LPS_NOPAPER   0x20 /* printer out of paper */
 
#define LPS_NACK   0x40 /* printer no ack of data */
 
#define LPS_NBSY   0x80 /* printer no ack of data */
 
#define LPT_CONTROL   2 /* Control printer (R/W) */
 
#define LPC_STROBE   0x01 /* strobe data to printer */
 
#define LPC_AUTOLF   0x02 /* automatic linefeed */
 
#define LPC_NINIT   0x04 /* initialize printer */
 
#define LPC_SELECT   0x08 /* printer selected */
 
#define LPC_IENABLE   0x10 /* printer out of paper */
 
#define LPT_NPORTS   4
 

Macro Definition Documentation

◆ LPC_AUTOLF

#define LPC_AUTOLF   0x02 /* automatic linefeed */

Definition at line 72 of file lptreg.h.

◆ LPC_IENABLE

#define LPC_IENABLE   0x10 /* printer out of paper */

Definition at line 75 of file lptreg.h.

◆ LPC_NINIT

#define LPC_NINIT   0x04 /* initialize printer */

Definition at line 73 of file lptreg.h.

◆ LPC_SELECT

#define LPC_SELECT   0x08 /* printer selected */

Definition at line 74 of file lptreg.h.

◆ LPC_STROBE

#define LPC_STROBE   0x01 /* strobe data to printer */

Definition at line 71 of file lptreg.h.

Referenced by DEVICE_ACCESS().

◆ LPS_NACK

#define LPS_NACK   0x40 /* printer no ack of data */

Definition at line 67 of file lptreg.h.

Referenced by DEVICE_ACCESS().

◆ LPS_NBSY

#define LPS_NBSY   0x80 /* printer no ack of data */

Definition at line 68 of file lptreg.h.

Referenced by DEVICE_ACCESS().

◆ LPS_NERR

#define LPS_NERR   0x08 /* printer no error */

Definition at line 64 of file lptreg.h.

Referenced by DEVICE_ACCESS().

◆ LPS_NOPAPER

#define LPS_NOPAPER   0x20 /* printer out of paper */

Definition at line 66 of file lptreg.h.

◆ LPS_SELECT

#define LPS_SELECT   0x10 /* printer selected */

Definition at line 65 of file lptreg.h.

Referenced by DEVICE_ACCESS().

◆ LPT_CONTROL

#define LPT_CONTROL   2 /* Control printer (R/W) */

Definition at line 70 of file lptreg.h.

Referenced by DEVICE_ACCESS().

◆ LPT_DATA

#define LPT_DATA   0 /* Data to/from printer (R/W) */

Definition at line 61 of file lptreg.h.

Referenced by DEVICE_ACCESS().

◆ LPT_NPORTS

#define LPT_NPORTS   4

Definition at line 77 of file lptreg.h.

◆ LPT_STATUS

#define LPT_STATUS   1 /* Status of printer (R) */

Definition at line 63 of file lptreg.h.

Referenced by DEVICE_ACCESS().


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13