Diff for /Amaya/amaya/HTMLbook.c between versions 1.165 and 1.166

version 1.165, 2009/11/18 15:59:03 version 1.166, 2009/11/18 16:22:56
Line 647  void CallbackPrint (int ref, int typedat Line 647  void CallbackPrint (int ref, int typedat
           if (PaperPrint == PP_PS)            if (PaperPrint == PP_PS)
             {              {
               PaperPrint = PP_PRINTER;                PaperPrint = PP_PRINTER;
 #ifdef _GTK  
               TtaSetTextForm (BasePrint + PPrinterName, PPrinter);  
 #endif /* _GTK */  
               TtaSetPrintParameter (PP_Destination, PaperPrint);                TtaSetPrintParameter (PP_Destination, PaperPrint);
             }              }
           break;            break;
Line 657  void CallbackPrint (int ref, int typedat Line 654  void CallbackPrint (int ref, int typedat
           if (PaperPrint == PP_PRINTER)            if (PaperPrint == PP_PRINTER)
             {              {
               PaperPrint = PP_PS;                PaperPrint = PP_PS;
 #ifdef _GTK  
               TtaSetTextForm (BasePrint + PPrinterName, PSfile);  
 #endif /* _GTK */  
               TtaSetPrintParameter (PP_Destination, PaperPrint);                TtaSetPrintParameter (PP_Destination, PaperPrint);
             }              }
           break;            break;
Line 696  void InitPrint (void) Line 690  void InitPrint (void)
   else    else
     strcpy (PPrinter, ptr);      strcpy (PPrinter, ptr);
   TtaSetPrintCommand (PPrinter);    TtaSetPrintCommand (PPrinter);
   #ifdef _MACOS
     PaperPrint = PP_PS;
   #else /* _MACOS */
   PaperPrint = PP_PRINTER;    PaperPrint = PP_PRINTER;
   #endif /* _MACOS */
   TtaSetPrintParameter (PP_Destination, PaperPrint);    TtaSetPrintParameter (PP_Destination, PaperPrint);
   
   /* define the new default PrintSchema */    /* define the new default PrintSchema */

Removed from v.1.165  
changed lines
  Added in v.1.166


Webmaster