function doPrint(how,type,url){
  url = "http://<%=remoteIP%>"+url;
  var array=new Array();
  k=0;   
  array[k]=url;
  if(typeof(jatoolsPrinter.page_div_prefix)=='undefined'){
  alert("밴ҳϵĻɫʾActiveXؼ.ûʾ밴²ie.\n -> internet ѡ->ȫ->Զ弶, δǩ ActiveX Ϊ''״̬");
  return ;
  }
  //ӡĵ
  var myreport ={  
  //settings:{  
  // ָֽŵĸ߿ʮ֮һΪλ,ʵָΪa4С  
  //paperWidth : 6000,  
  //paperHeight : 5000,  
  // ָӡΪ, 1/2 = /  
  // orientation : 2 },  
  settingsID : "mysettings1",  
  documents: array,
  copyrights : 'ܴӵаȨ www.jatools.com' // Ȩ
  };
  // ôӡ
  if(how == 'ӡԤ...')
  jatoolsPrinter.printPreview(myreport); // ӡԤ
  else if(how == 'ӡ...')
  jatoolsPrinter.print(myreport ,true); // ӡǰӡöԻ
  else  
  jatoolsPrinter.print(myreport ,false); // Իӡ
  }