|
Mac OS 9
|
Print driver declarations for classic PrintMonitor and Desktop PrintMonitor. More...
#include <MacTypes.h>#include <Files.h>#include <Printing.h>#include <Quickdraw.h>#include <MacErrors.h>Go to the source code of this file.
Data Structures | |
| struct | DTPSerialAddress |
| struct | DTPAppleTalkAddress |
| struct | DTPTCPIPAddress |
| struct | DTPSCSIAddress |
| struct | DTPUSBAddress |
| struct | DTPPrinterInfo |
| struct | TDTPPrGeneralData |
| struct | DTPInfoResource |
| struct | DTPInfo |
| struct | GestaltDTPInfoRec |
| struct | DTPAppleEventData |
| struct | TPrintMonitorPrintingData |
| struct | TDesktopPrintMonitorPrintingData |
| struct | SpoolFileHeader |
| struct | SpoolPage |
| struct | SpoolPREC126Record |
| struct | SpoolPageIndex |
| struct | DTPPrintJobInfo |
Macros | |
| #define | NewDTPAsyncErrorNotificationUPP(userRoutine) |
| #define | NewDTPEndNotificationUPP(userRoutine) |
| #define | NewDTPInForegroundUPP(userRoutine) |
| #define | NewDTPStatusMessageUPP(userRoutine) |
| #define | DisposeDTPAsyncErrorNotificationUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| #define | DisposeDTPEndNotificationUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| #define | DisposeDTPInForegroundUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| #define | DisposeDTPStatusMessageUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| #define | InvokeDTPAsyncErrorNotificationUPP(errStr, userUPP) |
| #define | InvokeDTPEndNotificationUPP(userUPP) CALL_ZERO_PARAMETER_UPP((userUPP), uppDTPEndNotificationProcInfo) |
| #define | InvokeDTPInForegroundUPP(userUPP) (Boolean) CALL_ZERO_PARAMETER_UPP((userUPP), uppDTPInForegroundProcInfo) |
| #define | InvokeDTPStatusMessageUPP(statusStr, userUPP) CALL_ONE_PARAMETER_UPP((userUPP), uppDTPStatusMessageProcInfo, (statusStr)) |
| #define | NewDTPAsyncErrorNotificationProc(userRoutine) NewDTPAsyncErrorNotificationUPP(userRoutine) |
| #define | NewDTPEndNotificationProc(userRoutine) NewDTPEndNotificationUPP(userRoutine) |
| #define | NewDTPInForegroundProc(userRoutine) NewDTPInForegroundUPP(userRoutine) |
| #define | NewDTPStatusMessageProc(userRoutine) NewDTPStatusMessageUPP(userRoutine) |
| #define | CallDTPAsyncErrorNotificationProc(userRoutine, errStr) InvokeDTPAsyncErrorNotificationUPP(errStr, userRoutine) |
| #define | CallDTPEndNotificationProc(userRoutine) InvokeDTPEndNotificationUPP(userRoutine) |
| #define | CallDTPInForegroundProc(userRoutine) InvokeDTPInForegroundUPP(userRoutine) |
| #define | CallDTPStatusMessageProc(userRoutine, statusStr) InvokeDTPStatusMessageUPP(statusStr, userRoutine) |
Typedefs | |
| typedef struct DTPSerialAddress | DTPSerialAddress |
| typedef struct DTPAppleTalkAddress | DTPAppleTalkAddress |
| typedef struct DTPTCPIPAddress | DTPTCPIPAddress |
| typedef struct DTPSCSIAddress | DTPSCSIAddress |
| typedef struct DTPUSBAddress | DTPUSBAddress |
| typedef struct DTPPrinterInfo | DTPPrinterInfo |
| typedef DTPPrinterInfo * | DTPPrinterInfoPtr |
| typedef DTPPrinterInfoPtr * | DTPPrinterInfoHandle |
| typedef struct TDTPPrGeneralData | TDTPPrGeneralData |
| typedef struct DTPInfoResource | DTPInfoResource |
| typedef struct DTPInfo | DTPInfo |
| typedef struct GestaltDTPInfoRec | GestaltDTPInfoRec |
| typedef GestaltDTPInfoRec * | GestaltDTPInfoPtr |
| typedef GestaltDTPInfoPtr * | GestaltDTPInfoHdle |
| typedef struct DTPAppleEventData | DTPAppleEventData |
| typedef struct TPrintMonitorPrintingData | TPrintMonitorPrintingData |
| typedef struct TDesktopPrintMonitorPrintingData | TDesktopPrintMonitorPrintingData |
| typedef struct SpoolFileHeader | SpoolFileHeader |
| typedef SpoolFileHeader * | SpoolFileHeaderPtr |
| typedef SpoolFileHeaderPtr * | SpoolFileHeaderHandle |
| typedef struct SpoolPage | SpoolPage |
| typedef struct SpoolPREC126Record | SpoolPREC126Record |
| typedef SpoolPREC126Record * | SpoolPREC126Ptr |
| typedef SpoolPREC126Ptr * | SpoolPREC126Handle |
| typedef struct SpoolPageIndex | SpoolPageIndex |
| typedef SpoolPageIndex * | SpoolPageIndexPtr |
| typedef SpoolPageIndexPtr * | SpoolPageIndexHandle |
| typedef struct DTPPrintJobInfo | DTPPrintJobInfo |
| typedef DTPPrintJobInfo * | DTPPrintJobInfoPtr |
| typedef DTPPrintJobInfoPtr * | DTPPrintJobInfoHandle |
Enumerations | |
| enum | { kDTPUnknownPrinterType = -1 , kDTPSerialPrinterType = 0 , kDTPAppleTalkPrinterType = 1 , kDTPTCPIPPrinterType = 2 , kDTPSCSIPrinterType = 3 , kDTPUSBPrinterType = 4 } |
| enum | { kDTPUnknownPort = -1 , kDTPPrinterPort = 0 , kDTPModemPort = 1 } |
| enum | { kDTPGetPrinterInfo = 23 , kDTPIsSamePrinterInfo = 24 , kDTPSetDefaultPrinterInfo = 25 } |
| enum | { kDTPInfoResType = FOUR_CHAR_CODE('dtpi') , kDTPInfoResID = -8192 } |
| enum | { kDTPUnknownConnection = 0x00000000 , kDTPSerialConnection = 0x00000001 , kDTPSCSIConnection = 0x00000002 , kDTPAppleTalkConnection = 0x00000004 , kDTPTCPIPConnection = 0x00000008 , kDTPUSBConnection = 0x00000010 } |
| enum | { kDTPBasicFeatures } |
| enum | { kDTPGestaltStructVersion2 , kDTPGestaltStructVersion3 = 0x03000000 } |
| enum | { kDTPSignature = FOUR_CHAR_CODE('dtpx') } |
| enum | { aeDTPSetDefaultEventType , aeDTPSyncEventType } |
| enum | { uppDTPAsyncErrorNotificationProcInfo = 0x000000C0 } |
| enum | { uppDTPEndNotificationProcInfo = 0x00000000 } |
| enum | { uppDTPInForegroundProcInfo = 0x00000010 } |
| enum | { uppDTPStatusMessageProcInfo = 0x000000C0 } |
| enum | { kPrintMonitorPrGeneral = -3 } |
| enum | { kDTPPrintJobUrgent = 0x00000001 , kDTPPrintJobAtTime = 0x00000002 , kDTPPrintJobNormal = 0x00000003 , kDTPPrintJobHolding = 0x00001003 } |
Functions | |
| typedef | CALLBACK_API (void, DTPAsyncErrorNotificationProcPtr)(StringHandle errStr) |
| typedef | CALLBACK_API (void, DTPEndNotificationProcPtr)(void) |
| typedef | CALLBACK_API (Boolean, DTPInForegroundProcPtr)(void) |
| typedef | CALLBACK_API (void, DTPStatusMessageProcPtr)(StringHandle statusStr) |
| typedef | STACK_UPP_TYPE (DTPAsyncErrorNotificationProcPtr) DTPAsyncErrorNotificationUPP |
| typedef | STACK_UPP_TYPE (DTPEndNotificationProcPtr) DTPEndNotificationUPP |
| typedef | STACK_UPP_TYPE (DTPInForegroundProcPtr) DTPInForegroundUPP |
| typedef | STACK_UPP_TYPE (DTPStatusMessageProcPtr) DTPStatusMessageUPP |
| DTPAsyncErrorNotificationUPP | NewDTPAsyncErrorNotificationUPP (DTPAsyncErrorNotificationProcPtr userRoutine) |
| DTPEndNotificationUPP | NewDTPEndNotificationUPP (DTPEndNotificationProcPtr userRoutine) |
| DTPInForegroundUPP | NewDTPInForegroundUPP (DTPInForegroundProcPtr userRoutine) |
| DTPStatusMessageUPP | NewDTPStatusMessageUPP (DTPStatusMessageProcPtr userRoutine) |
| void | DisposeDTPAsyncErrorNotificationUPP (DTPAsyncErrorNotificationUPP userUPP) |
| void | DisposeDTPEndNotificationUPP (DTPEndNotificationUPP userUPP) |
| void | DisposeDTPInForegroundUPP (DTPInForegroundUPP userUPP) |
| void | DisposeDTPStatusMessageUPP (DTPStatusMessageUPP userUPP) |
| void | InvokeDTPAsyncErrorNotificationUPP (StringHandle errStr, DTPAsyncErrorNotificationUPP userUPP) |
| void | InvokeDTPEndNotificationUPP (DTPEndNotificationUPP userUPP) |
| Boolean | InvokeDTPInForegroundUPP (DTPInForegroundUPP userUPP) |
| void | InvokeDTPStatusMessageUPP (StringHandle statusStr, DTPStatusMessageUPP userUPP) |
Print driver declarations for classic PrintMonitor and Desktop PrintMonitor.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| #define InvokeDTPAsyncErrorNotificationUPP | ( | errStr, | |
| userUPP | |||
| ) |
| #define NewDTPAsyncErrorNotificationProc | ( | userRoutine | ) | NewDTPAsyncErrorNotificationUPP(userRoutine) |
CALL_NOT_IN_CARBON support for pre-Carbon UPP routines: New...Proc and Call...Proc
| #define NewDTPAsyncErrorNotificationUPP | ( | userRoutine | ) |
pascal no_return_value Func(4_bytes)
| #define NewDTPEndNotificationUPP | ( | userRoutine | ) |
pascal no_return_value Func()
| #define NewDTPInForegroundUPP | ( | userRoutine | ) |
pascal 1_byte Func()
| #define NewDTPStatusMessageUPP | ( | userRoutine | ) |
pascal no_return_value Func(4_bytes)
| anonymous enum |
| anonymous enum |
| anonymous enum |
PrGeneral opcodes
| anonymous enum |
desktop printer info resource
| anonymous enum |
| anonymous enum |
dtp extra features supported
| anonymous enum |
| anonymous enum |
AppleEvents
| anonymous enum |
CALL_NOT_IN_CARBON PrGeneral call that PrintMonitor/Desktop PrintMonitor use to set up the notification procs
| anonymous enum |
jobi 1 (DTP print job information resource) print priorities
| typedef CALLBACK_API | ( | Boolean | , |
| DTPInForegroundProcPtr | |||
| ) |
DTPInForegroundUPP
| typedef CALLBACK_API | ( | void | , |
| DTPAsyncErrorNotificationProcPtr | |||
| ) |
Notification during de-spooling DTPAsyncErrorNotificationUPP
| typedef CALLBACK_API | ( | void | , |
| DTPEndNotificationProcPtr | |||
| ) |
DTPEndNotificationUPP
| typedef CALLBACK_API | ( | void | , |
| DTPStatusMessageProcPtr | |||
| ) |
DTPStatusMessageUPP
| void DisposeDTPAsyncErrorNotificationUPP | ( | DTPAsyncErrorNotificationUPP | userUPP | ) |
DisposeDTPAsyncErrorNotificationUPP()
| void DisposeDTPEndNotificationUPP | ( | DTPEndNotificationUPP | userUPP | ) |
DisposeDTPEndNotificationUPP()
| void DisposeDTPInForegroundUPP | ( | DTPInForegroundUPP | userUPP | ) |
| void DisposeDTPStatusMessageUPP | ( | DTPStatusMessageUPP | userUPP | ) |
| void InvokeDTPAsyncErrorNotificationUPP | ( | StringHandle | errStr, |
| DTPAsyncErrorNotificationUPP | userUPP | ||
| ) |
InvokeDTPAsyncErrorNotificationUPP()
| void InvokeDTPEndNotificationUPP | ( | DTPEndNotificationUPP | userUPP | ) |
| Boolean InvokeDTPInForegroundUPP | ( | DTPInForegroundUPP | userUPP | ) |
| void InvokeDTPStatusMessageUPP | ( | StringHandle | statusStr, |
| DTPStatusMessageUPP | userUPP | ||
| ) |
| DTPAsyncErrorNotificationUPP NewDTPAsyncErrorNotificationUPP | ( | DTPAsyncErrorNotificationProcPtr | userRoutine | ) |
NewDTPAsyncErrorNotificationUPP()
| DTPEndNotificationUPP NewDTPEndNotificationUPP | ( | DTPEndNotificationProcPtr | userRoutine | ) |
| DTPInForegroundUPP NewDTPInForegroundUPP | ( | DTPInForegroundProcPtr | userRoutine | ) |
| DTPStatusMessageUPP NewDTPStatusMessageUPP | ( | DTPStatusMessageProcPtr | userRoutine | ) |