Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing a page

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I need a tool which converts my HTML-page to another format (i.e. pdf), so that I can print it without using the print-method of the browser.
Can anybody help me??
 
Copy screen with Print Scrn button
and paste it into whatever :ex - paint??
 
Hi !
I want to automatically print an html page by javascript
the MyWindow.print() doesn't work with Netscape.
A solution ?
 
just saying print() worked for me. jared@aauser.com
 
Actually you should include code for both netscape and internet explorer., e.g.:

<script language=&quot;vbscript&quot;>
sub print
olecmd = 6
oleparm = 1
on error resume next
WB.execWB olecmd, oleparm
if Err.number <> 0 then
if DA then
alert &quot;nothing printed&quot;
else
handle_error
end if
end if
end sub
</script>
</head>
<body>
<a href=&quot;javascript:window.print&quot;>for netscape</a>
<a href=&quot;javascript:print()&quot;>for ie</a>
</body>
<object id=&quot;WB&quot; width=0 height=0 classid=&quot;CLSID:8856F961-340A-11D0-A96B-00C04FD705A2&quot; VIEWASTEXT></object>

something like this.

begrepen ?
 
just print works for ie and nutscab jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top