aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/js/print.js

(完整代码) 1KB

var IE_PRINT_CONTROL_PRODUCTVERSION = "10,5,0,1943"
var NS_PRINT_CONTROL_PRODUCTVERSION = "10.5.0.1943"

function blockEvents() {
    var deadend;
    opener.captureEvents(Event.CLICK, Event.MOUSEDOWN, Event.MOUSEUP, Event.FOCUS);
    opener.onclick = deadend;
    opener.onmousedown = deadend;
    opener.onmouseup = deadend;
    opener.focus = deadend;
}

function unblockEvents() {
    opener.releaseEvents(Event.CLICK, Event.MOUSEDOWN, Event.MOUSEUP, Event.FOCUS);
    opener.onclick = null;
    opener.mousedown = null;
    opener.mouseup = null;
    opener.onfocus = null;
}

function finished() {
    setTimeout("close()", 1000);
}

function installNsPlugin(pluginUrl, clientVersionRegistry) {
    var err = InstallTrigger.compareVersion(clientVersionRegistry, NS_PRINT_CONTROL_PRODUCTVERSION);

    if (err < 0)
    {
        xpi={'Crystal Reports ActiveX Print Control Plug-in':pluginUrl};
        InstallTrigger.install(xpi, callback);
    }
}

function callback(url, status) {
    if (status) {
        alert("Installation of the ActiveX Print Control failed.  Error code: " + status);
    }
}

function checkModal(dlgWindow) {
    if (dlgWindow && !dlgWindow.closed)
    dlgWindow.focus();
}

function cancelPrinting(printControl) {
    if (printControl && printControl.IsBusy) {
        printControl.CancelPrinting();
    }
}

function checkUserCancelledInstallation(printControl) {
    if (printControl && printControl.IsBusy == undefined)
        close();
}
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。