Reseting page number in Word RTF template for BI Publisher PDF generation

Hi!
Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
Page numbers are in footer in format
curr_group_page/total_group_pages
where:
curr_group_page is current page number in group (defined with BILLS.ID field),
total_group_pages is total page number of pages in group (defined with BILLS.ID field).
I need to reset numbering whenever BILLS.ID (group) change.
Example:
ID=1 (4 pages)
1/4, 2/4, 3/4, 4/4
ID=2 (1 pages)
1/1
ID=3 (2 pages)
1/2, 2/2
ID=4 (3 pages)
1/3, 2/3, 3/3
etc.
How to achieve that kind of numbering?
Any help appreciated.
Regards,
Damir Vadas
Edited by: Damir Vadas on May 16, 2011 12:49 PM

Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
Thank you,
Tony Miller
Webster, TX
You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
If this question is answered, please mark the thread as closed and assign points where earned..

Similar Messages

  • Creating Parameters in RTF Template for BI Publisher Report

    hi,
    I have created Parameters in my BI Publisher Report and in SQL query. But i need to create same parameters in RTF Template , so that when i publish this report in dashboard , parameters will be visible. Can you please tell me how to create Parameters in RTF Template for BI Publisher Report ? I am not finding option. Please let me know .
    Thanks in advance
    Gayathri.

    all the parameter's value will be there in your xml .
    just you need to add parameter heading and corresponding xml tag name to get the parameter value on the report.
    if u dont have you can try like below
    https://blogs.oracle.com/xmlpublisher/entry/get_your_parameters_here_guv
    Declare Parameter in RTF Template
    Before you use the parameter in the RTF template file you need to declare it first. You can do so by having the following syntax.
    <?param@begin:%parameter_name%?>
    Note: where %parameter_name% is the parameter name that you have created at the BI Publisher Server UI.
    Here is an example:
    <?param@begin:param1?>
    Use it in RTF Template!
    Once it’s declared in the RTF template you can start using it as the same way you use the variable. You need to just add ‘$’ prefix in front of the parameter name. Here is the example:
    <?$param1?>
    The above example would print the parameter value in the report output. If you want to use this value in your condition or calculation you can simply use it as ‘$param1’. Yes, it’s that simple.
    If you are not sure if and how the parameter values are passed to the report when you run the report you can use this command in your RTF template, which will return all the parameter values passed to the RTF template at the runtime.
    <?xdoxslt:getXDOProperties($_XDOCTX)?>
    http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html

  • Excel's Freeze Pane Property  in RTF template for XML Publisher Report

    Hi all,
    I have created RTF template and it's output type is Excel.
    I want to apply Freeze Pane Property of Excel in rtf template so that it can be applied to Excel Output.
    Please let me know any information regarding this.
    ta,
    P

    I am looking for the same functionality. Did you ever got answer for this?

  • Freeze Pane Property of Excel in RTF template for XML Publisher Report

    Hi all,
    I have created RTF template and it's output type is Excel.
    I want to apply Freeze Pane Property of Excel in rtf template so that it can be applied to Excel Output.
    Please let me know any information regarding this ASAP.
    Thanks,
    P.A.

    This is the Oracle Reports forum. Better post this in the BI Publisher forum.

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • Fix Cheque position in RTF Templates for AP Payments R12

    Hi,
    I created rtf template for check printing. I have to print invoices details first and after that check at the bottom of the page. I need to print invoices on the cheque page only when total invoice count < = 3 which I am able to control. I am facing issue when for 3 invoices the table height is variable, depends on invoice description this table size is changing. How I can give the fixed-height for invoice table or how I can specify exact place for check (at the bottom of each page )
    Thanks
    Mital

    Hi Prakhar,
    Please note the cheque is not an image its in a table.
    Even if I fix a table using table positioning in the output it doesnot print at the fixed position which I have provided in my RTF.
    Please let me know if you would want to see the sample XML Data and RTF that I have created which can be easier to debug.
    Thanks for your help,
    Mital

  • New RTF Template for Quote Print

    Hi,
    Oracle has provided only XSL Template for Quote Printing. Since Client needs his own format of Quote Printing, Can we create a new Customized RTF template for Quote Printing? or Is there any easy way to do customize the XSL Template?
    Pls advise..
    Thanks in advance,
    Regards,
    Muru
    Message was edited by:
    Muru

    Hi Miru,
    I need ur help.I am working on the same customization of xsl template.can u please guide me through how to work with this.
    I need to customize print quote report
    Can u please tell me the link/steps how to customize the jsp form to replace the standard CP with custom one
    Secondaly,which one option is better ,creating a new rtf/modifying the existing xsl
    and how ?as i dont have any idea about xsl.but i know creatig rtf's
    Please guide me thru.
    Thanks a ton in advance
    kaur

  • How to make a RTF-Template for the Bill Presentment Architecture (BPA)

    Hallo,
    I search a way to make an external RTF-template for the Oracle Receivables Balance Forward - Detail report in the Bill Presentment Architecture (BPA).
    I've never done that.
    I don't know how to get a XML-file of this request to use for the creation of the RTF-file.
    And so I don't know how to specify in the RTF the LOOPs for the Lines and other If-conditions and so on.
    Can anybody help me?
    Thanks.
    Edited by: user2609890 on 23.06.2009 01:25

    HI,
    Can you please help me in finding XML output for Invoice Print BPA Child Program. I have tried changing the output format to XML but no luck. If you can send me any suggestion to my email address [email protected] would be very helpful.
    Also, Did you try adding any conditional formatting (eg. <?if:column_name='value'?>) in RTF template? is it working?
    Any help is appreciated.
    Thanks
    Deepak

  • Unable to establish a for loop in custom rtf template for seeded xml file

    Hi Experts ,
    I am Unable to establish a for loop in custom rtf template for seeded xml file. i am using <?:for-each:G_BSALINE?> FORM FIELD .....<?:FOR-EACH?END> .AM i missing something?
    Please help.
    Thanks

    Hi,
    Need more information about your XML data structure; however based on the code you provided, the synax does not look right; you have some colon sign where it is not needed etc... You could use the following (although not quite sure if you want to use Form Filed to group by or just display), but look at the example provided below.
    <?for-each-group:G_BSALINE?> FORM FIELD .....<?end for-each-group?>
    Example code:
    <?for-each-group:G_INVOICE_NUM;./INV_TYPE?>
    xxxxxxxxxx
    <?end for-each-group?>
    Thanks!

  • How to migrate rtf Templates in XML Publisher ?

    Hi All,
    I want the script so that i can download and upload the RTF files directly from my development instance to my production instance.
    For this i have come across 3 links
    How to migrate rtf Templates in XML Publisher?
    http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120xdoig.pdf
    unable to migrate physical files using XDO Loader utility
    and from here i am running this command from /home/aryan directory
    java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD fnd -JDBC_CONNECTION sharp.apps.com:1522:tst1 -LOB_TYPE TEMPLATE -APPS_SHORT_NAME CUSTOM -LOB_CODE ZEMP -LANGUAGE en -TERRITORY US
    but it is giving me error "ksh: java: not found". could anyone can tell me how and from where i have to run the download and upload command
    Thanks
    Aryan

    Hi Hussein,
    I tried with applmgr also and still for java -version it is giving me error ksh Java not found
    and for which java it is giving me error no java found in different directories path.
    Thanks
    Aryan

  • How Can I apply a RTF Function on a variable in RTF Template in XML Publisher Report

    Hi Everyone,
    I am developing a RTF Template of XML Publisher Report, I have a variable lv_counter which I can declare using below syntax
    <?xdoxslt: set_variable($_XDOCTX, 'lv_counter',0)?>
    I can access this variable in the template as <?xdoxslt: get_variable($_XDOCTX,'lv_counter')?>
    My need is to print the variable in words in the RTF Template. I am using <?xdofx: to_check_number(xdoxslt: get_variable($_XDOCTX,'lv_counter'))?>
    But this is not working. any help will be appreciated thanks in advance
    The XML Publisher Desktop version which I am using is 10.1.3.3.0
    Please let me know where I can post this question, if this is not the appropriate discussion forum.
    Thanks in Advance.

    Hi,
    Can you elaborate your requirement little bit clear with some example like what is your expected output.
    And you can post you BI related question in the BI publisher forum
    https://forums.oracle.com/community/developer/english/business_intelligence/business_intelligence_foundation/bi_publisher/content?filterID=contentstatus[published]~objecttype~objecttype[thread]
    Regards
    Sri

  • How to display no data found in RTF template ? XML Publisher

    Hi
       I have xml file, how to display no data found in RTF template ? XML Publisher ?
    This is the XML File
    <?xml version="1.0" encoding="UTF-8"?>
    <INVALIDSERIALPRODUCT>
    <P_ORG_CODE></P_ORG_CODE><P_DATE_RANGE_FROM></P_DATE_RANGE_FROM><P_DATE_RANGE_TO></P_DATE_RANGE_TO><P_ITEM_NUMBER>VIR</P_ITEM_NUMBER><P_LOT_NUMBER></P_LOT_NUMBER><P_RMA_NUMBER_FROM></P_RMA_NUMBER_FROM><P_RMA_NUMBER_TO></P_RMA_NUMBER_TO><P_CUSTOMER_NAME></P_CUSTOMER_NAME><P_EMAIL></P_EMAIL>
    <G_SNQ>
    <USER_NAME>NSAWHNEY</USER_NAME>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:52:23.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000016</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:53:06.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>011000000011</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:09:16.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number does not exist in Axway Track-n-Trace</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000021</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:11:09.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:46:04.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T07:08:21.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>00000000004 </SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T07:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Unknow Error </REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000011</SERIAL_NUMBER>
    <RMA_NUMBER>8200000101</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T19:32:00.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000107</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-14T02:49:40.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000092</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-14T07:52:22.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000031</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T02:24:27.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000034</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T02:30:28.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Catchall fault scope has been executed</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000010</SERIAL_NUMBER>
    <RMA_NUMBER>8200000114</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T03:36:18.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000158</SERIAL_NUMBER>
    <RMA_NUMBER>8200000114</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T04:19:48.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    </G_SNQ>
    </INVALIDSERIALPRODUCT>
    thanks
    nks

    This is the General XML forum.
    The homepage description says :
    Discussion of the general XML language, standards (XSLT, XQuery, XMLSchema, etc.) and application management issues, suggestions and tips.
    The BI Publisher forum is here :BI Publisher
    So please mark this post as answered and ask again over there.

  • Reset Page Number for each Group

    I am currently creating a RTF template using XMLP 5.0
    My demanding boss gets back in town in five days, and he expects
    this report to be ready for production. :)
    But I haven't been able to figure out one last spec.
    The page number needs to be reset for each group.
    So for example, the total report is about 83 pages.
    In my RDF file (from Oracle Apps), I am grouping by a DEPT field.
    In my RTF template, I am page breaking on each DEPT.
    The page numbering should also be reset to 1 on each DEPT break.
    The reason for this, is that the report will be printed, then separated by DEPT.
    This way, each DEPT in the plant can receive their own individual report.
    Is there anyway to do this using XMLP 5.0?
    We would be willing to upgrade our XMLP,
    if this functionality is available in a later version.
    Thanks in advance.
    Mark K

    Hi Mark
    Yep, you can do this, you can even do it in 5.0 :o)
    For some reason it did not make the user doc in 5.0 ... an Easter egg if you like.
    So I'd recommend getting the 5.5 or later docs and using that for reference. Just search for "About Oracle XML Publisher Release 5.5" on metalink once you have that doc search it for "Oracle XML Publisher User's Guide" its a link to the PDF document.
    Then check pg 86/290 - Advanced Report Layouts > Batch Reports for details. This approach will work for 5.5. If you would like a sample then if you have installed the template builder there is an Advanced > Repeating Headers folder inwhich you will find an example.
    Regards, Tim

  • Reset page number to '1 ' for each box of packing list in sap script

    hi Gurus,
    I am running a packing list for delivery note . Many boxes spread across more than one page. I Need to print page number in Packing list for each box like 1 of 2 , 2 of 2. In the new page for next box , I need to print 1 of 1, 2 of 2. and goes on.
    can you suggest a method to achieve this in script.
    thanks,
    manoj

    Hi,
    Could you give me the reply for following question?
    1. Are the boxes changing depends on the data? or static size? How many boxes would be displayed in a page?
    2. Is it your own driver program / standard one?
    3. Suppose if you have 5 pages and having 10 boxes, 2 boxes for each page, then do you need to display like,
    >1 of 1 on 1st box on 1st page
    >2 of 1 on 2nd box on 1st page
    >1 of 2 on 1st box on 2nd page
    >2 of 2 on 2nd box on 2nd page
    >....
    Is it so?
    Once i get these details then I will let u know the way....:)

  • Resetting Header and Footer in RTF templates

    Hi,
    I developed an RTF template (template 1). This template contains start:body and end body for printing the header and footer in all pages. After printing this template then i have to call another template(template 2) from this. I called the template (template 2) using call statement. But the probelm is that the header and footer of template1 is printed in the output of template2 .
    I dont want to print this header and footer for template 2. Can anyone please suggest me in doing this. I placed start:body and end body in the second template with the assumption that 1st template's header and footer will be overwritten. But if i preview then am getting the error
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\kpoda\Desktop\Invoice Printing Efficiencies\Sample XML Data\Sample Output4.xml
    FOProcessor setLocale: en-us
    each
    Please sugget.
    Thanks

    Hi,
    Do you have two templates (template1 & template2) that you want to display in the same document where the pages for template1 has one set of header and footers; and template2 has another set of header and footer?
    If that is the case you can simply create a new section in your rtf template so you have section1 and section2.
    In the body of section1 you call template1 and template2 in the body of section2.
    You can then have different header and footers for the two templates in the same document.
    BR Kenneth

Maybe you are looking for