web打印的问题请多多指教 急啊!
<script defer>
function SetPrintSettings() {
// -- advanced features
factory.printing.SetMarginMeasure(2) // measure margins in inches
factory.SetPageRange(false, 1, 3) // need pages from 1 to 3
factory.printing.printer = "HP DeskJet 870C "
factory.printing.copies = 2
factory.printing.collate = true
factory.printing.paperSize = "A4 "
factory.printing.paperSource = "Manual feed "
// -- basic features
factory.printing.header = "This is MeadCo "
factory.printing.footer = "Advanced Printing by ScriptX "
factory.printing.portrait = false
factory.printing.leftMargin = 1.0
factory.printing.topMargin = 1.0
factory.printing.rightMargin = 1.0
factory.printing.bottomMargin = 1.0
}
</script>
高手们能告诉我factory组件是干吗的?是怎么使用?和这方面的资料谢谢谢!!!!!!!
------解决方案--------------------没见到 factory 的定义,建议往上找找
------解决方案--------------------http://hi.baidu.com/see7di/blog/item/7dca1a238bd3594f93580742.html