Changing the Print parameters through JSP

Hi,
I need to allow the user to take a printout of the HTML page, contents of this page are passed from a JSP page, is there a way
1. I can control the SIZE Header and the footer and
2. Printout SHOULD NOT have the following
     1) Form name,
     2) Page number like " Page 1 of 2 "
     3) URL of the HTML Page being printed
     4) Date of the printout
Could someone tell me how this can be achieved?
Thank U!

Hi,
Oracle have a tool for precompiling JSP's it's called ojspc
You can then turn JSP compilation off on the server.
Here's a batch file that I use.
Brenden
@echo off
set ORACLE_HOME=C:\[Jdev_install]\jdevstudio10133
if not exist %ORACLE_HOME%\j2ee\home\ojspc.jar goto error
java -Djava.compiler=NONE -Doracle.home=%ORACLE_HOME%  -jar %ORACLE_HOME%\j2ee\home\ojspc.jar -extend com.orionserver.http.OrionHttpJspPage yourapp.war
goto end
:error
@echo ERROR: %%ORACLE_HOME%%\j2ee\home\ojspc.jar not found.  Please set ORACLE_HOME to point to an OC4J or OracleAS instance and retry.
:end
if "%OS%" == "Windows_NT" endlocal

Similar Messages

  • How do I change the printer resolution?

    How do I change the printer resolution on my OSX 10.6.2 laptop?
    I have an ubuntu print server and it seems to only work at all using the gutenprint drivers. On my ubuntu client I had to change the print resolution from "auto" to 600x600 to make it work just fine.
    The best I can do is make the Mac print pages squished down to 1/4 size. I don't see the same resolution option on the Mac.
    Mac OSX 10.6.2
    Ubuntu Server 9.10
    Printer: Canon S900
    Cups driver: Canon S800 Gutenprint v5.2.3
    Cups version 1.4.2 on the mac
    Cups version 1.3.9 on Ubuntu Server
    Macbook Pro Mac OS X (10.6.2)

    I can't speak for the printer directly, but most functions to change resolution are in the dropdown menu at the bottom of the print dialog. It has a gray bar running through it separating the basic functions from the advanced settings.
    If you don't see that, but do see a blue button with a black triangle pointing down, click on that. Then you'll be able to set the advanced settings.
    Once you set up the printer the way you like, save it as a preset. If you want that as a default, see this [MacOSXHint|http://www.macosxhints.com/article.php?story=20100125135830153].

  • HT4356 I have two printers on my network.  Does anyone know how to change the printer nomenclature - Officejet Pro 8600  (0B54AF) to a recognizable name...like Brad's Office?

    I have two printers on my network.  Does anyone know how to change the printer nomenclature - Officejet Pro 8600  (0B54AF) to a recognizable name...like Brad's Office when you use Airprint?

    You would have to change that in the printer's settings on the printer, if that option is offered by the manufacturer. The iPhone just finds printers on the network and uses the name they have given themselves or that were given to them when they were set up.

  • How do I change the printer options on an ipad air?

    i am changing service provider. Currently they overlap. My ipad is happy to find the current old provider but cannot find the new provider even when i switch to that network. I cannot find any options for changing printer options. how can I change the printer option to access the new provider? i have 4 weeks to get the answer. Thanks

    If you mean that the iPad is tied to another user's iCloud account, you have to ask them to erase the device for you. You can't do it on your own. The device requires their Apple ID and password in order to turn off Find My iPad and to delete the iCloud account.
    IF you just want to sign into another Apple ID (not recommended either) go to Settings>iTunes and App store>Apple ID and sign out of that ID and sign into your ID,

  • How do I change the printer from offline to online?

    how do I change the printer from offline to online?

     Hi,
    Please use the following tips/instructions to fix:
        http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02221706&cc=us&lc=en&dlc=en
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to change the print page setup in IE using javascript

    dear all,
    I want to take print out envelope paper size, so i want to chnage the page setup in IE
    i want to change the print page setup in IE using javascript

    I think, you can do this using CSS.
    http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html

  • How do I change the printed text size.

    How do I change the printed text size?  This happens on everything I print out.  The text is so small I can just about read it.  I use a magnifying glass.  Please help.  Thank you.

    This appears to help.  I have been dealing with system preferences which only offers limited help.  I recently upgraded from an older macbook, but now my macbook air text is so microscopic that it doesn't seem right.

  • How do you change the Print Products Store from USA to UK like you can do in IPhoto?

    How do you change the Print Products Store from USA to UK like you can do in IPhoto?

    Please keep in mind that Aperture is not an enhanced iPhoto, it is a different application with a different philosophy and a different intended audience. If you approach it with that in mind you will have a lot less frustration as you learn Aperture.
    Aperture adds a layer of complexity that is not needed by many.  iPhoto is a very powerful application and fits the needs of many amateur photographers.
    As for your original issue, as I said I am surprised that iPhoto allows you do switch countries like that and am not surprised that Aperture doesn't. If this is something you really need to do working in Aperture but using iPhoto to order the prints is a good work around and will not be all that difficult to do once you get the hang of it.
    As for your new question, the books in iPhoto and Aperture are different enough that the code that created the book in iPhoto wouldn't work in Aperture. What happens when you import an iPhoto library into Aperture is that the images in the book are combined into an album in Aperture with the same name as the iPhoto book. You will need to re-create the book in Aperture uaing the images in this album.
    Hope this helps, post back if you have anymore questions.
    regards

  • How to change the printer name in the User profile in the run time.

    Hi
    I am in need to change the printer name in the run time.
    Do any one hav idea about this?
    Thanks
    Karthik

    The user default settings can be changed using funtion module SUSR_USER_DEFAULTS_PUT.
    Import parameter USER_DEFAULTS-SPLD will hold the default printer name.

  • How to change the print queue name with Lexmark printer?

    Is it at all possible to change the print queue name from Lexmark_3500_4500_Series, to something shorter? I try to link printouts from an old Sun Unix system, thru my iMac to the Lexmark X4580 multifunction printer. However, the Sun/Unix will not accept this long print queue name...

    Apologies, I misread. The only way I know of changing the Print Queue Name is by readding the printer.
     > System Preferences > Print & Scan > Add
    Choose your printer, make sure you change the print queue name to something different (equates to the Printer Name).
    When you need to print, simply select the printer you just added.
    Once your happy it works, delete the old printer from the list in Print & Scan.
    Morgan

  • Change the image resolution through iPhoto

    Does anyone know how to change the image resolution through iPhoto? I know it can be done in other image editing software, but I have yet to find it as an option in iPhoto.

    Hi Rachel,
    There is no option within iPhoto.
    Lori

  • How do I change the print margins in firefox 4.0 in ubuntu?

    When I upgraded to Natty (Ubuntu 11.4), I was automatically upgraded from firefox 3.6.x to 4.0.x
    I want to change the print margins, however when I go to File > Page Setup, it only gives me options for changing the paper size and orientation. There is no longer any sort of tab or option for margins, header & footer, etc.
    Am I missing something or is firefox?

    Try this:
    EDIT:
    * Goto about:config
    * Look for print.printer_<PRINTERNAME>.print_margin
    * change those to what you want :D
    * Restart the browser.
    ENDEDIT:
    Should help you out.
    Thanks to the-edmeister from this post: http://support.mozilla.com/en-US/questions/810599

  • Change the print program from the Transaction F150

    Hi all.
    Does somebody can help how to change the print program in the transaction F150?.
    I have copied the F150_dunn_01 (form) and the SAPLF150 (printprogram)
    This transaction calls the form F150_dunn_01 I want to know how to assign to this transaction my print program ZSAPLF150
    Thanks and regards.

    Hi Srinivas Adavi.
    Ok, I have taken this path...
    IMG-->Financial Accounting
         -->Accounts Receivable and Accounts Payable
           -->Business Transactions
             -->Dunning
               -->Printout
    In this, appears:
    Define Dunning Forms (with SAPScript)
    Define Dunning Forms (with SAP Smart Forms)
    Assign Dunning Forms
    Define Sender Details for Dunning Forms
    Develop Enhancements for the Dunning Print Program
    Attached Payment Media
       -->And So On.
    What are then next steps to make the configutation; sorry I'm newbe jeje

  • Urgent:How to modify a script without changing the print programme

    Hi all,
    Can any body pls tell me <b>How to modify a script without changing the print programme</b>
    Give m esome real time examples.
    Good points willbe rewarded
    Thanks

    Hi
    You can write a external Subroutine to fetch the extra data into the script program
    see the following sample code
    How to call a subroutine form SAPscripts
    The Form :
    /:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
    w_vbeln LIKE vbak-vbeln,
    w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = w_ebeln
    IMPORTING
    output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.
    COPING SCRIPT
    There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
    I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
    To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
    You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
    Ex: Go to SE71,
    on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
    Form name:
    Source Clinet:
    Target Form:
    give Form name as usedefined form name EX: ZFORM1
    Source client as 000 and
    Target form as MEDRUCK.
    execute.
    Now, the standard from MEDRUCK is copyied to your form ZFORM1.
    NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
    Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
    Go to NACE Transaction.
    on Applications select EF for purchase order and click Output types button on application tool bar.
    now select NEU as output types dobule click on Processing Routines.
    now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
    go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
    you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4089895&messageID=3239299
    Regards
    Message was edited by:
            Kiran Sure(skk)

  • How do I changer the print size

    How do I change the print size

    I do not understand what your question is; what do you mean by "print size"?

Maybe you are looking for

  • Phone service has gone downhill

    Have had our phones for a little over a year and very sorry that we purchased them...Right now it seems that we have lost the 4G and even 3G on our phones. Also a huge amount of dropped calls which never happened before. Our phones do not ring when s

  • NTSC vs. PAL: asset question

    Hoping this will be a trivial question for someone, since my DSP 4 documentation doesn't seem to have much to say about it... I'm planning to produce a series of DVDs whose content will consist of a large number of video assets (2000+). Currently, th

  • Identifying Current Menu Version in wwv_usr_menus$

    Does anyone know how to determine which menu version is the current production version in wwv_usr_menus$ ? TIA

  • Installtion of standalone gateway on db server

    Dear Gurus, I am going to install standalone gateway installation on my DB host. It is because my RFC connection in CI  [SAPXPG_DBDEST_DBHOSTNAME]  is failing. the failure of this RFC causing failure of server DBA jobs . System is at 640 version, Cou

  • Fail to install BI publisher desktop

    Hi, Fail to install BI publisher desktop 10.1.3.4.1 / 10.1.2.4.2 at windows xp with ms office 2003, JRE 1.5; got error message 'template builder installer did not exit properly', anyone can help please. Thanks, CY