/********************************************************************* * file: sys/lpint.h * part #: * internal sequence #: * * ************************************************************ * * " (c) Copyright Hewlett-Packard Company, 1984. All * * * rights are reserved. Copying or other reproduction * * * of this program except for archival purposes is * * * prohibited without the prior written consent of * * * Hewlett-Packard Company." * * ************************************************************ * * * This file contains the built-in printer definitions. * * Pisces Q-DOS project * Jay Phillips PCD * * $Log$ * ************************************************************************/ /************************************************************************ * * Internal printer status bits * ************************************************************************/ #define JET_WAIT 100000 #define NRD_WAIT 1000000 /* register 0 */ #define MCL 0x01 #define CLIFCR 0x02 #define SLRDY 0x04 #define RFCR 0x04 #define SSRQ 0x08 #define LA 0x10 #define TA 0x20 #define CA 0x40 #define SC 0x80 /* register 1 */ #define ISR 0xe0 #define IDY 0xc0 #define RDY 0xa0 #define CMD 0x80 #define ESR 0x60 #define END 0x40 #define DSR 0x20 #define DAB 0x00 #define DATA 0x00 #define CTL 0xe0 #define ORAV 0x01 #define FRNS 0x02 #define FRAV 0x04 #define SRQR 0x08 #define IFCR 0x10 /* register 3 */ #define ORE 0x80 #define RERR 0x40 /* register 7 */ #define OSCDIS 0x01 /* HP-IL commands */ #define NUL 0x00 #define GTL 0x01 #define SDC 0x04 #define PPD 0x05 #define GET 0x08 #define EDN 0x0f #define NOP 0x10 #define LLO 0x11 #define DCL 0x14 #define PPU 0x15 #define EAR 0x18 #define LAD 0x20 #define TAD 0x40 #define SAD 0x60 #define PPE 0x80 #define IFC 0x90 #define REN 0x92 #define NRE 0x93 #define AAU 0x9a #define LPD 0x9c #define DDL 0xa0 #define DDT 0xc0 /* HP-IL ready frames */ #define RFC 0x00 #define ETO 0x40 #define ETE 0x41 #define NRD 0x42 #define SDA 0x60 #define SST 0x61 #define SDI 0x62 #define SAI 0x63 #define TCT 0x64 #define AAD 0x80 #define AEP 0xa0 #define AES 0xc0 #define AMP 0xe0