Printing document from jsp

Hi All,
I am trying to print a document(For example .doc file) from local system using JSP/Servlet. Please note that I dont want to print the current window and I dont want to use applet also. My requirement is that I have to use only JSP/Servlet or javascript for printing the document at client system.
Please help me with how to do this. Thanks in advance.
Regards
Utpal

That´s not possible. It´s up to the application in which the client is opening the doc file. Which is usually MS Word. That application (un?)fortunately doesn´t understand HTML/Javascript.
If you have a hard head in this, then you need to create a Java application which does the desired task at the local machine and then embed it as an applet or webstart application in your JSP page. Which is fairly cumbersome imho. Not worth the effort.

Similar Messages

  • I am having trouble printing a PDF document. Whenever I click print nothing happens but when I am printing documents from Word, Excel etc they print without a problem. I've tried printing as image but that did not work. I uninstalled Adobe Reader XI and d

    I am having trouble printing a PDF document. Whenever I click print nothing happens but when I am printing documents from Word, Excel etc they print without a problem. I've tried printing as image but that did not work. I uninstalled Adobe Reader XI and downloaded Adobe Reader X instead and that still doesn't work. I have Windows 7.

    Hello,
    Please follow the link to troubleshoot the printing issues with Adobe Reader:- Troubleshoot PDF printing | Acrobat, Reader.
    Regards,
    Nakul

  • Save/Print document from DMS with Office 365

    Dear All,
    We are on ECC 6.0 EHP 4 of SAP. When a word document attachment is opened in DMS (CV03N) from a PC having locally installed Office 365. The document is opening up in office 365 interface inside SAP. Which is good, but we are unable to save the document on to local PC. Upon clicking the File menu, i suppose word tries to bring an additional view instead of a drop down, which was the case with earlier versions. I think this is causing the problem. Can any one suggest how to save and print documents from DMS with locally installed Office 365.?
    We have figured out a work around to bring up the 'Save As' and 'Print' functionalities on to quick access tool bar. Using these shortcuts we are able to save the document but not print.
    Thank you.
    Regards,
    Kartik

    Dear Ms. Mohanapriya,
    We are quite happy with the existing DMS and our intention is not to change the existing architecture. Well, now we are able to open the document and have a workaround to save to local PC. And once the document is saved to PC users are able to print.
    Now we are looking for a solution to enable file menu of Office 365 within OLE container of SAP.
    Regards,
    Kartik

  • Print documents from a website

    I have a Mac 10.7.4.  I downloaded Adobe Reader X (10.1.3) but I cannot see or print documents from any website.  What have I done wrong?

    No screenshot (don't know how to do that)  but I have firefox open with several tabs showing.  One of the tabs is the website to download application form for a passport. When I press the link to down load the form a new tab opens but it is blank.  I have tried on a few different sites now and it is always the same - press link, new tab opens but it is blank.
    Thanks for taking the time to help me.

  • How do I get my Kodak ESP 3.2s printer to print documents from my iPad ?

    I have an iPad
    I have a Kodak ESP 3.2s all in one printer
    I have set it up to print via my home wi fi using my normal laptop with Microsoft
    However I couldn't  work out how to print from my iPad as its not configured for Apple!
    I downloaded Kodak Pic flick HD app
    This means I can now print photos from my iPad!  Great
    But still can't print documents it seems     I get a message saying No AirPrint Printers Found
    Any advice very welcome
    Thank you
    iknow0

    Airprint is a technology created by Apple Inc. and introduced in iOS 4.0 that allowed iPads, iPhones, and iPod Touches to print directly to Airprint compatible printers. Unlike computer printing where the drivers, fonts, etc. are stored on the computer and sent to the printer with the document with Airprint fonts, drivers, etc. are stored on the printer and need not be sent with the document.
    The solution to your problem is 3rd party software which both Jim and I suggested to you.

  • How to print report from JSP Page

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

  • My HP officejet 6210 no longer prints documents from my Mac ibook G4 running 10.4.11; starts to process the document, but then stops the print,if I restart print same thing happens

    My ibookG4, running 10.4.11 suddenly decided it no longer wants to print documents thru my HP officejet 6210 all-in-one printer.  So far I've tried emails, excel and word all with the same result.  The computer will start to process the print request (processing seems to take longer than previously) and then suddenly the processing stops and a red exclamation mark appears next to the printer image at the bottom of screen.  When I pull up the printer utility it tells me the printer is "stopped".  If I restart it, the process begins all over again until once again it stops.  I have already deleted the printer completely from my computer and reinstalled the software fom the HP site.  For some reason had a really tough time finding the correct print drivers on the HP site, but did finally locate them.  I have not even attempted scanning during this (I see lots of people reported issues with that for the 6210), I would be happy if I could at least print again.  I am connecting via USB.  Is there some way to fix this?

    Hi Evelyn,
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US

  • Won't let me print documents from website link

    For this specific website, when I try to print a document it will automatically download it for me but it won't print. I will click on the download and it will open up on Word, but since it is coded it will not show properly. How can I get it to print directly from the print link on the website? I've tried resetting it and it still won't print.

    [[Fix printing problems in Firefox]] may help, but if it also happens in other browsers you may want to ask the site developer.

  • Garbage text prints when printing documents from InDesign

    I am encountering an odd error when printing from InDesign 4.0.4 (CS2) to some HP printers (HP 4650 and 2430n). Some documents print just fine with no problems. But a couple of documents will either never print, or when they do print, they print a line or few of garbage text (black diamonds, smiley faces, etc.) per page, plus some blank pages, and it will run through tons of paper when it does this.
    I've found the following document which describes my problem pretty closely.
    http://h10025.www1.hp.com/ewfrf/wc/genericDocument? docname=c00028613&cc=us&dlc=en&lc=en&jumpid=regR1002USEN
    The problem is that I have set the Graphics to print as ASCII, and this problem still occurs. Could it be a problem with a particular EPS file printing or something? This document (with all of the included text, EPS images, etc) become fairly sizeable, such as 150 MB in size. The HP 4650 has 512 MB of memory, whereas the HP 2430 has 64 MB of memory.
    I printed this same problem document from another computer, with all of the same settings in InDesign, and it printed with no problems.
    Any idea on what is going on here?

    Hello Chad,
    Do you know if the two printers support PostScript? It sounds like they don't and therefore they will be using filters to convert the PS data from InDesign into a format that it understood by the printer. It will be in this conversion process that something will be going astray and that will cause the corrupted output. Try running a Repair Disk Permissions to see if this helps.
    I don't believe the amount of RAM will cause the problem, it should only impact the speed at which the document can be spooled from the Mac. However, if the error is only occuring from InDesign and when working with large files, then it may have something to do with it. But if the other PC is okay then it may rule out the RAM. What print language is the other PC using to print to the HP's?
    Regards,
    Paul

  • Adobe document from JSP

    Hi all
    Can anybody be able to help me to create an Adobe Document from a JSP. That is, I want the JSP to generate an Adobe Document instead of the HTML.
    Timely help is appreciated greatly.
    Raj

    You will have to use XSL-FO (formatting objects) to generate dynamic Adobe PDF files. Try to use Cocoon or Xalan and Xerces with FOP packages from Apache at http://xml.apache.org. You also have to specify the content type in your JSP to PDF example..
    <%@page contentType="application/pdf"%>

  • How to generate Word document from JSP ?

    Hi,
    I want to generate Word documnet from JSP. I am using Neva objects to generate Word document. Now my problem is Word doc generation code works alright as a Java application but when I place that piece of code in a JSP bean it throws an exception. The reason seems to be unavailibility of DLLs and other files of Neva in Tomcat environment. I do not want to use other complex packages like JIntegra, I would prefer any freeware solution. There is not much info. about Word document generation on POI project in Jakarta site.
    Could anyone suggest way out ? Any Java examples doing the same would be of great help.
    Thanks,
    Akash

    Hi Saurabh,
    Thanks for the reply.
    I have tried that too. Problem with that solution is that if you have used CSS in your JSP code MS word does not understand it and generates word doc which is not the same as HTML which JSP otherwise would have generated.
    Akash

  • HP Deskjet2540 - only part prints documents from internet then gives up

    I have recently installed a HP Deskjet 2540 All-in-One Series Printer on my home network. If I print from Word or Excel it is perfect. If I try to print a 2 page document from a website (eg a hotel I'm considering for a holiday), my printer prints about a quarter of one page and then gives up. and ejects that page. I don't understand what's wrong or how to get help from HP

    Hi @GeoffR1 ,
    I see that you are having issues printing the full pages from the internet. I would like to help you out today.
    I would try another browser to see if you have the same results.  (Chrome, Firefox, Safari, Internet Explorer)
    What web browser are you using?
    With most web sites with loads of ads, pictures, banners and other assorted content in addition to the actual text of each page, printing out a web page can be difficult. Printers don't always print multi-item pages correctly.  Some sites offer a "print this page" option. It could be the format of the website also, that won't allow specific content to be printed.
    You could always copy and paste individual paragraphs from the web browser into Word or Notepad and print from there. Not the best resolution, but it will do in a crisis.
    Here is a website called www.printwhatyoulike.com and on the home page, enter the address of the page that you want to print. You can now click around the loaded web page and highlight, or delete altogether, individual components on the page. Then select print.
    Have a great weekend!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Printing documents from DIR.

    My client wants to develop report which will give documents attached to materials in BOM and documents attached to BOM as document item.
    I have given logic for fetching data and i got path also where original document is residing.
    There is requirement from client that in report if he select one row or Multiple rows which is having document number and press print button then it should print that document.
    How to achieve this?
    Is there is any functional module which will print document after giving orginal path of document?

    Hi mayuresh,
    I have some doubts abaout your requirement.
    The documents you are talking about: If they are SAP standard texts, you will never have a path bjut rather a text ID, LANGUAGE and NAME. Print them using function PRINT_TEXT.
    If your texts are stored in dome format (?) ind some path (?), please say:
    What is the format of the text(ASCII, RTF, WORD, HTML) or what?
    Is the text stored in a local directory that can be accessed only from your clients SAPGUI or is it a server directory that can be accessed only by the server?
    It is never wrong to give some details.
    Regards,
    Clemens

  • Printing documents from submitted forms

    How do you print documents that were submitted as part of the form?

    I am guessing you want to print the documents that were added to the form as "attachments".  To print the attachments select the attachment from the response in the "View Responses" tab and click the down arrow to bring up the menu.  Click "Download" to save the attachment and open it in whichever application is right for the type of file you need to print and print from there.
    Thanks,
    Josh

  • Printing documents from websites

    i wish to download Court documents from web, these are public. In firefox the first page only is printed, may of these documents have 10s of pages. This is not a problem in Explorer.
    == This happened ==
    Every time Firefox opened
    == Always

    If you are viewing a PDF document in you browser, Save/Save As the file to you Mac & then open it in Acrobat or Preview & then print.
     Cheers, Tom

Maybe you are looking for

  • Message splitting without bpm

    Could anyone please give any idea or links about end to end configuration for  message splitting without using bpm. Thanks sabyasachi Edited by: Sabyasachi Mohapatra on Apr 7, 2009 11:50 AM

  • How do i installa canon printer pixma mp970

    we have been given a canon pixma mp970 printer to add to our computer. We have tried to install it but have not been able to as it doesn't seem to recognise it. I admit that my nephew put us on firefox and we do not really know our way around as we m

  • Message failed on adapter engine

    I have cofigured the IDOC-XI-JDBC scinario. Everything works except the adapter's status is 'holding' for a long time when trying to send to JDBC. Wish to help me. [email protected] Thanks and Regards Amanda

  • What's the @ sign doing there?

    I'm transfering files to a media reader and for some reason it can't read some of the files. Looking at the rights on the files in terminal, the ones not working has an @ appended. It would read like this -rwxrwxrwx@ owner group date filename.jpg the

  • TV Show download problem with library on a network share

    My local drive has 100GB disk space available. I have my iTunes library configured to be on a network share which happens to be on a NAS (network attached storage) drive. My NAS drive has over 600GB disk space available. When I try to download a TV S