Call the IE printing function

Source: Internet
Author: User

<Body>
<Object ID = webbrowser classid = CLSID: 8856f961-340a-11d0-a96b-00c04fd705a2 Height = 0 width = 0 viewastext> </Object>

<Input onclick = Document. All. webbrowser. execwb (1,1) type = button value = open name = button1>
<Input onclick = Document. All. webbrowser. execwb (4,1) type = button value = save

Name = button2>
<Input onclick = Document. All. webbrowser. execwb (10, 1) type = button value = attribute

Name = button3>
<Input onclick = Document. All. webbrowser. execwb (6, 1) type = button value = print

Name = button>
<Input onclick = Document. All. webbrowser. execwb (7,1) type = button value = print preview

Name = button>
<Input onclick = Document. All. webbrowser. execwb (8, 1) type = button value = page settings

Name = button4>
<Br/>
<Input onclick = Window. Location. Reload () type = button value = Refresh name = Refresh>


<Input onclick = "window. External. importexportfavorites (true,''); "type = button

Value = import to favorites name = button5>
<Input onclick = "window. External. importexportfavorites (false,''); "type = button

Value = export favorites name = button32>
<Input onclick = "window. External. AddFavorite (location. href, document. Title )"

Type = button value = add to favorites name = button22>
<Br/>
<Input onclick = "window. External. showbrowserui ('organizefavorites ', null )"

Type = button value = favorites name = submit2>
<Input onclick = 'window. Location = "view-source:" + window. Location. href'

Type = button value = View Source file name = button7>
<Input onclick = "window. External. showbrowserui ('your agedialog ', null )"

Type = button value = language name = button6>
</Body>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.