; Version: 1.02 ; Created: Tuesday, August 2, 1988 at 9:39:44 PM ; ; File: PrintTraps.a ; ; Assembler Interface to the Macintosh Libraries ; Copyright Apple Computer, Inc. 1986-1988 ; All Rights Reserved ; ;_______________________________________________________________________ ; ; PrintTraps.a: This file contains macros that ; assembly language programmers can include to use ; printing. It implements the Printing Manager ; calls through ROM traps. ;_______________________________________________________________________ IF &TYPE('__IncludingPrintTrapsEqu__') = 'UNDEFINED' THEN __IncludingPrintTrapsEqu__ SET 1 ; MACRO _PrOpenDoc Move.l #$04000C00,-(sp) DC.W $A8FD ; The new Print Trap ENDM ; MACRO _PrClosDoc Move.l #$08000484,-(sp) DC.W $A8FD ENDM ; MACRO _PrOpenPage Move.l #$10000808,-(sp) DC.W $A8FD ENDM ; MACRO _PrClosPage Move.l #$1800040C,-(sp) DC.W $A8FD ENDM ; MACRO _PrintDefault Move.l #$20040480,-(sp) DC.W $A8FD ENDM ; MACRO _PrStlDialog Move.l #$2A040484,-(sp) DC.W $A8FD ENDM ; MACRO _PrJobDialog Move.l #$32040488,-(sp) DC.W $A8FD ENDM ; MACRO _PrStlInit Move.l #$3C04040C,-(sp) DC.W $A8FD ENDM ; MACRO _PrJobInit Move.l #$44040410,-(sp) DC.W $A8FD ENDM ; MACRO _PrDlgMain Move.l #$4A040894,-(sp) DC.W $A8FD ENDM ; MACRO _PrValidate Move.l #$52040498,-(sp) DC.W $A8FD ENDM ; MACRO _PrJobMerge Move.l #$5804089C,-(sp) DC.W $A8FD ENDM ; MACRO _PrPicFile Move.l #$60051480,-(sp) DC.W $A8FD ENDM ; MACRO _PrHack Move.l #$6C070C80,-(sp) DC.W $A8FD ENDM ; MACRO _PrGeneral Move.l #$70070480,-(sp) DC.W $A8FD ENDM ; MACRO _PrDrvrOpen Move.l #$80000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrDrvrClose Move.l #$88000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrDrvrDCE Move.l #$94000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrDrvrVers Move.l #$9A000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrCtlCall Move.l #$A0000E00,-(sp) DC.W $A8FD ENDM ; MACRO _PrPurge Move.l #$A8000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrNoPurge Move.l #$B0000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrError Move.l #$BA000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrSetError Move.l #$C0000200,-(sp) DC.W $A8FD ENDM ; MACRO _PrOpen Move.l #$C8000000,-(sp) DC.W $A8FD ENDM ; MACRO _PrClose Move.l #$D0000000,-(sp) DC.W $A8FD ENDM ENDIF ; ...already included