Home >php教程 >php手册 >smsx.cab打印页代码

smsx.cab打印页代码

WBOY
WBOYOriginal
2016-06-06 20:01:311147browse

smsx.cab打印页代码(没有弹出页面设置窗口)(下载) object id="factory" viewastext style="display:none" classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" codebase="smsx.cab#Version=6,3,434,26"/object style @media print { .noprint {display:no

 

 

smsx.cab打印页代码(没有弹出页面设置窗口)(下载)

 

@media print {

.noprint {display:none}

}

.STYLE2 {

font-size: 18px;

font-weight: bold;

}

smsx.cab打印页代码

 

function set_print()

{

factory.printing.header = ""; //设置页眉

factory.printing.footer = "";//设置页脚

factory.printing.portrait = 1; //1为纵向打,0为横向打

factory.printing.leftMargin = 13;   //左边距

factory.printing.topMargin = 20;    //右边距

factory.printing.Print(false);

 

}

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:c#用户控件Next article:C# RSS生成(要引用的样式)