Getting page number while JSP printing- link rel="alternate" media="print"

<link rel="alternate" media="print" href="reportprint.jsp"
This i am using for printing report.jsp. report.jsp contains more than 2000 records. I need to have the page number to put the column header in each page.
What is the possible way to get the page number in reportprint.jsp??

Hi Raghuveer,
I am getting the same error...
were you able to resolve it??
Part of log file says...
[Jun 28, 2010 12:47:28 PM BST]:1277725648271:Thread[outboundThreadGroup3,5,outboundThreadGroup]:0:-1:stevux1213:10.145.81.43:-1:-1:STATEMENT:[fnd.wf.mailer.URLMIMETagListener]:oracle.apps.fnd.wf.mailer.URLMIMETagListener.tagFound(HTMLTagEvent) TAG {<META name="fwk-error" content="Error occured while processing the request">}
[Jun 28, 2010 12:47:28 PM BST]:1277725648272:Thread[outboundThreadGroup3,5,outboundThreadGroup]:0:-1:stevux1213:10.145.81.43:-1:-1:STATEMENT:[fnd.wf.mailer.URLMIMETagListener]:fwk-error detected
All,
can you please help?
Thanks,
S

Similar Messages

  • When converting word to pdf the cover page of my documet gets page number 1.On the original the numb

    When converting word to pdf the cover page of my documet gets page number 1.On the original the number pages start from the second page.How to keep the original format?

    Michael's reponse is correct. However, as far as I knew, OFFICE 2007 came with printer metrics turned off, meaning it is not supposed to be sensitive to the printer selection. The setting is buried in the options list for compatibility. If it is turned off and a change in printer does affect the result, it would appear just one more of the many things in OFFICE 2007 that MS messed up. The latest one for me has been helping students with the messed up equation editor when you want to add equation numbers in a "standard" way. One of the MS employees even wrote a workaround macro for that problem.

  • Getting page number

    Hi, I have a label in my report which is a placeholder column. Is there a way which I can find out which page number that label will print on?
    Report Builder 10.1.2.3.0
    many thanks

    Like InoL said, srw.get_page_num will tell a formula what page number. If you want your field to display the page number on the report output, set the field source to "Page Number".
    function F_SignatureFormatTrigger return boolean is
    /* Using the "Print object on" property did not control the
       signature line because it's in the margin.*/
    v_page_num          number;
    begin
         srw.get_page_num (v_page_num);
         if     v_page_num = 1
         then     return (TRUE);
         else     return (FALSE);
         end if;
    end;

  • Get page number

    is there any way to get page number which my query search found it ?
    i mean when my search in documents such as word, pdf or ...

    If understand your requirement - that you want the page number of a document on which your search term was found - this is not possible. Oracle Text only keeps track of word offsets - for example it might know that "dog" is the 200th word in the document - it does not know about page numbers.
    The $I trace in ctx_output has no relevance to this problem.

  • How to get page number from the PDF using Javascript

    Hi,
    We are having list of Single page PDF. The pdf are named in the order,
    ISBN_Author_01.PDF  (with real page number as i)
    ISBN_Author_02.PDF  (with real page number as ii)
    ISBN_Author_03.PDF  (with real page number as iii)
    ISBN_Author_04.PDF  (with real page number as 1)
    ISBN_Author_05.PDF  (with real page number as 2)
    ISBN_Author_06.PDF  (with real page number as 3)
    ISBN_Author_nn.PDF  (with real page number as 500)
    Here each pdf has a page number and in sequential order.
    The task is to check whether all the pdfs are in sequential order (i.e i, ii, iii, 1, 2, 3). If any page is missing, the script should throw an error report.
    To do this task, I am writing a Javascript to get the real page number from the PDF.
    Can anybody help me how to get the page number from the PDF using Javascript.
    Thanks,
    Gopal

    The "real" page number within a PDF is the count of the physical page starting at 0, zero.
    pageNum numPages
    The number printed on each page is the page label.
    setPageLabels  getPageLabel
    You will have to open each PDF and your script would need to know the page label for that file. I would expect you would need to build a 2 dimensional  array of the file names and the page label for the page within that array.

  • [JS][CS3] Getting Page Number

    Hi.
    I need to find the page number of the page containing a frame.
    Normally I would use "myFrame.parent.name" to find the page number. However, I cannot use this method on an inline graphic.  What I get returned is the story, which has no page number.  I have used various ways, such as:
    myFrame.parent.insertionPoints[0].parent
    but nothing returns the page number.  I have looked at all the properties of the frame, and cannot find a property I can manipulate to extract the page number.
    Is this possible? Should I give up now?
    Cheers
    Roy

    Here is a function written by Dave Saunders:
    var myDoc = app.activeDocument;
    var myObj = app.selection[0];
    $.write("The selected object is on page " + findPage(myObj).name + "\n") ;
    function findPage(theObj) {
        var thePage = theObj;
        if (thePage.hasOwnProperty("baseline")) {
          thePage = thePage.parentTextFrames[0];
        while (thePage.constructor.name != "Page") {
          var whatIsIt = thePage.constructor.name;
          switch (whatIsIt) {
            case "Story" :
              thePage = thePage.textFrames[-1].parent;
              break;
            case  "Character" :
              thePage = thePage.parentTextFrames[0];
              break;
            case "Cell" :
              try {
                thePage = thePage.insertionPoints[0].parentTextFrames[0];
                break;
              } catch (e) {
                // must be overset, so ignore
                return null;
            case "Application" :
              // must be off page, so ignore
              return null;
          thePage = thePage.parent;
        return thePage

  • CS6 - how to get page number?

    i have selected frame. I want to know page number, where it is.
    aSel = app.selection[0];
    alert (aSel.parent.name); - i get empty string
    cause it' Object spread. And what to do then? (without losing of right/left reffering)
    thanks
    p.s. in CS3 i did it, and in CS6 i get stuck.

    @Dmitry – for further reference see also:
    http://www.indiscripts.com/post/2012/06/so-what-s-new-in-indesign-cs6-scripting-dom
    http://www.indiscripts.com/post/2011/04/so-what-s-new-in-indesign-cs5-5-scripting-dom
    http://www.indiscripts.com/post/2010/10/so-what-s-new-in-indesign-cs5-scripting-dom
    For the whole documentation of the DOM:
    http://www.jongware.com/idjshelp.html
    Hm. While we are at it:
    Is there a "What's new in InDesign CS4 scripting DOM" somewhere?
    Just to complete the picture…
    Uwe

  • Get page number from adobe reader activex control

    I used adobe reader activex contol in my application, I wanna access currect page number of open pdf, for that I require AcroExch.App.Avpageview. where we can get it and what would be the cost of it.Or any othe solution for access the page number of pdf.

    This is an interface supplied by Adobe Acrobat, Standard or Professional. (Note that EACH user will need to buy a copy). (And note that you cannot mix interfaces, so you won't be able to use this while displaying in the control).

  • Getting Page number for Notes

    Hi
    I am using the below methods to retreive page number of notes.
    Method 1
    var myNotes = myDocument.stories.item(k).notes.everyItem().getElements();
    Method 2
    myDocument.stories.item(k).paragraphs.item(i).notes.length;
    Wat is the best way to scan through the notes in a document. I am trying to get the page number for each note(Page on which the note is placed)
    For Method 1:
    var myFrame = myDocument.stories.item(k).textContainers[0];
    var myPage=myFrame.parent.name;
    For Method 2:
    myDocument.stories.item(k).paragraphs.item(i).parentTextFrames[0].parent.name;
    In both the cases some of the page numbers aren't displayed. Can somebody tell me is there any other way or am i doing something wrong.
    Thanks

    Footnotes have a property storyOffset, which is the location of the footnote's cue in the text. This is an insertion point, so the following line gives myFootnote's page number:
    >myFootnote.storyOffset.parentTextFrames[0].parent.name
    Peter

  • To get page number reset at instance

    Hello everyone!
    When i having tons of Sale order to print at one time(i am feeding the start NO/end NO to report), i want the page number to be reset at every instance of Sale order but not reset at the whole report as now.
    There is a repeat frame with the source of Sale order query and my page number columns in put in this frame.
    How to do this? Thanks a lot!

    You create a field (in the margin) with source Page Number. On the Page Numbering property, you set the 'Reset at' property to the order repeating frame.

  • Masking Page number in Application web link

    Hi,
    Is there any way to mask page numbe(s) in Apex Application web link.
    For example, http://<server name>/pls/apex/f?p=111 is the web address to access my Apex application and it defaults to home page, if I run this application. After that, if I navigate to any other page(example page number 200) within the application, Page number will appends to the above web-link as below
    http://<server name>/pls/apex/f?p=111:*200*:3080776628071182::NO
    Is there any way, can we mask page number/application number in application web-link.
    Appreciate your help.
    Thanks,Manik

    Hi Manik,
    The only way that I know to mask a page is to use a page alias. For example page 200 is page aliased as HOME.
    So where ever you would call pagee 200 from a application liunk you would use HOME instead of 200. I am not sure how to mask the application number. I would have to test that out.
    Cheers Mike

  • Page number problem while printing

    We are unable to get the page number while printing from SAP, we are trying to print a word document from SAP and when it prints the page numbers do not appear properly. if we save the document to the desktop and print, it prints properly.
    We print to a Xerox 7345 printer...we have loaded the exact driver, but still does not print. Can anything be done from UNIX side for this.
    the page number appear as 0/9 0/9...where it should appear as 1/9, 2/9..etc..
    Any help is highly appreciated, Hope there are some good Basis guys out here.

    Hi Aakash,
    Is it from report or SAP Script?
    Regards,
    Atish

  • Links Palette Showing for Page Number

    I can't find anything about this on these forums or in a Google search, so I'm not sure what's happening.
    We publish a dozen 300-page catalogs a year with several thousand images. Each catalog is comprised of sections. Once in a while (probably more often than not), instead of the page number on which it appears, one or more of the linked images shows < > in the page number column of the links palette. If we click on it (to show the image), nothing happens.
    Has anyone encountered this before? We're using CS4 for Windows.
    Thanks in advance,
    Lloyd

    Steve,
    I will as soon as we see one again, which shouldn't be long. We exported the section as XML from the "structure" pane then imported it as XML and those bad links were gone, which is kind of a band-aid for now. I'd like to know what's causing it, though.
    I'll attach a screen capture as soon as I can. Thanks.
    Lloyd

  • Officejet Pro 8620 cannot print without page number, date and time stamps

    I have just bought this printer and spent a few days trying to get to grips with it. I managed to solve one problem when I could not access the printing preferences by reinstalling the driver.  I cannot remove the print page number and date and time stamps from a print. Please help!        

    I have managed to solve this by changing page settings. These were oddly reset when the printer was installed.

  • Generalizing the return page number when linking to a page in another app

    Hello.
    I know how to link to a page in another app within the same workspace. However, my problem arises when the user tries to go back to the page in the first app.
    Is there a way to "generalize" the "return path". I do not want to hard-code the return page number within a "back link" element on the target page. I was wondering if there is some sort of substitution string I can use in the return http address that automatically "knows" what the returning page number is. Hope I'm making sense here.
    Thanks for any help/advice.

    Funky:
    I have tried some work but no success
    I don't know what you are asking of me. I have given detailed step-by-step instructions on how to implement what I suggested earlier on in this thread. Look at my postings on 9/13/2006. What part are you having trouble with?
    Could you be more specific?
    I'm afraid I am going to have to ask you the same question.
    if page is not submited (called through Tab)
    Apex standard tabs do submit the page and fire after-submit computations defined on the calling page before branching to the "current" page for the tab you click on.

Maybe you are looking for