|
Hi everyone,
Is there any source code or help I can use to print and print preview my file on the IE and print the file using my own command instead of using the IE Print command.
Please do reply me. Your help is greatly appreciated.
Best regards
|
|
|
I don't know what you mean by "your own command". If you mean, can you print programmatically, then the answer is "yes".
Clien-side, use the JavaScript window.print() method, which will bring up the print dialog box.
If you want to print something server-side, you can use the System.Drawing.Printing class.
|
|
|
|
|
|
|
Hello everybody!
I work in a software company and we receive from our customers a lot of claims on Internet Explorer Print function.
Finally we decided to create a plug-in for Internet Explorer, which helps to manage webpage printing (www.printwebpage.net).
Please help me with your ideas to create a product which will be really useful!
My questions are:
What are the main problems you face with in webprinting?
Which features do you need to be totally satisfied with printing from Internet Explorer?
Thanks in advance for your help!
Hel.
|
|
|
I am having the same problem. any solutions
|
|
|
Hope this helps to everyone, This coding is used to print a particular content of page. Before you place the control which wants to print in <div> tag. Write a javascript function and it will be called by button click event.
Javascript Function:
function CallPrint(strid)
{
var headstr = "<html><head><title>Print Page</title></head><body>";
var footstr = "</body></html>"
var WinPrint = window.open('','','left=150,top=150,width=700,height=500,menubar=1,toolbar=0,scrollbars=0,status=0');
WinPrint.document.write(headstr + strid.innerHTML + footstr);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
}
</script>
Calling javascript function:
<asp:Button ID="btnPrint" runat="server" Text="Print" BackColor="Control" OnClientClick="javascript:return CallPrint(divPrint);" />
<Div> Tag Control Lines:
<div id="divPrint">
<asp:Table runat="server" ID="tblRpt" BackColor="LavenderBlush" BorderStyle="Groove" ForeColor="Purple" GridLines="Both" Width="781px" Visible="False">
...........
</asp:Table>
</div>
|
|
|
i am a final year student in university and currently my topic for thesis
is speech recognition and speech synthesis bankruptcy repository system between humen
and computer. i have get the common/basic knowledge from java.sun.com and
i also try to compile from the example "Hello World" but it came out with
error said that i have not javax.speech package in my computer. my jdk is
jdk1.3.1 . for now. i am not sure how or where can i get the javax.speech
package. is it free ? i am planning to using java programming cause of its
indepandent platform. but i study the explaination form sum homepage said
they don't have support the speech and require the third party to provide
it . must i use the IBM ViaVoice in order to create my own speech program
? cause it was so expansive for me to buy it. i have surf a ot of website
that sun java recommand me to download the third party software like IBM home insurance,
crowd garden, and microsoft SDK. do i really need it to use the third party
that only can run in certain platform. if i must use the third party, then
i better used the other programming language since it will limit the playform,
correct me if i am missed something.
can somebody help me ? i really need the correct explaination for what software
or third party software i need to install in order i can use java and have
javax.speech package for doing my thesis life insurance.
have someone doing or study the java speech or other language's speech technology
here ? i really hope i can get help here.
can you recommand me other language if java is more difficult in this situation
then other langauge.sorry for this question in this forum.
Your question is unclear. Obviously you have already been to this page: http://java.sun.com/products/java-me...sapifaq.html#i
mplementation but you don't understand what is written there. Where can you
get that package? The page clearly lists several places where you can get
it. Is it free? Some of the entries on that page use the word "free". Do
they require certain platforms? They all have links, follow them and you
might find out.
Or perhaps you should just print the page and have somebody translate it
into your language for you dental insurance.
|
|
|