#include <Printing.h>



/*Opening and Closing the Printing Manager
pascal void PrOpen              (void); 
pascal void PrClose             (void); */
pascal void PrOpen              (void){
printf ("PrOpen");
}; 
pascal void PrClose             (void){
printf ("PrClose");
}; 


/*Handling Printing Errors
pascal short PrError            (void); 
pascal void PrSetError          (short iErr);*/
pascal short PrError            (void){
printf ("PrError");
}; 


/*Displaying and Customizing the Print Dialog Boxes
pascal Boolean PrStlDialog      (THPrint hPrint); 
pascal Boolean PrJobDialog      (THPrint hPrint); 
pascal Boolean PrDlgMain        (THPrint hPrint, PDlgInitProcPtr pDlgInit); 
pascal TPPrDlg PrStlInit        (THPrint hPrint); 
pascal TPPrDlg PrJobInit        (THPrint hPrint); 
pascal void PrJobMerge          (THPrint hPrintSrc, THPrint hPrintDst); */
pascal Boolean PrStlDialog      (THPrint hPrint){
printf ("PrStlDialog",hPrint);
}; 
pascal Boolean PrJobDialog      (THPrint hPrint){
printf ("PrJobDialog",hPrint);
}; 

/*Printing a Document
pascal TPPrPort PrOpenDoc       (THPrint hPrint, TPPrPort pPrPort, Ptr pIOBuf); 
pascal void PrCloseDoc          (TPPrPort pPrPort); 
pascal void PrOpenPage          (TPPrPort pPrPort, TPRect pPageFrame); 
pascal void PrClosePage         (TPPrPort pPrPort); 
pascal void PrPicFile           (THPrint hPrint, TPPrPort pPrPort, Ptr pIOBuf,
                                 Ptr pDevBuf, TPrStatus *prStatus); */
pascal TPPrPort PrOpenDoc       (THPrint hPrint, TPPrPort pPrPort, Ptr pIOBuf){
printf ("PrOpenDoc",hPrint,pPrPort,pIOBuf);
}; 
pascal void PrCloseDoc          (TPPrPort pPrPort){
printf ("PrCloseDoc",pPrPort);
}; 
pascal void PrOpenPage          (TPPrPort pPrPort, TPRect pPageFrame){
printf ("PrOpenPage",pPrPort,pPageFrame);
}; 
pascal void PrClosePage         (TPPrPort pPrPort){
printf ("PrClosePage",pPrPort);
}; 
pascal void PrPicFile           (THPrint hPrint, TPPrPort pPrPort, Ptr pIOBuf,
                                 Ptr pDevBuf, TPrStatus *prStatus){
printf ("PrPicFile",hPrint,pPrPort,pIOBuf,pDevBuf,*prStatus);
}; 


/*Initializing and Validating TPrint Records
pascal void PrintDefault        (THPrint hPrint); 
pascal Boolean PrValidate       (THPrint hPrint); */
pascal void PrintDefault        (THPrint hPrint){
printf ("PrintDefault",hPrint);
}; 
pascal Boolean PrValidate       (THPrint hPrint){
printf ("PrValidate",hPrint);
};


/*Displaying and Customizing the Print Dialog Boxes
pascal Boolean PrStlDialog      (THPrint hPrint); 
pascal Boolean PrJobDialog      (THPrint hPrint); 
pascal Boolean PrDlgMain        (THPrint hPrint, PDlgInitProcPtr pDlgInit); 
pascal TPPrDlg PrStlInit        (THPrint hPrint); 
pascal TPPrDlg PrJobInit        (THPrint hPrint); 
pascal void PrJobMerge          (THPrint hPrintSrc, THPrint hPrintDst); */
pascal Boolean PrDlgMain        (THPrint hPrint, PDlgInitProcPtr pDlgInit){
printf ("PrDlgMain",hPrint,pDlgInit);
};
pascal TPPrDlg PrJobInit        (THPrint hPrint){
printf ("PrJobInit",hPrint);
};

PDlgInitUPP NewPDlgInitUPP(PDlgInitProcPtr userRoutine){};
PItemUPP NewPItemUPP(PItemProcPtr userRoutine){};
void  InvokePItemUPP(DialogRef  theDialog,short      item,PItemUPP   userUPP){};
