the requirement is as such:
        i have a html page.i have an applet inside it which is grid.i select
one row in the grid,and when i click 'print' button in the page the
javascript function has to call a function in applet java file(to get the
required data) and returns to javascript.Then a servlet file is called which
fills all the above data into a preformatted report file.(report.rtf).
        Now the requirement is
        on click of button the word document should be opened at the same
time it should get printed(without clicking the print option from file menu
of doc).
        My Present Status  is:
        i could open the doc as well get it printed .but the problem is it
is printing the template as after filling the template it is not saved.how
to save the file after getting filled in servelt file/javascript??
        the other problem is the template resides in server so the saved
file should reside in the client machine.and after printing it should even
delete the file in client machine.
        pls help me if u have any ideas
        note: i ma enclosing my servlet file.
        thanks in advance
raghava

> -----Original Message-----
> From: Kurelli Rajshekar [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 4:18 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: printing a document on click of button
>
> Dear Raghava,
>
> its quick simple.
>
> on the button event just give the window.print() command.
>
> that should work. if you have probs lemme know
>
> Best regards,
> Raj
>
> -----Original Message-----
> From: Raghava Krishna (CTC) [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 3:05 PM
> To: [EMAIL PROTECTED]
> Subject: printing a document on click of button
>
>
> hi all
> i have a requirement:
> i want a document to be printed on click of a button in the web
> page.i.e.it
> should not open a word document.it should directly connect to printer
> and
> the document is to be printed.
> pls if anyone knows the logic or content present in any sites pls let me
> know
> thanks in advance
> raghava
>
> ________________________________________________________________________
> ___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to