JSP for Printer Friendly Version - urgent help

Hi all,
I have a JSP web application to collect student's homework. It needs to render the webpage to a printer friendly version with custom headings for easy print out by the teachers. The different submission should be printed out on seperate pages, but since the length of each homework is different, I cannot find a better way to reach the goal. Does any one have any ideas about this?
Any input would be highly appreciated!
Thanks.

Yes, it's such a shame. If it hadn't been an urgent question there might have been some point in my answering it. Obviously too late now though...

Similar Messages

  • I am running XP SP2 fully patched. I recently upgraded to 3.6.3 and since then, clicking on an icon that normally would open another windows (for example, a printer-friendly version of the current web page), nothing happens. In these situations, I have be

    I am running XP SP2 fully patched. I recently upgraded to 3.6.3 and since then, clicking on an icon that normally would open another windows (for example, a printer-friendly version of the current web page), nothing happens. In these situations, I have been forced to go to IE or Crome in order to accomplish what I need to do. Very frustrating. Also clicking in the slider area has no effect. "Page Up" and "Page Down" keys work. Holding down left mouse button on slider works. Also very frustrating. Can someone help
    == This happened ==
    A few times a week
    == Upgraded to 3.6.3.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • I can't print printer friendly version on Ancestry.ca whereas Internet Explorer can.

    I have a family tree on ancestry.ca that can be printed on using a printer friendly version. I have used Firefox in the past with no problem printing, but recently when I tried to print, it would only print the first page. I went to print preview and it would only show the first page. All the rest were blank except for the headers and ancestry logo. When I emailed them with the problem, they suggested that either the web browser I was using or my antivirus program was the problem because they went into my account and everything seemed to be working properly. I tried Internet Explorer and everything worked fine. No problems printing. Fire Fox is my default browser and I prefer to use it but something has changed recently. I don't recall changing any settings so perhaps you could tell me what the problem is.

    Hi Bigggtommy, you wrote:
    <blockquote>When I click print (top left) it says "an error occurred while printing"
    </blockquote>
    Do you mean you can't even call up the Print dialog from the File menu without getting an error, or is that after calling up the dialog and clicking OK?
    When you select Print from the 3-bar menu, Firefox should call up Print Preview. So neither method is working for that.
    It seems that Firefox is having a severe issue with reading some metrics from your printer driver or has some other setting or program problem.
    In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • Printer Friendly Version

    I am currently designing a site where each page needs a
    printer friendly version. I thought about creating all the pages in
    a simple format using CSS and then linking a button from the
    complex page to the simple page.
    However, I have appeared on this forum before and have been
    encouraged to look at this article (I don't expect you busy people
    to read it!)
    Click Here To
    View Article
    The article sets a CSS document for the printer friendly
    versions. However, when I put a button into my non-printer friendly
    version (HTML) how do I make it create a new document with the new
    CSS rules? Would I have to use a CSS swapper?
    Thanks in advance.

    No buttons are needed.
    If you setup you page and CSS documents correctly, when a
    user chooses Print
    from their browser's menu, they'll get the print friendly
    version.
    "ForensicBop" <[email protected]> wrote in
    message
    news:f2adde$pv9$[email protected]..
    >I am currently designing a site where each page needs a
    printer friendly
    > version. I thought about creating all the pages in a
    simple format using
    > CSS
    > and then linking a button from the complex page to the
    simple page.
    >
    > However, I have appeared on this forum before and have
    been encouraged to
    > look
    > at this article (I don't expect you busy people to read
    it!)
    >
    http://alistapart.com/articles/goingtoprint
    >
    > The article sets a CSS document for the printer friendly
    versions.
    > However,
    > when I put a button into my non-printer friendly version
    (HTML) how do I
    > make
    > it create a new document with the new CSS rules? Would I
    have to use a CSS
    > swapper?
    >
    > Thanks in advance.
    >

  • When attempting to print from a printer friendly version the print window is empty.

    When attempting to print from a printer friendly version the print window is empty. I have also noticed if I click on all programs and Acrobat.com the window that opens says unable to connect to the internet. I can even be on the internet and do it. I have downloaded the reader DC suggested under document to print. [personal information (email address) removed by moderator]

    Hi,
    Would you tell us the exact name of the application that you use?  What is your operating system?
    Is it "Adobe Acrobat Reader DC", "Adobe Acrobat Pro DC", or "Adobe Acrobat Standard DC" for desktop computers? 
    Or "Adobe Acrobat DC for iOS" or "Adobe Acrobat DC for Android" (for mobile devices)?

  • Regarding the printer-friendly versions of wiki articles...

    Hey, I just have a suggestion for the layout of the wiki. I don't see why the little translation/language box is needed for the printer-friendly versions of any of the articles. It's a minor complaint, really, but it gets on my nerves a little bit. I propose you get rid of it. (the categories at the bottom are also not very necessary for a printed article)
    Anyways, like I said it's just a suggestion, do with it what you will.

    is there a chance you could take a look at the css for printing and give me a patch? I agree with you about htem being unnecessary, but i'm not sure it's possible to get rid of the translation box because of the way it's set up. The categories are probably just a display:none somewhere.

  • Opening a saved printer friendly version of a web page (PDF) opens a print dialog.

    On the web I asked to view a printer friendly version of the page which opened a PDF which I saved.  When I attempt to open the saved PDF it automatically brings up the print dialog. If I cancel the print it opens in Adobe Reader.  What can I do to open the file without the print dialog popping up

    Hi Stanley Trela,
    If you are on Windows, open up your application preferences, then go to the "Security (Enhanced)" category and deselect "Protected View". If you are on a Mac, unfortunately, the only workaround is to "print as image" - you can select that after clicking on the "Advanced" button on the print dialog.

  • Printer friendly version of a page

    Is there a way to display/print a printer friendly version of a page (without all the graphics, etc.)?
    Any ideas?
    bob

    Bob:
    Duplicate the page in iWeb but don't include it in the navbar, remove everything but what you want on it to print, name it "printpage" and publish. Go to your site and enter the URL: http://web.me.com/YourMMe_Account_Name/SiteName/printpage.html. Check to see that it is what you want.
    Open the site in iWeb and on the original page add a hyperlink titled "Printer Friendly Page" or something like that, select the text and use the Inspector/Link/Link pane to create a link to that printpage url as an external page and set it to open in a new window.
    To make the site more printer friendly set the page and browser background to white and remove any items that don't need to be printed. Also make sure any text is in a Web Safe Font and there's no drop shadow or other enhancement that would convert the text box to an image.
    OT

  • Printer friendly version of a jsp page

    Hi
    i have a results.jsp page that displays certain data in a table format.I also have a print button on this page, which on clicking should bring up a new page with all teh data in the results page and should be printer friendly.How do I accomplish this.
    Thanks.

    http://www.javascriptkit.com/dhtmltutors/cssmedia.shtml
    http://www.w3schools.com/css/css_ref_print.asp
    http://www.w3schools.com/css/css_mediatypes.asp
    http://webdesign.about.com/od/printerfriendly/
    andi

  • Change Report Font Size for Printer Friendly Page

    I have a report using a template of 'Reports Region' and I have a link to a printer friendly page. Because the report text is so big I would like to make it smaller. I have already reduced the width of the report region but that has made 2 page reports run into 4 pages. I tried adding tags to the page to modify it but I was only able to make the text at the top of the page smaller and not the report. I tried modifying the theme_V3.css file but I could not find a place to modify text/font size in the report (This was trial and error as I am unfamiliar with css).
    I would like to only have it smaller on the printer friendly page but if I will be forced to change it all the time I would like to know if there is at least an option.
    If the only way to make this happen is to build a custom report then so be it. (But again the printer friendly page only pulls in the current page and I want it to only be small on the printer page)
    I am on V2.2.
    Thanks

    You need to use a print media stylesheet. You'll need to find class(es) or other CSS selector(s) to attach the font size rule(s) to - look at the HTML source for your page.

  • Printer friendly version of a js page

    Hi
    i have a results.jsp page that displays certain data in a table format.I also have a print button on this page, which on clicking should bring up a new page with all teh data in the results page and should be printer friendly.How do I accomplish this.
    Thanks.

    http://www.javascriptkit.com/dhtmltutors/cssmedia.shtml
    http://www.w3schools.com/css/css_ref_print.asp
    http://www.w3schools.com/css/css_mediatypes.asp
    http://webdesign.about.com/od/printerfriendly/
    andi

  • I'm giving up on matching colors for print...please help

    I have an image of a model whose sweatshirt is sky blue.
    I know I'm setting up my print dialogue options correctly for print. I have the paper profile selected, correct printer, etc. I also used On-Screen, soft proofing with my paper selected when making adjustments in Aperture. On screen, her sweatshirt looks perfect. I go to print a picture and in the print dialogue box, her sweatshirt is now teal. I have them side by side and the difference is obvious. Again, the soft proofing is set to the paper I am using, and the settings in print dialogue is set up with that paper in ColorSync. So I have them matched according to settings, but they look very different.
    For the heck of it, I experimented and switched soft proofing to sRGB and the sweatshirt turns teal on screen. This teal now matches the print dialogue box's preview of that sweatshirt.
    So why does my picture print according to sRGB profile (and match it perfectly--teal blue sweatshirt) and not the profile I have selected for my printer (HP Advanced Glossy--sky blue sweatshirt)? Can anyone tell me if this indicates a certain issue that I can resolve?

    I have a B9180 and have had many, many problems.
    I meticulously follow the set-up procedures but in the end it is hit and miss. At the start of each printing session I have to waste several expensive sheets in order to get the settings in sync. Not only is it expensive, it is time consuming and frustrating. Ultimately the final parameter is Gamma.
    HP advanced photo glossy is very good but I also use locally sourced papers; Canson - a French set of papers, I like their Photosatin Premium Rc and Tecco, a German company - Ultra-white glossy and PSR 250 a beautiful textured satin finish. Most of my printing is monochrome by the way. Eventualyl I get there but I do not have great confidence in the combination of HP and Aperture. the pro photo people say you have to balance everything. their knowledge is far superior to mine but having spent now around 40 years in IT I know enough to say that both companies are falling down badly in terms of tehir co-operation. This type of black magic and mumbo jumbo is just not necessary in today's advanced IT world. If it were so easy as buying an upmarket Epson, I would do it, but that route also seems fraught with danger. If PC, Lightroom were the answer I would go that way but again I am not convinced.
    I love printing and the process of getting there but blunt tools do not help.

  • I created a magazine using a IDD template including bleeds. When I exported to make a PDF, it cut off part of the document when uploading for printing. When I incude bleeds, it makes the document too big for printing. I need help :)

    I created a magazine using a template including bleeds. When I exported to make a PDF, it cut off part of the document when uploading for printing. When I incude bleeds, it makes the document too big for printing. I need help

    eehenry wrote:
    It is a problem with a secondary provider, "mag cloud" .
    Right, so to advise you we'd need to know the particulars of MagCloud's spec for your project; format, trim size, bleed, etc.
    It's doubtful that anything happened "when uploading for printing," so long as you were uploading a PDF, as opposed to the native InDesign file. Did the PDF look right to you before uploading?

  • Trying to allocate for printer grip on document, help plz!

    Okay, hey, new to the board here, excuse me if the format of my question is confusing :S
    Im using Illustrator to create a thank you note card that has to fit within exact dimensions on an 8.5'' X 11 '' sheet of paper that is divided into quarters. the bottom quarters on a horizontal plane have an embossed border set 5/8ths of an inch in from the sides (of the quarter page)
    I have my design layed out on an 8.5'' X 11'' document, i ran a test print through the printer and realized i hadnt compensated for the printer's grip. this was on ordinary stock paper. After printing, I noticed that the borders along the outside edges of the whole document (Not on the inside along the quartered sections borders) were pushed in an extra distance, say an extra 1/4'' inwards.
    When I do print the actual document, I will be running the paper through the bypass (its cardstock and i dont want it to curl).
    Now heres my question...
    What should I do to compensate for this?
    Should I make a document that has the distance of the printer grip subtracted from it's dimensions (will that even work)? would compensating on the dimensions of my already existing 8.5''X11'' document solve this?
    am i entirely misguided? is there a solution built into adobe illustrator or a printer to solve this? maybe someone could point me to a tutorial? I searched myself and didnt find what the info I required maybe someone has a solution of their own?
    please help! thank you in advance!
    also, if anyone looking into this needs clarification, lemme know !

    The way to cheat is to set the grip end to be the inner surface of the card and then keep the text back far enough to not get cut off.  Something like this

  • JSP Array to Javascript function :URGENT HELP

    Hi,
    i have problem in sending array from JSP to Javascript function. if you have any answer please let me know asap.
    Thanks in advance.
    -Priya

    Hi Kurt,
    I have written follow. program . but still I'm getting errors.
    I don't know what I'm doing wrong.
    <HTML>
    <HEAD>
    <SCRIPT>
    function showArray()
         var str = new Array (<%for (int j=0; j<jspstr.length; j++);
         out.print ("\"" + jspstr[j] + "\"" + (j<(jspstr.length-1)?",":""));%>);
         alert ("Total elements received: " + str.length);
         for (j in str)
         alert ("element number " + j + " equals " + str[j]);
    </SCRIPT>
    </HEAD>
    <BODY>
    <FORM>
    <%String[] jspstr = {"abc", "def", "ghi", "jkl"};%>
    <SCRIPT>
    showArray();
    </SCRIPT>
    </FORM>
    </BODY>
    </HTML>
    com.ibm.servlet.engine.webapp.WebAppErrorReport: C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_0\default_app\_try_xjsp_debug_jspsrc_988535311.java:135: Undefined variable or class name: jspstr
    for (int j=0; j<jspstr.length; j++);
    ^
    C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_0\default_app\_try_xjsp_debug_jspsrc_988535311.java:136: Undefined variable: jspstr
         out.print ("\"" + jspstr[j] + "\"" + (j<(jspstr.length-1)?",":""));
         ^
    C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_0\default_app\_try_xjsp_debug_jspsrc_988535311.java:136: Undefined variable: j
         out.print ("\"" + jspstr[j] + "\"" + (j<(jspstr.length-1)?",":""));
         ^
    C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_0\default_app\_try_xjsp_debug_jspsrc_988535311.java:136: Undefined variable: j
         out.print ("\"" + jspstr[j] + "\"" + (j<(jspstr.length-1)?",":""));
         ^
    C:\Program Files\IBM\VisualAge for Java\ide\project_resources\IBM WebSphere Test Environment\temp\JSP1_0\default_app\_try_xjsp_debug_jspsrc_988535311.java:136: Undefined variable or class name: jspstr
         out.print ("\"" + jspstr[j] + "\"" + (j<(jspstr.length-1)?",":""));
         ^
    5 errors
    Thanks,
    -Priya

Maybe you are looking for

  • How can I transfer music from my iPod to a new laptop?

    I recently got a new laptop because my old laptop, in which all of my music is in, is about to break down. So just about a few days ago my laptop just died, i cannot turn it on, and all of my music is in there. How can i transfer all of my music onto

  • Firefox 4 has messed up my iGoogle Settings and won't allow it to function. Yet IE 8.6 handles it fine. What is the problem?

    Firefox 4 is preventing me from changing/moving/ editing any gadgets I have on my iGoogle page. Several of the gadgets don't show any content or even a title. I checked my iGoogle settings in I.E. and everything works in it. What changed in Firefox 4

  • Margins, Padding, no effect in "multiple columns" Fluid Grid Layout

    Mac Pro Adobe DW CS6 Testing URL:  http://0343be5.netsolhost.com/satgraphics_02/index.html First time using multiple columns in fluid grid layout---------------------------------------- <style> .newspaper           column-count: 2;           column-g

  • Reg: Max no of triggers on a Table

    All, Could you please clarify me on, How many triggers we can apply on a table. As far as i know, there is no limit from 11g on wards, but not sure, before 11g it was only 12 ( 12 types of triggers).  Could you please provide me a link where i can ch

  • Receiver JDBC structure and Mapping

    Hello everyone, Scenario - WS (async) -> PI 7.1 -> JDBC (sync) -> PI 7.1 -> WS (async) My question is - In my request structure (from WS), I have a field "Transaction ID". This field is not present in the target DB, but when I get the response back f