;*DDK*************************************************************************/
;
; COPYRIGHT (C) Microsoft Corporation, 1989
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/

; SCCSID = @(#)prtdd1.inc       6.10 91/10/04
;/**********************************************************************
;/*                                                                    *
;/*                                                                    *
;/*                                                                    *
;/**********************************************************************
;/********************** START OF SPECIFICATIONS ***********************/
;/*                                                                    */
;/* SUBROUTINE NAME: PRTDATA                                           */
;/*                                                                    */
;/* DESCRIPTIVE NAME: PRINTER DEVICE DRIVER EQUATES AND STRUCTURES     */
;/*                                                                    */
;/*********************** END OF SPECIFICATIONS ************************/

hardware_specific       STRUC           ; HARDWARE SPECIFIC DATA AREA

;*****************************************************************************
;*  N O T E !!!!: The following DUP must be exactly enough to "overlay"      *
;*                the printer_database common vars in prtdd.inc              *
;*****************************************************************************

                db      40 DUP (0)      ; DEVICE DRIVER INDEPENDENT VARAIBLES

;*****************************************************************************
;*  N O T E !!!!: Do not add any members below without checking that it      *
;*                does not "overflow" the hardware_specific "hole" in        *
;*                prtdd.inc's printer_database structure                     *
;*****************************************************************************

initialcount    dw      0               ; INITIAL COUNT OF CHARACTERS TO PRINT
prtcount        dw      0               ; NUMBER OF CHARS. LEFT TO BE PRINTED
printbufoff     dw      0               ; OFFSET INTO PRINT BUFFER

intlevel        db      0               ; INTERRUPT LEVEL OF DEVICE
curintlevel     db      0               ; CURRENT INTERRUPT LEVEL OF DEVICE.
retryctr        db      0               ; RETRY IF DEVICE IS BUSY
                db      0               ; FUTURE USE - KEEPS WORD ALIGNMENT
introutine      dw      0               ; OFFSET OF INTERRUPT ROUTINE
waittime        dw      0               ; TIME TO WAIT BEFORE PRINT NEXT CHAR
prttime         dw      0               ; RUNNING TIMER COUNT-DEV RUNS ON TIMER
prfvw_off       dw      0               ; OFFSET OF PERFVIEW COUNTERS
share_interrupt db      0               ; PRINTER SUPPORTS INT. SHARING
cancelstatus    db      0               ; PRINTER STATUS PORT DATA

hardware_specific       ENDS

