印花 [英] Printing

查看:79
本文介绍了印花的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要打印到

特定网络打印机的asp应用程序。我目前通过使用FSO并设置打印机路径

端口,然后写出一个字符串来使其工作



的问题在于我可以做的所有格式都是换行符

和标签。理想情况下,我想在客户端机器上打开一个html页面,打印它,然后关闭它。有没有

模拟调用window.print而不拉动打印机对话框中的
?无论是在asp还是在客户端

边脚本?关于如何处理这个的任何其他建议?


谢谢,

丽贝卡

解决方案



" Rebecca" < RD ******** @ hotmail.com>在消息中写道

news:0b **************************** @ phx.gbl ... < blockquote class =post_quotes>我有一个需要打印到特定网络打印机的asp应用程序。我目前正在使用FSO并设置打印机
端口的路径,然后写出一个字符串。这个问题是我可以做的所有格式都是使用换行符
和标签。理想情况下,我想在客户机上打开一个html页面,打印它,然后关闭它。是否有任何方法来模拟调用window.print而不拉动打印机对话框?


NO。如果可能的话,这会被滥用。


无论是在asp还是在客户端脚本?


关于如何处理这个的任何其他建议?




最好的办法是让你的用户打印页面。尝试通过ASP在局域网上打印到

打印机比仅仅告诉

用户打印更复杂的东西。


Ray at work


>>关于如何处理这个的任何其他建议?


最好的办法是让你的用户打印页面。
尝试通过ASP从局域网打印到打印机上比仅仅告诉用户打印一些东西要复杂得多。




感谢你响应。我希望这是一个选项,但

这个应用程序的用户太多了,我们不能依靠他们来打印文档。加上那将会导致额外的工作和混乱。这个

应用程序将订单发送到中央储藏室,用于从合同工到化学品的所有内容。

储藏室希望在打印机上接收这些订单。我b / b
已经尝试并尝试过将它们说成

接收群组邮箱中的订单,但是他们会将b $ b无关接着就,随即。他们总是以这种方式完成我们已经完成,为什么我们要改变

心态。没有问题我们的SAP应用程序可以通过网络打印
没有任何问题!


2003年10月15日星期三09: 26:14 -0700,

< an ******* @ discussion.microsoft.com>写道:

关于如何处理这个的任何其他建议?


最好的办法是让你的用户打印页面。


尝试从ASP打印到

打印机通过局域网更复杂

<不只是告诉

用户打印一些东西。



感谢您的回复。我希望这是一个选项,但是这个应用程序的用户太多了,我们不能依赖它们来打印文档。另外,这会给他们带来额外的工作和困惑。这个
应用程序将订单发送到中央储藏室,用于从合同工到化学品的所有事务。
储藏室希望在打印机上接收这些订单。我已经尝试过并尝试过将它们交给
接收群组邮箱中的订单,但是它们将与此无关。他们有我们一直这样做,我们为什么要改变心态。没有问题我们的SAP应用程序可以在网络上打印没有问题!




让ASP服务器进行打印怎么办? 确认

用户的打印请求?


I have an asp application that needs to print to a
specific network printer. I am currently making it work
by using the FSO and setting the path to the printer
port, then writing out a string. The problem with that
is that all the formatting I can do is with line feeds
and tabs. Ideally, I''d like to pop open an html page on
the client machine, print it, then close it. Is there
any way to simulate calling window.print without pulling
up the printer dialog box? Either in asp or in client
side script? Any other suggestions on how to handle this?

Thanks,
Rebecca

解决方案


"Rebecca" <rd********@hotmail.com> wrote in message
news:0b****************************@phx.gbl...

I have an asp application that needs to print to a
specific network printer. I am currently making it work
by using the FSO and setting the path to the printer
port, then writing out a string. The problem with that
is that all the formatting I can do is with line feeds
and tabs. Ideally, I''d like to pop open an html page on
the client machine, print it, then close it. Is there
any way to simulate calling window.print without pulling
up the printer dialog box?
NO. This would be abused if it were possible.

Either in asp or in client side script?
Any other suggestions on how to handle this?



The best thing is to have your users print the page. Trying to print to a
printer over the lan from ASP is a bit more complicated than just telling a
user to print something.

Ray at work


>> Any other suggestions on how to handle this?


The best thing is to have your users print the page. Trying to print to aprinter over the lan from ASP is a bit more complicated than just telling auser to print something.



Thanks for the response. I wish that were an option, but
there are so many users of this application that we can''t
rely on them to print the document. Plus that would
cause added work and confusion for them. This
application sends orders to a central store room for
everything from contract labor to chemicals. The
storeroom wishes to receive these orders on a printer. I
have tried and tried and tried to talk them into
receiving the orders in a group mailbox, but they will
have nothing to do with that. They have the "we''ve
always done it this way, why should we change"
mentality. It doesn''t help that our SAP applications can
print across the network with no problem!


On Wed, 15 Oct 2003 09:26:14 -0700,
<an*******@discussions.microsoft.com> wrote:

Any other suggestions on how to handle this?



The best thing is to have your users print the page.


Trying to print to a

printer over the lan from ASP is a bit more complicated


than just telling a

user to print something.



Thanks for the response. I wish that were an option, but
there are so many users of this application that we can''t
rely on them to print the document. Plus that would
cause added work and confusion for them. This
application sends orders to a central store room for
everything from contract labor to chemicals. The
storeroom wishes to receive these orders on a printer. I
have tried and tried and tried to talk them into
receiving the orders in a group mailbox, but they will
have nothing to do with that. They have the "we''ve
always done it this way, why should we change"
mentality. It doesn''t help that our SAP applications can
print across the network with no problem!



What about having the ASP server do the printing and just "confirm"
the print request by the user?


这篇关于印花的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆