Lines Matching refs:m_macPrintSettings
52 m_macPrintSettings = kPMNoPrintSettings;
65 if (m_macPrintSettings != kPMNoPrintSettings)
67 (void)PMRelease(m_macPrintSettings);
68 m_macPrintSettings = kPMNoPrintSettings;
108 if ( m_macPrintSettings == kPMNoPrintSettings)
110 err = PMCreatePrintSettings((PMPrintSettings *) &m_macPrintSettings);
116 ( m_macPrintSettings != kPMNoPrintSettings))
119 (PMPrintSettings) m_macPrintSettings);
125 (PMPrintSettings) m_macPrintSettings,
133 PMSetCopies( (PMPrintSettings) m_macPrintSettings , data->GetNoCopies() , false ) ;
142 PMGetColorMode( (PMPrintSettings) m_macPrintSettings, &color ) ;
146 PMSetColorMode( (PMPrintSettings) m_macPrintSettings, kPMColor ) ;
149 PMSetColorMode( (PMPrintSettings) m_macPrintSettings, kPMBlackAndWhite ) ;
161 err = PMGetCopies( m_macPrintSettings , &copies ) ;
187 err = PMGetColorMode( m_macPrintSettings, &color ) ;
238 PMGetPageRange( m_macPrintSettings , &minPage , &maxPage ) ;
242 PMGetCopies( m_macPrintSettings , &copies ) ;
245 PMGetFirstPage( m_macPrintSettings , &from ) ;
246 PMGetLastPage( m_macPrintSettings , &to ) ;
253 PMSetPageRange( m_macPrintSettings , data->GetMinPage() , data->GetMaxPage() ) ;
254 PMSetCopies( m_macPrintSettings , data->GetNoCopies() , false ) ;
255 PMSetFirstPage( m_macPrintSettings , data->GetFromPage() , false ) ;
260 PMSetLastPage( m_macPrintSettings , toPage , false ) ;
276 if ( data->m_macPrintSettings != kPMNoPrintSettings )
277 PMRetain( data->m_macPrintSettings ) ;
278 if ( m_macPrintSettings != kPMNoPrintSettings )
280 PMRelease( m_macPrintSettings ) ;
281 m_macPrintSettings = kPMNoPrintSettings ;
283 if ( data->m_macPrintSettings != kPMNoPrintSettings )
284 m_macPrintSettings = data->m_macPrintSettings ;
310 m_macPrintSettings,
378 m_macPrintSettings = NULL ;
384 wxASSERT( m_macPrintSettings );
385 DisposeHandle( (Handle) m_macPrintSettings ) ;
390 if ( m_macPrintSettings == NULL )
392 m_macPrintSettings = (THPrint) NewHandleClear( sizeof( TPrint ) );
393 (**m_macPrintSettings).iPrVersion = 0; // something invalid
395 (**m_macPrintSettings).prInfo.iHRes = 72;
396 (**m_macPrintSettings).prInfo.iVRes = 72;
398 (**m_macPrintSettings).prInfo.rPage = r1;// must have its top left & (0,0)
401 (**m_macPrintSettings).rPaper = r2;
402 (**m_macPrintSettings).prStl.iPageV = 11 * 120 ; // 11 inches in 120th of an inch
403 (**m_macPrintSettings).prStl.iPageH = 8 * 120 ; // 8 inches in 120th of an inch
413 (**m_macPrintSettings).prJob.iCopies = data->GetNoCopies() ;
420 data->SetNoCopies( (**m_macPrintSettings).prJob.iCopies );
422 ((double) (**m_macPrintSettings).rPaper.right - (**m_macPrintSettings).rPaper.left ) * pt2mm ,
423 ((double) (**m_macPrintSettings).rPaper.bottom - (**m_macPrintSettings).rPaper.top ) * pt2mm ) ) ;
433 ((double) (**m_macPrintSettings).prInfo.rPage.left -(**m_macPrintSettings).rPaper.left ) * pt2mm ,
434 ((double) (**m_macPrintSettings).prInfo.rPage.top -(**m_macPrintSettings).rPaper.top ) * pt2mm ) ) ;
436 ((double) (**m_macPrintSettings).rPaper.right - (**m_macPrintSettings).prInfo.rPage.right ) * pt2mm ,
437 ((double)(**m_macPrintSettings).rPaper.bottom - (**m_macPrintSettings).prInfo.rPage.bottom ) * pt2mm ) ) ;
445 (**m_macPrintSettings).prJob.iFstPage = data->GetFromPage() ;
446 (**m_macPrintSettings).prJob.iLstPage = toPage;
451 data->SetFromPage( (**m_macPrintSettings).prJob.iFstPage ) ;
452 data->SetToPage( (**m_macPrintSettings).prJob.iLstPage ) ;
457 DisposeHandle( (Handle) m_macPrintSettings ) ;
458 m_macPrintSettings = ((wxMacClassicPrintData*)data)->m_macPrintSettings;
459 HandToHand( (Handle*) &m_macPrintSettings );
471 if ( ::PrJobDialog( m_macPrintSettings ) )
497 if ( ::PrStlDialog( m_macPrintSettings ) )