印刷コード
788 ワード
$(function () {
$("#printdiv").css("display","none");
})
var LODOP;
function prn1_preview() {
CreateOneFormPage();
LODOP.PREVIEW();
}
function CreateOneFormPage() {
LODOP = getLodop();
LODOP.PRINT_INIT(" ");
LODOP.SET_PRINT_STYLE("FontSize", 18);
LODOP.SET_PRINT_STYLE("Bold", 1);
LODOP.ADD_PRINT_HTM(100, 100, 350, 600, document.getElementById("printdiv").innerHTML);
//ADD_PRINT_HTM(Top, Left, Width, Height, strHtmlContent)
}