Click here to Skip to main content
15,916,188 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i wanted to print the image files that are attached previously and stored in an folder and i used the below code
JavaScript
function Print() {
        var prt = document.getElementById('<%=file1.ClientID %>');
        prt .border = 0;
        //file1.Attributes(style) = "page-break-after:always"
        var prtwin = window.open('', 'file1', 'left=100,top=100,width=1000,height=1000,tollbar=0,scrollbars=1,status=0,resizable=1');
        prtwin.document.write(file1.outerHTML);
        prtwin.document.close();
        prtwin.focus();
        prtwin.print();
        prtwin.close();
    }
even though i dont want the link which is shown below the page

thanks
with regards
vamsi
Posted
Updated 3-Jun-15 1:34am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900