您好:類似的語法如下:但,但有些cpt 可以直接跳出pdf,有些無法跳出pdf (除非 ,於報表載入結束後,設定 FR.doPDFPrint(sessionID);setTimeout(function() { window.close();}, 1000);請問,這問題為何謝謝!var userid = getClientInfo("UserID"); var database = getClientInfo("Database"); var op = "write"; var url = encodeURI("http://XX.com.tw/FineReport/ReportServer/view/report?viewlet=" + ReportFileName + "&ref_t=design&op=" + op + "&_user=" + userid + "&DBName=" + database + "&dlvno=" + dlvno + "&pallet_NO=" + pallet_NO + "&plusX="+plusX+""); window.open(url);