home *** CD-ROM | disk | FTP | other *** search
-
- {s DeviceData
- struct 34 dd_Device ( { Library=34;exec/libraries )
- APTR dd_Segment
- APTR dd_ExecBase
- APTR dd_CmdVectors
- APTR dd_CmdBytes
- WORD dd_NumCommands
- s}
-
-
- \\ Removed device driver private variables
-
- EQU P_PRIORITY 0
- EQU P_STKSIZE $800
-
-
- {s PrinterData
- STRUCT DeviceData pd_Device
- struct 20 pd_Unit ( { Message=20;exec/ports )
- APTR pd_PrinterSegment
- WORD pd_PrinterType
- APTR pd_SegmentData
- APTR pd_PrintBuf
- APTR pd_PWrite
- APTR pd_PBothReady
- struct 62 pd_p0 ( { IOExtPar=62;devices/parallel )
- -62 soffset +!
- struct 82 pd_s0 ( { IOExtSer=82;devices/serial )
- struct 62 pd_p1
- -62 soffset +!
- struct 82 pd_s1
- struct 40 pd_TIOR ( { timerequest=40;devices/timer )
- struct 34 pd_IORPort ( { MsgPort=34;exec/ports )
- struct 92 pd_TC ( { Task=92;exec/tasks )
- BYTES P_STKSIZE pd_Stk
- BYTE pd_Flags
- BYTE pd_pad
- struct 224 pd_Preferences ( { Preferences=224;intuition/preferences )
- BYTE pd_PWaitEnabled
- s}
-
- EQU PPCB_GFX 0
- EQU PPCF_GFX $01
- EQU PPCB_COLOR 1
- EQU PPCF_COLOR $02
-
- EQU PPC_BWALPHA 0
- EQU PPC_BWGFX 1
- EQU PPC_COLORGFX 3
-
- EQU PCC_BW 1
- EQU PCC_YMC 2
- EQU PCC_YMC_BW 3
- EQU PCC_YMCB 4
-
- EQU PCC_4COLOR $4
- EQU PCC_ADDITIVE $8
- EQU PCC_WB $9
- EQU PCC_BGR $A
- EQU PCC_BGR_WB $B
- EQU PCC_BGRW $C
-
- {s PrinterExtendedData
- APTR ped_PrinterName
- APTR ped_Init
- APTR ped_Expunge
- APTR ped_Open
- APTR ped_Close
- BYTE ped_PrinterClass
- BYTE ped_ColorClass
- BYTE ped_MaxColumns
- BYTE ped_NumCharSets
- WORD ped_NumRows
- LONG ped_MaxXDots
- LONG ped_MaxYDots
- WORD ped_XDotsInch
- WORD ped_YDotsInch
- APTR ped_Commands
- APTR ped_DoSpecial
- APTR ped_Render
- LONG ped_TimeoutSecs
- APTR ped_8BitChars
- s}
-
- {s PrinterSegment
- LONG ps_NextSegment
- LONG ps_runAlert
- WORD ps_Version
- WORD ps_Revision
- STRUCT PrinterExtendedData ps_PED
- s}
-
-