开发者

is there any way to print to DataMax printer Through her driver - using asp.net in the client side?

开发者 https://www.devze.com 2023-02-06 19:13 出处:网络
is there any way to print to DataMax printer Through her driver using asp.net in the 开发者_开发技巧client side ?

is there any way to print to DataMax printer Through her driver

using asp.net in the 开发者_开发技巧client side ?

thanks in advance


You don't have the information of the drivers or control of which printer will the user use to print on the Client side. You can only Issue a print command in the javascript and the control will go to the Browser which will open its Print Dilogue Box. U can suggest user in your page regarding print instructions but cant do it yourself.

Following is the snippet to print the whole page

<script language="Javascript">
<!--
    function printpage() {
    window.print();
    }
//-->
</script>
0

精彩评论

暂无评论...
验证码 换一张
取 消