To print same page twice-urgent

helo all,
i have one page in smartform ,that page i need to print twice .how to that plz urgent.point will be awarded.

Hi,
Copy the Page in the SMARTFORM and past it there then a new page created in the Smartform... it is not a goodway but this works for you
Regards
Sudheer

Similar Messages

  • Inappropriate renderings  while dynamically including the same Page twice

    Hi,
    I am including same page twice with only one backing bean. It works fine when I execute the first included page or the second included page alone. But after executing the first included page and then if I clicked second included page which comes in a modal panel I am getting inappropriate rendering of components. i reckon the form is not initialized properly though the pages are using same backing bean and JSF code. Kindly give me some valuable inputs on this regarding.
    Thanks in advance!!

    I am very Sorry BaluC!!!
    yes I am using h:messages and also reads appserver logs .My application is constant per session(per user). So I am using session scoped bean for all the pages. the page which I had mentioned here loaded twice
    1. loaded individually by clicking the link from the left navigation,
    2. Also loaded from an other page as a modal panel by clicking a button in that page.
    I have used only one jsp code and backing bean which is included using <jsp:include>.
    Here is an example code where the page is loaded from the left navigation
    Page1:
    <html>
    <body>
    <h:form>
    <jsp:include page="sample.jsp" flush="true" />
    </h:form>
    </body>
    </html>Here is an example code where the page is loaded from the modal panel of an other page
    In Page2:
    <html>
    <body>
    <h:form>
    // Codes of Page2
    *//Here I will set some values in the session and pass it to the included page(sample) on a button click and the included page is loaded in a modal panel.*
    </h:form>
    <rich:modalPanel>
    <jsp:include page="sample.jsp"  flush="true"/>
    </rich:modalPanel>
    </body>
    </html>This is the included page
    sample.jsp:
    <f:verbatim><html>
    <body> </f:verbatim>
    <f:subview id="samplePageId">
    <h:form binding="#{SampleBean.initFom}">
    // Codes of sample JSP
    </h:form>
    <f:verbatim>
    </body>
    </html>
    </f:verbatim>In the initform(HtmlForm)
    SampleBean.java
    private HtmlForm initForm;
    public HtmlForm getInitForm()
            assignPageAttributes(); // void method in the backing bean "SampleBean"
            return initForm;
    private void assignPageAttributes()
      //code to get the session values which comes from page2.jsp
    if(sessionValues != null)
        // Included page loaded in a modal panel from page2.jsp
    else
    // Included page loaded from the left navigation if the session values doesnt contains any session values
    }In this way I am binding to the form of SampleBean.java. if I used the session scope the h:form component of the included page is shared . If I used request scope means the action is not performed properly. there are the problems i am facing right now.

  • How to print same layout twice changing only one field dynamically

    I have a report which prints three pages invoice in Dollar currency, I want that same report to print those three pages again but the currency will be changed dynamically based on certain criteria. It means I three pages for Dollar and next three pages for other currency.
    Or if you can help me printing the same report twice(do not want # of copies to be set to 2).
    Please it's urgent.
    Thanks
    Kailash.

    Hi
    Distribution.
    and the pass different currency in distribution.
    Regards
    chaluve

  • Prints last page twice: HP LaserJet Pro P1102w

    My HP LaserJet Pro P1102w prints the last page of the last job as the first page of the new job every time.  The entire job prints every time (i.e that last page prints with the new job as the last page and also as the first page of the next job).  The printer is on my wireless network (WPA password).  I have tried rebooting the printer and there are no jobs shown in the print spool.  Any thoughts?  Thanks in advance for the help!

    Hello Tamaraaajq,
    Please check the following document, should help solving the descibed issue:
    Product Continuously Prints the Same Print Job After it is Installed on a Network
    Regards,
    AndOne
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"
    (Although I am employed by HP, I am speaking for myself and not for HP)

  • Link doesn't work on the same page Twice

    I have implemented a module in JSF where the page displays a datatable and one the columns is a command link which when clicked opens up a dialog box to save a CLOB from the DB as a csv on the local desktop.
    All this is working fine.
    The problem is that once the user clicks on one link in the datatable and then the user again clicks on any other link on the page or tries to use the Logout link the page is directed to the welcome page and in the logs the following exception is there.
    01/12 16:19:01 ERROR [com.common.jsf.lifecycle.FrameworkLifecycle] Exception handled for view: /restricted/reportSummary
    com.common.jsf.filter.postback.PostBackValidationException: The view id: /restricted/reportSummary does not match the previous post back view id as well as it is not in the postBackValidationExcludeList.
         at com.common.jsf.filter.postback.PostBackValidationPhaseListener.validatePostBackViewId(PostBackValidationPhaseListener.java:177)
         at com.common.jsf.filter.postback.PostBackValidationPhaseListener.afterPhase(PostBackValidationPhaseListener.java:146)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at com.common.jsf.lifecycle.FrameworkLifecycle.execute(FrameworkLifecycle.java:1123)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The jsf jsp is:
    <h:form>
        <tr:panelHeader styleClass="titleText" text="Report Summary"/>
        <tr:outputFormatted rendered="#{empty reportList}" styleClass="titleText"
                            value="No Match Found"/>
        <h:dataTable rows="31" rowClasses="oddRow,evenRow" styleClass="font_size"
                     binding="#{downloadBean.summaryBindingReport}" value="#{reportList}"
                     var="reportSummary" rendered="#{! empty reportList}">
            <h:column>
                <f:facet name="header">
                    <h:outputText styleClass="titleText" value="Date"/>
                </f:facet>
                <h:outputText value="#{reportSummary.reportDate}">
                    <f:converter converterId="customDateConverter"/>
                </h:outputText>
            </h:column>
            <h:column>
                <f:facet name="header">
                    <h:outputText styleClass="titleText columnSpace"
                                  value="File Name"/>
                </f:facet>
                <h:commandLink value="#{reportSummary.reportName}"
                               action="#{downloadBean.downloadcsv}"/>
            </h:column>
        </h:dataTable>
    </h:form>The backing bean is :
    public void downloadcsv()
        throws IOException, ServiceLocatorException, ReportServiceException
        ReportSummary selectedReportId =
          (ReportSummary) summaryBindingReport.getRowData();
        ReportContent reportObj =
          getReportService().getReportContent(selectedReportId.getReportId());
        // Prepare.
        FacesContext facesContext = FacesContext.getCurrentInstance();
        ExternalContext externalContext = facesContext.getExternalContext();
        HttpServletResponse response =
          (HttpServletResponse) externalContext.getResponse();
        BufferedInputStream input = null;
        BufferedOutputStream output = null;
        try
          // Init servlet response.
          response.reset();
          response.setContentType("plain/text");
          response.setHeader("Content-disposition",
                             "inline; filename=\"" + selectedReportId.getReportName() +
          output =
              new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
          char[] strReportContent = reportObj.getReportText();
          Utility.logMessage(Constants.SEVERITY_INFO,
                             "**** Report Content ****" +
                             String.valueOf(strReportContent), this);
          // Write the Report Content as Comma Separated values
          output.write(String.valueOf(strReportContent).getBytes(), 0,
                       strReportContent.length);
          // Finalize task.
          output.flush();
        finally
          // Close streams.
          close(output);
          close(input);
        // Inform JSF that it doesn't need to handle response.
        // This is very important, otherwise you will get the following exception in the logs:
        // java.lang.IllegalStateException: Cannot forward after response has been committed.
        facesContext.responseComplete();
      private static void close(Closeable resource)
        if (resource != null)
          try
            resource.close();
          catch (IOException e)
            e.printStackTrace();
      public void setSummaryBindingReport(HtmlDataTable summaryBinding)
        this.summaryBindingReport = summaryBinding;
      public HtmlDataTable getSummaryBindingReport()
        return summaryBindingReport;
      }

  • Using iPhoto, I am unable to print same photo (4x6) twice on a single page.

    Downloaded photos from iPhone to my MacBook Pro. I wanted to get duplicates of the photos printed but there doesn't appear to be an option to print the same photo more than once on a page. Since I had multiple photos I was able to get around the problem by selecting 2 different photos and printing 2 separate pages (i.e. 1 each on each page), but I was printing 4x6 photos so I should be able to print same photo twice on a page.
    Any help or assistance is greatly appreciated.

    Yes - when you duplicate a photo you have to delete it when you no longer want it
    Yes - Windows and OS X have many differences - as do iPhoto and other programs - pretty much safe to say that every program is unique and has its own learning curve
    You are welcome - post back as you have questions
    and as a new user you may find Terence Devlin's helpful hints useful - especially How to Access Files in iPhoto since there is a major conceptual difference between using a database like iPhoto and file based systems like most Windows systems - also Exporting From iPhoto and iPhoto and File Management
    And for using these forums this is helpful - Writing an effective Apple Support Communities question
    LN

  • Every page twice time printing needed in smartform

    Hi gurus,
    My requirement is that I need to print every page twice time like for example if I have 3 pages I need to print page 1 twice first and page 2 twice and page3 twice like wise.....
    This is preprinted format they have set up in the papare in the printer.
    I dont want print all the pages one time and one more copeis in the secod time.
    Every page twice twice.....
    Can you help me guys ......The point will rewarded if it is useful..
    Regards,
    Kumar s

    Hi,
    I have tried that option. I made 2 for that variable TDCOPIES = 2. But when you give 2 this variable which printing 2 copies like printing all pages one time ( 1 to 5) then again aprinting all pages (1 to 5).
    I dont want like that. I want print every page double time. page 1 double time , page 2 double time like wise...
    Thank you for replying me ASAP...But still haven't get the reult...
    Regards,
    Kumar s

  • Printing Single Page as 2-UP in Pages

    I have printing question. I'm attempting to print from Pages, but the issue I'm having probably applies to printing from any application in OSX.
    I want to print a single-page document, two copies per page (2-Up) from Pages. The problem seems to be with the one page-ness of the document. The print dialogue allows for 2 pages per sheet printing, but it only works if your document has more than one page. I need it to pring the same page twice per page.
    Is is possible to print this way in OSX Lion?
    Thanks.

    BMack,
    Have you thought about having a 2-page document where the second page is a duplicate of the first page?
    Jerry

  • Avoid Math.random() from looping the same number twice?

    I'm trying to play a random gallary image by making it stops at different frame every few seconds, and the actions is completely random.
    The problem is, since there are only 5 different images(5 frames) I'm displaying, there is a high probability that it stays at the same frame, how do I avoid that? Like avoid staying at the same page twice, if not run the function again....?
    setInterval(createItems,throwItems);
    var RandomImg:randomImg =new randomImg();
    RandomImg.y=100;
    RandomImg.x=180;
    RandomImg.gotoAndStop(Math.floor(Math.random()*(1+5-1))+1);//generate random value between 1-5
    addChild(RandomImg);
    Thanks

    How do I keep track of the random value, like what value should I put within the if to compare?
    I try modify it a little, and wrap it within an if(), and use preValue to track down the previous frame, am I doing it right?
    setInterval(createItems,throwItems);
    var preValue:Number;
    function createItems():void
         var RandomImg:randomImg =new randomImg();
         var randomFrame= Math.floor(Math.random()*(1+5-1))+1; //generate random value between 1-5
         RandomImg.y=100;
         RandomImg.x=180;
         RandomImg.gotoAndStop(randomFrame);
         if(preValue == randomFrame)
              RandomImg.gotoAndStop(Math.floor(Math.random()*(1+5-1))+1);
              addChild(RandomImg);
              preValue = randomFrame;
         }else
                        addChild(RandomImg);
                        preValue = randomFrame;

  • Same set of data should print twice on same page in SAP SCRIPT

    Hi Experts,
    I come across a requirement where I need same set of data in sap script should print twice as it is on same page.
    and if first page overflow, then same scenario should continue till complete data is printed. Basically main window data should print twice in two blocks on same page.
    E.g.
    If I have 10 line item which is to be printed on top window on  first page. Now I want that same 10 lines should be printed in a block below the first block. Data should flow similarly across multiple pages.
    Hope my question is pretty clear. I am expecting suitable answers from experts.
    Thanks in advance.
    Regards,
    Vijay

    Hi
    I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
    If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more. 
    Best regards
    JD

  • Can I print 2 different reports consecutively on the same page?

    I need to print two different reports on the same page. E.g.
    Page 1.
    Report 1
    Report 2
    --------------- page break ---------------
    Page 2
    Report 1
    Report 2
    --------------- page break ---------------
    Is there any way to ensure that the physical page in printer does not eject when Reports finishes printing Report # 1? Also Report # 2 could span to multiple pages, but Report # 1 will always be a fixed form report.
    Thanks for your help
    Aparna

    Hi Srini,
    I suppose I could do as you suggested, but then that would be a work around, not a solution... Actually the Report # 2 that I have can be called independently and hence if I do as you suggest, I would have to make the same report twice. Hence any other ideas?
    Thanks,
    Aparna
    null

  • When I print multiple photos on the same page,  the prints come out different.

    I have printed several copies of the same photo, 2 to a page.  The 2 copies are different.  One seems to be before adjustment and one after, so the exposure appears different. My printer is a Canon pro9000. Can anyone tell me what I am doing wrong?
    Thanks!

    If you print the photo (2 to a page) twice separately, i.e. not 2 copies of the same setup in iPhoto,  are they different?
    Try this:  in the Print menu use the PDF button and select the Save as PDF option.  Then open the file in Preview and print the 2 copies.  Do they look the same?  If not then the problem may lie with the printer not maintaining the same settings from one print to the the next.
    OT

  • How to get Report Builder to print a section on the same page

    I have a section of my report that is three bands. A header
    band, the detail band, and a total line band. Sometimes this
    section will get split up and print part on the next page. So
    basically I need for this section to print on the same page. I know
    that I could insert a page break right above the header, but this
    will make my report way longer than it needs to be. I have also
    unchecked "split allowed" for that band also but that didn't make a
    difference. Is there some way to group three bands together so that
    if it is two big to print the section on the current page then
    print the whole section on the next page. It is driving our
    accounting lady nuts because when she likes to verify that the
    totals are coming out right and sometimes she has to flip over to
    the next page to continue calculating.

    you need to create a multi-instrument in the environment next to your audio-instrument,then push a cable from there to your audio-instrument.in the arrange window your multi-instrument will appear in the window where you select the track-type next to the audio tracks, audio-busses etc. these midi tracks now trigger your vsti on the selected midi channel.you have to record your midi now on these tracks and not on the audio-instrument track,because there you only trigger its own channel. i hope i explained it well but i think you have understood what i ment.

  • Smart forms- when i print a report it print main window data on same page

    hi,
    when i print a report it print main window data on same page .
    i.e. if data is more then one page then it shows data page wise on computer screen but when i print it print all data on same only one page by over wrriting .
    pl. help why it is happening
    i create page in page i set next page and in second page give first page.
    mukesh

    mukesh,
    what happened to this: smart form
    close that please.
    by the way,did you tried with what i suggested?
    lets say mainwindow in 1st page.
    copy the first page to second page.
    now.
    for 1st page: next page is : page2
    for page2: next page is also : page2

  • How to print Header and footer in same page

    Hi All,
    I am using Oracle Report 10g. How can I add header and footer on same page as my body? Right now when a generate a pdf file, it is printing individual pages instead of 1 one page. Please help me.
    Regards

    HI
    First of all,
    Unless otherwise you selected some option like page break after/before - both body and header/footer will print on same page in report, so in pdf as well.
    If you have difference on report and PDF that you should look into your setup.
    If you want more help, please be particular on your issue
    james. wrote:
    Hi All,
    I am using Oracle Report 10g. How can I add header and footer on same page as my body? Right now when a generate a pdf file, it is printing individual pages instead of 1 one page. Please help me.
    Regards

Maybe you are looking for

  • Use time machine to backup external hard drive (not main one)

    Hi all, I've searched for information on this and getting nowhere. Not sure if it's possible, but I have two USB hard drives now as I've run out of space on my laptop. So therefore I really use one of the hard drives for my main storage and drag file

  • Some questions about using non-english characters and keyboard layouts

    I've found a lot of guides about how to enable characters in Linux, and that is easy enough, but I want to understand it better. The way that I understand it, if you don't enable a given set of characters in locale.gen, then in theory you should not

  • Configuration Settings for Postal Adress Validation and Duplicate Check

    Hi, What are The Configuration settings for Postal adress validation and Duplicate Check for Accounts(BP'S) in CRM 7.0 version Can some one send me the configuration settings for Postal Adress validation and Duplicate Check Thanks & Regards Kishor Ku

  • E-Mail reports failing after upgrading to DPM 2012 R2.

    I am trying to follow Mike Jacquet's blog post regarding fixing e-mailed reports after ugprading to DPM 2012 R2.  The link is here:  http://blogs.technet.com/b/dpm/archive/2013/12/05/attempts-to-schedule-a-mailed-report-in-dpm-2012-fail-with-reportin

  • R/3-xi-file scenario

    Hi I am a fresher learning XI. I want to establish connection between r/3 and XI. To define RFC destination using SM59 .........should I take "r/3 connection "or "logical destinatio" or "TCP/IP connectiosn" ?? And similarly during port creation using