I want the user to click a link that automatically prints a page that is located at a different url, without showing or going (in the window) to the actual page that i want to be printed.
i have tried (as a compromise):
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff" <%
if request.querystring("print"
="true" then
response.write ("onload=""javascript:self.print(); self.close()"""
end if
%>>
but this shows the window that is to be printed, and i want it to be hidden.
is this impossible to do? or is there a way to do this?
thanks in advance!
i have tried (as a compromise):
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff" <%
if request.querystring("print"
response.write ("onload=""javascript:self.print(); self.close()"""
end if
%>>
but this shows the window that is to be printed, and i want it to be hidden.
is this impossible to do? or is there a way to do this?
thanks in advance!