我用个函数测试一下能打印的.dllpublic function print() as string
on error goto err
printer.print "this is a test"
printer.enddoc
print=""
exit function
err:
print=err.description
end if
在asp里set test=server.createobject("PrintTest.PrintString")
Response.write(test.print)网页上显示:
未设置对象变量或 With block 变量
on error goto err
printer.print "this is a test"
printer.enddoc
print=""
exit function
err:
print=err.description
end if
在asp里set test=server.createobject("PrintTest.PrintString")
Response.write(test.print)网页上显示:
未设置对象变量或 With block 变量
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货