home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d2xx
/
d201
/
draco.lha
/
Draco
/
drinc
/
devices
/
prtbase.g
< prev
next >
Wrap
Text File
|
1989-04-03
|
2KB
|
92 lines
uintP_STKSIZE=0x800;
type
Library_t=unknown34,
MsgPort_t=unknown34,
Segment_t=unknown4,
IOExtPar_t=unknown62,
IOExtSer_t=unknown82,
timerequest_t=unknown40,
Task_t=unknown92,
Preferences_t=unknown224,
Segment_t=unknown4,
DeviceData_t=struct{
Library_tdd_Device;
*bytedd_Segment;
*bytedd_ExecBase;
*bytedd_CmdVectors;
*bytedd_CmdBytes;
uintdd_NumCommands;
},
PrinterData_t=struct{
DeviceData_tpd_Device;
MsgPort_tpd_Unit;
Segment_tpd_PrinterSegment;
uintpd_PrinterType;
*PrinterSegment_tpd_SegmentData;
*bytepd_PrintBuf;
proc()intpd_PWrite;
proc()intpd_PBothReady;
union{
IOExtPar_tpd_p0;
IOExtSer_tpd_s0;
}pd_ior0;
union{
IOExtPar_tpd_p1;
IOExtSer_tpd_s1;
}pd_ior1;
timerequest_tpd_TIOR;
MsgPort_tpd_IORPort;
Task_tpd_TC;
[P_STKSIZE]bytepd_Stk;
ushortpd_Flags;
ushortpd_pad;
Preferences_tpd_Preferences;
ushortpd_PWaitEnabled;
},
PrinterExtendedData_t=struct{
*charped_PrinterName;
proc()voidped_Init,ped_Expunge,ped_Open,ped_Close;
ushortped_PrinterClass,ped_ColorClass,ped_MaxColums,ped_NumCharSets;
uintped_NumRows;
ulongped_MaxXDots,ped_MaxYDots;
uintped_XDotsInch,ped_YDotsInch;
***charped_Commands;
proc()intped_DoSpecial,ped_Render;
ulongped_TimeoutSecs;
**charped_8BitChars;
},
PrinterSegment_t=struct{
Segment_tps_NextSegment;
ulongps_runAlert;
uintps_Version,ps_Revision;
PrinterExtendedData_tps_PED;
};
ushort
PPCB_GFX=0,
PPCF_GFX=1<<PPCB_GFX,
PPCB_COLOR=1,
PPCF_COLOR=1<<PPCB_COLOR,
PPC_BWALPHA=0,
PPC_BWGFX=1,
PPC_COLORGFX=3,
PCC_BW=1,
PCC_YMC=2,
PCC_YMC_BW=3,
PCC_YMCB=4,
PCC_4COLOR=0x4,
PCC_ADDITIVE=0x8,
PCC_WB=0x9,
PCC_BGR=0xa,
PCC_BGR_WB=0xb,
PCC_BGRW=0xc;