--- sd/source/ui/view/PrintManager.cxx.O	2007-05-18 18:46:10.000000000 +0200
+++ sd/source/ui/view/PrintManager.cxx	2007-05-18 18:54:58.000000000 +0200
@@ -755,12 +755,14 @@ bool PrintManager::FitPageToPrinterWithD
         SdOptionsPrintItem* pPrintOpts = NULL;
         BOOL                bScalePage = TRUE;
         BOOL                bTilePage = FALSE;
+        BOOL                bNotesPage = FALSE;
         BOOL                bPrintBooklet = FALSE;
 
         if( rOptions.GetItemState( ATTR_OPTIONS_PRINT, FALSE, (const SfxPoolItem**) &pPrintOpts ) == SFX_ITEM_SET )
         {
             bScalePage = pPrintOpts->GetOptionsPrint().IsPagesize();
             bPrintBooklet = pPrintOpts->GetOptionsPrint().IsBooklet();
+            bNotesPage = pPrintOpts->GetOptionsPrint().IsNotes();
             pPrintOpts->GetOptionsPrint().SetCutPage( FALSE );
         }
         else
@@ -771,18 +773,30 @@ bool PrintManager::FitPageToPrinterWithD
         Size    aPrintSize( pPrinter->GetOutputSize() );
         long    nPageWidth = aPageSize.Width() - pPage->GetLftBorder() - pPage->GetRgtBorder();
         long    nPageHeight = aPageSize.Height() - pPage->GetUppBorder() - pPage->GetLwrBorder();
+        long    nNotesPageWidth, nNotesPageHeight;
         long    nPrintWidth = aPrintSize.Width();
         long    nPrintHeight = aPrintSize.Height();
         USHORT  nRet = RET_OK;
 
+        if( bNotesPage ) {
+            SdPage* pNotesPage = mrBase.GetDocument()->GetSdPage( 0, PK_NOTES );
+            Size aNotesPageSize = Size( pNotesPage->GetSize () );
+            nNotesPageWidth = aNotesPageSize.Width() - pNotesPage->GetLftBorder() - pNotesPage->GetRgtBorder();
+            nNotesPageHeight = aNotesPageSize.Height() - pNotesPage->GetUppBorder() - pNotesPage->GetLwrBorder();
+        }
+
         // When necessary then show a dialog that asks the user how to fit
         // the pages to be printed to the (smaller) printer pages.
         if ( !bScalePage
             && !bTilePage
             && !bPrintBooklet
-            && ( ( nPageWidth > nPrintWidth || nPageHeight > nPrintHeight )
+            && ( ( ( nPageWidth > nPrintWidth || nPageHeight > nPrintHeight )
                 && ( nPageWidth > nPrintHeight || nPageHeight > nPrintWidth )
-                )
+                   ) ||
+                 ( bNotesPage
+                   && ( nNotesPageWidth > nPrintWidth || nNotesPageHeight > nPrintHeight )
+                   && ( nNotesPageWidth > nPrintHeight || nNotesPageHeight > nPrintWidth ) )
+                 )
             )
         {
             if (IsScreenFormat())
