Printing TextBox
-
Hi, I have a TextBox and a Button in my page. I'd like to print only the textBox content when the user clicks the button, the browser print dialog may show, i don't really care, the only thing important to me is not sending the standard html printed header nor the footer with the page url. I just want the textbox content printed, it can't be changed by the browser, nor having anything added to. Thanks, Dirso
-
Hi, I have a TextBox and a Button in my page. I'd like to print only the textBox content when the user clicks the button, the browser print dialog may show, i don't really care, the only thing important to me is not sending the standard html printed header nor the footer with the page url. I just want the textbox content printed, it can't be changed by the browser, nor having anything added to. Thanks, Dirso
The only way you can do this, is to show a new window with the text you want to print, and then print that.
Christian Graus Driven to the arms of OSX by Vista.
-
The only way you can do this, is to show a new window with the text you want to print, and then print that.
Christian Graus Driven to the arms of OSX by Vista.
That would be ok for me, my problem is that when I print any internet document, it usually has it's own format, like it has the internet page header and a footer with the url right? I know it depends on the browser the customer is using but I have to print ONLY the text I'm showing, nothing more. I'm actually constructor printer commands, so any characters or symbols the browser "decides" to print other than what I tell would generate printer errors.
-
That would be ok for me, my problem is that when I print any internet document, it usually has it's own format, like it has the internet page header and a footer with the url right? I know it depends on the browser the customer is using but I have to print ONLY the text I'm showing, nothing more. I'm actually constructor printer commands, so any characters or symbols the browser "decides" to print other than what I tell would generate printer errors.
You get NO control. The end. The browser prints, and that's it. Not unless yo uwrite an activeX control or something. But, if it prints a title, it's bound to be the document title, so make that blank. Go to a site like expedia or your bank. They will give you a print view. Look at the HTML to see how they construct it to print the way it does.
Christian Graus Driven to the arms of OSX by Vista.