|
From: Karsten W. <kar...@us...> - 2005-12-05 20:33:31
|
Update of /cvsroot/frontierkernel/Frontier/Common/headers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5025 Modified Files: shellprint.h Log Message: carbon printing Index: shellprint.h =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/headers/shellprint.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** shellprint.h 11 Jan 2005 22:48:02 -0000 1.4 --- shellprint.h 5 Dec 2005 20:33:21 -0000 1.5 *************** *** 31,59 **** typedef struct typrintinfo { ! Rect margins; /*the margins we're enforcing to calculate paperrect*/ ! Rect paperrect; ! ! long scaleMult; ! ! long scaleDiv; ! short ctpages; /*the number of pages in the document being printed*/ ! #if MACVERSION ! ! #if TARGET_API_MAC_CARBON == 1 ! GrafPtr printport; ! PMPrintSession printhandle; ! PMPageFormat pageformat; ! PMPrintSettings printsettings; ! Rect pagerect; ! #else ! ! TPPrPort printport; ! ! THPrint printhandle; /*a handle to the machine's print record*/ ! #endif ! #endif #ifdef WIN95VERSION --- 31,67 ---- typedef struct typrintinfo { ! /*the margins we're enforcing to calculate paperrect*/ ! Rect ! margins, ! paperrect; ! long ! scaleMult, ! scaleDiv; ! /*the number of pages in the document being printed*/ ! short ctpages; ! #if MACVERSION ! ! # if TARGET_API_MAC_CARBON == 1 ! ! GrafPtr printport; ! PMPrintSession printhandle; ! PMPrintSession printDefaultSession; /* kw added 2005-06 */ ! PMPageFormat pageformat; ! PMPrintSettings printsettings; ! PMRect pagerect; ! ! # else ! Rect pagerect; ! ! TPPrPort printport; ! ! /*a handle to the machine's print record*/ ! THPrint printhandle; ! ! # endif ! #endif #ifdef WIN95VERSION |