try
    f1book1.Selection:='A1:'+inttostr(f1book1.MaxRow);
    f1book1.SetPrintAreaFromSelection;
    f1book1.FilePrint(true);
  except
    Application.MessageBox('打印出错!','提示消息',MB_ICONWARNING+MB_OK);
  end;
请高手指点。另外如何使f1book与table联系起来呢?