PDF417 Barcode - Dynamic Page Number

Hi Experts,
Requirement is to code PDF417 barcode in all pages of the letter footer. Barcode data should contain page number & total page#. Number of pages can vary based on different scenarios.
Is there a way to implement this in 11.3?
(It was done in 12.2 with the help of post tran dal and field properties set to PDF417. But requirement is in an application which uses 11.3. And PDF417 is not available in 11.3 field properties.)
Thank you,
Sruthi

I figured it out thanks any way
If anyone looking for a solution for the same issue
he solution is as follows
create 3 numeric fields in the header of the table
total
counter 1
counter 2
the total is to count the number of pages of each document
in initialization event
total = total + 1 ;
the counter 1 is to make the counter of the pages from 0 to total (invisible)
in calculate event
if ( counter 1 < total ) then
counter 1 = counter 1 + 1 .
elseif( counter 1 >= total ) then
counter 1 = 1
counter 2 to show the page number of the document
in layout ready
counter 2 = 1
in calculate event
counter 2 = counter 1 + 1
Note: this is the logic with little modification create the code
Regards
Sam or Muneer

Similar Messages

  • How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.

    What do you mean by dynamically? When yo set up a 2D bar code field you specify which field name/value pairs you want to include, along with other parameters. But be aware that they won't work with Reader unless you Reader-enable the document with LiveCycle Reader Extensions and include the bar code usage right. It will work with Acrobat Standard/Pro.

  • Dynamic page number

    dynamic page number
    I am trying to print multiple documents in one report, the requirement is to reset page numbers for every document(to start counting from 1)
    I don't have control over the size of the document because it is a flow table
    I am using page conditional break to finish the document and start a new one but I couldn't change the page number.
    Plz help I am really trying to solve this for a week now.
    I am using 7.1 ADL
    thanks
    Edited by: Sami Japr on May 26, 2009 1:59 PM
    Edited by: Sami Japr on May 27, 2009 1:35 PM

    I figured it out thanks any way
    If anyone looking for a solution for the same issue
    he solution is as follows
    create 3 numeric fields in the header of the table
    total
    counter 1
    counter 2
    the total is to count the number of pages of each document
    in initialization event
    total = total + 1 ;
    the counter 1 is to make the counter of the pages from 0 to total (invisible)
    in calculate event
    if ( counter 1 < total ) then
    counter 1 = counter 1 + 1 .
    elseif( counter 1 >= total ) then
    counter 1 = 1
    counter 2 to show the page number of the document
    in layout ready
    counter 2 = 1
    in calculate event
    counter 2 = counter 1 + 1
    Note: this is the logic with little modification create the code
    Regards
    Sam or Muneer

  • Dynamic page number references?

    Is there a way to have page number references dynamic, so that they automatically update if the pagination of a publication changes?
    I've read about generating a dynamic table of contents, so I will be doing that certainly.
    But what about page references that fall outside the TOC? For example, let's say there's a parenthetical reference in the text of a publication that says something like "see page 45 for details on XYZ." Can the page number here be somehow linked to its referent? Is there some way to tag an element (a heading, for example, or a text selection, or a frame containing a graphic) and then have a page number reference linked to that tag?
    Sort of like how anchors work on the web.
    Thanks.

    Great, thanks.
    p.s. I just did a search of the forum for "cross references" and the only result I got was this thread! Odd.
    I notice from the InDesign help documentation that cross references seem to be for indexing. Not sure if that applies to my situation--for example, if you mention a particular sidebar later on in the text and want to refer the reader back to that sidebar...how would you reference the sidebar dynamically so when it changes location, the page number reference changes accordingly?

  • Page number, in a table, in footer

    Hello,
    I'm having an issue which I think might be a legitimate bug. Here's the probem:
    • I'm adding the dynamic "page number", into a table, that resides within the footer.
    • When the page number reaches double digits (10, 11, etc), the number displays as two digits, but the spacing is being treated like a single character.
    So, when you hit "10" the zero overlaps any text that comes after the number. You can add extra spaces to make up for this issue, but then the previous, single digit, pages are all messed up. They have way to much spacing now.
    I've tried everything I can think of and still can't get around this issue. Starting a brand new document, removing all formatting, etc. I'm hoping someone has run across this before and knows of a solution, or maybe an update to fix this in Pages (Fingers crossed..haha).
    Any help or comments is appreciated.
    Thanks,
    Josh

    Hi Jerry,
    I've saved a screen shot of my existing working document as well as a brand new blank document to show that it's not my styles that's causing the issue. You will notice that the "10" page number is overlapping the text that follows it. When you highlight the "10" only the "1" get's highlighted, which makes me think it's representing that number incorrectly as a single digit.

  • Dynamically use page number in form field on spawned pages?

    I have a form with spawned pages.  JS for spawning page(s) works fine.  However, one text field on template is driving me nuts.  I would like this field ("CaseNum") to dynamically display page number, since page number also corresponds to case number.  On templage ("getcase"), I can calculate value for CaseNum using custom calc script (event.value = this.PageNum).  But that doesn't work because every spawned page gets the same value (ie, whatever is last spawned page number). I also tried JS below, using P0.getcase.CaseNum as the field on the template in which I want the page number/case number to be displayed:
    var oPage = this.pageNum;
      this.getField("P" + oPage + ".getcase" + ".CaseNum").value = oPage;
    But, this doesn't work either, because the field on the spawned page automatically gets the prefix of P + page number + .getcase appended to the field name.  Is there any way to dynamically used page number in a form field on spawned pages?  If so, how? Note that while I am trying to use a dynamic case number on spawned pages, it presents the same issue as dynamically displaying page numbers on spawned pages.  I'm a JS newbie, so any help appreciated.  I've searched high and low on web and in forums and couldn't find the answer.  Thx.

    http://forums.adobe.com/thread/1160899
    7.George Johnson,
    28-Feb-2013 09:42   in reply to natelfo
    Is this what you mean?
    Also see:
    http://www.planetpdf.com/developer/article.asp?ContentID=6466
    http://www.wordwizardsinc.com/blog/finding-the-fieldname-prefix-on-acrobat-acroform-spawne d-template-pages-using-javascript-functions/

  • Include PDF page number in barcode.

    Hello,
    I am new to adobe acrobat XI pro and developing forms and have a question about barcode generation.
    I have a task to create a barcode using the 3 of 9 format on a multi page document. The barcode is made up some information describing the form and the page number. for Example, on page 1 the barcode is made up of xxx001 where xxx = form information and 001 is page 1. Page 2 barcode is xxx002, page 3 is xxx003 and so on. I understand to get the form information of xxx I would reference another field on the form, but i am not sure how to reference the page number and then combine the form information and page number into a usuable entity.  I think that i will need to use the custom calculation script section of the value tab of the barcode properties, but I am not really sure.  thanks

    A field has a "page" property. If there is only one instance of the field, the page property will be a number equal to the page number (0-based) on which it is placed, so it's custom calculation script could be:
    // Custom calculation script
    event.value = "Some data goes here" + util.printf("%03d", event.target.page + 1);
    field.page property documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.713.html

  • Is there a limit to the number of records a dynamic page query can return

    I am using a dynamic page in portal. In between the <ORACLE></ORACLE> tags I have a query that should return 4032 records. All I get on my portal page is the first 1000.
    Any ideas appreciated.

    Hi ,
    Please follow below links for your query :
    http://www.utteraccess.com/forum/lofiversion/index.php/t1991312.html
    http://answers.microsoft.com/en-us/office/forum/office_2010-access/combo-box-limitation-of-500-records-in-access-web/355c33f0-8a32-447e-ae93-ea9e040a0d5f
    http://social.technet.microsoft.com/Forums/office/en-US/baaf8988-3ead-4fd5-8ef0-880552e1f8b3/listbox-dropdown-limit-in-access-2010-form-in-sharepoint?forum=officeitproprevious
    Hope it helps . :)
    Whenever you see a reply and if you think is helpful, click &quot;Vote As Helpful&quot;! And whenever you see a reply being an answer to the question of the thread, click &quot;Mark As Answer

  • How to create a form based on table using dynamic page?

    Hi,
    I need to create a form using dynamic page. How do you pass values from the html form to a oracle procedure that will get executed on submission of the form ? I could not find any documents which shows how to do that. Can anyone please help me out with an example ?
    thanks,
    Mainak

    Hi,
    Something seems to get added to the form action because of "http". Hence I am removing it.
    You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
    table then
    Dynamic page code
    <html>
    <body>
    <form action="portalschema.insert_dept">
    <input type="text" name="p_deptno">
    <input type="text" name="p_dname">
    <input type="submit" name="p_action" value="save">
    </form>
    </body>
    </html>
    Procedure code.
    create or replace procedure insert_dept
    (p_deptno in number,
    p_dname in varchar2,
    p_action in varchar2)
    is begin
    if p_action = 'save' then
    insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
    commit;
    end if;
    end;
    grant execute on insert_dept to public;
    Hope this helps.
    Thanks,
    Sharmila

  • Calling a procedure from Dynamic Page

    I am trying to call a procedure from a dynamic page. The procedure displays multi records from a table. I have created a procedure:
    PROCEDURE process_student_request( p_primary_request in wwv_utl_api_types.vc_arr,
    p_alternate_request in wwv_utl_api_types.vc_arr,
    p_action in varchar2,
    l_status in out varchar2);
    When I hit the submit button on the dynamic page it does not execute the procedure and tries to open a new page. How do I get this to work?
    Here is the text of the page:
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <FORM action="portal30.star_portal.process_student_requests" method="post">
    <TABLE BORDER="0" WIDTH="100%" CELLPADDING="2" CELLSPACING="0" class="RegionBorder">
    <TR>
    <TD valign="top" align="left" width="40%"><FONT class="PortletText1">
    <ORACLE>declare
    row_num number := 1;
    hold_row_num number;
    hold_class_cd stars3.req.class_cd%TYPE;
    begin
    for c1 in (select A.start_yy, A.school, A.student_id, A.class_cd, B.name from stars3.course B, stars3.req A
    where A.student_id = portal30.star_portal.get_session_variable('STUDENT_ID') and A.start_yy = '01' and
    A.alternate_no = '0' and
    B.start_yy = A.start_yy and
    B.school = A.school and
    B.class_cd = A.class_cd)
    loop
    hold_class_cd := c1.class_cd;
    htp.p(lpad(to_char(row_num),2,'0'));
    htp.p('<select name="p_primary_request">');
    htp.p('<option value="' || c1.class_cd|| '">' || c1.name || '</option>');
    row_num := row_num + 1;
    htp.p('<BR>');
    end loop;
    htp.p('<input type="submit" name="p_action">');
    end;
    </ORACLE>
    </BODY>
    </FORM>
    </TD>
    </TR>
    </TABLE>
    </HTML>

    Bob,
    You have variables in your procedure like l_status, p_alternate_status which you do not have in the form. Are these IN or OUT variables ?
    If these are IN variables, this proc will not work because you do not have any variable in the form. So from where does it get the values? There is not any default declared too. You have to explicitly define IN or OUT variables.
    Have you also given execute permission to public ?

  • I have a question about extracting pages.  When I do the function, adobe saves the individual files as " file name space page number ", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a

    I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files.  It casues me problems, however, for the space to be the the file name.  Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?

    No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.

  • CASE statement in a dynamic page

    I have written a query using a CASE statement in the select portion to evaluate column values and produce a text string. The query runs fine in sql*plus, but when I attempt to add the code to a dynamic page and compile it, I get the following error message:
    ORA-06550: line 1, column 720:
    PLS-00103: Encountered the symbol "CASE" when expecting one of the following:
    ( - + mod null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table avg count current max min prior sql stddev sum variance
    execute the forall time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> (WWV-11230)
    Critical Error in wwerr_api_error.get_errors! SQL Error Message: ORA-06502:
    PL/SQL: numeric or value error: character string buffer too small (WWV-)
    I am running oracle 8.1.7.1.0 using Portal 3.0.9.8.1
    I have written a function as a workaround, but would like to know why portal does not seem to like the "CASE" statement.
    Any suggestions would be greatly appreciated.

    Hi Chetan,
    I still get an error message even when I attempt to create a small dynamic page with your cursor. The error message is posted below. I am definitely putting the cursor declaration between <ORACLE></ORACLE> tags. Any Ideas?
    Thanks,
    Dan
    ORA-06550: line 1, column 215:
    PLS-00103: Encountered the symbol "CASE" when expecting one of the following:
    ( - + mod null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table avg count current max min prior sql stddev sum variance
    execute the forall time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> (WWV-11230)
    Failed to parse as PORTAL30 - DECLARE CURSOR SPN_INMATE_INFO(V_SPN IN VARCHAR2) IS SELECT DISTINCT B.ENAME, B.ENAME||' '||B.ENAME F_NAME, B.DEPTNO, B.SAL, B.HIREDATE, B.SAL, B.EMPNO, B.HIREDATE, B.COMM, B.ENAME, CASE WHEN B.HIREDATE IS NULL THEN 'NO' WHEN B.HIREDATE IS NOT NULL AND B.SAL IS NOT NULL THEN 'NO' WHEN B.SAL IS NOT NULL AND B.HIREDATE IS NULL THEN 'YES' END RELEASED, C.DNAME, C.LOC, C.DEPTNO FROM SCOTT.EMP B, SCOTT.DEPT C WHERE C.DNAME NOT IN ('5397','6497','6498','6499','5011','42-9-44') AND C.LOC NOT IN ('M','F') AND B.ENAME != '00188547' AND B.DEPTNO = C.DEPTNO ORDER BY B.HIREDATE; BEGIN NULL; END; (WWV-08300)

  • How to get the total page number when using Crystal Report in JSP

    In my JSP, I use the class CrystalReportViewer to generate and display the report views. But this class only sypply the function to get the info of the active view.
    Thus with this info, I only can get the active view's page number. How can I get the report total page number without showing the last page first?
    Thanks.

    Anything you do without submitting to form has to be done on the client side (ususally by JavaScript) using data which has been send already from the server.
    With JavaScript you can do quite a bit. You can download tables which don't necessarilly appear on the screen, loading them into JavaScript arrays by dynamically generating javascript. Then you can pick up events like drop-box selection and use these tables to chose what you do next (e.g. preloading other fields, setting drop box content etc.).
    Or, you can cause forms to be submitted when actions like a selection happen without the user clicking a button. It's generally a matter of how much data you'd need to transmit.
    Another posibility is to use a Java applet, which can generate requests to the server and handle the results as it chooses. That are a number of problems with that but occasionally it's the best solution.
    What you can't do is to handle user input inside a JSP. The JSP has come and gone before the user even gets to see your form.

  • Form in Dynamic page not working when checkbox is used.

    I have created a form using dynamic page. The form most have display fields and a checkbox field. When I check a box, it assigns 'Y' value and when unclick, it assign 'N' to the database field.
    When I submit the form, the procedure which is supposed to save the form data never gets executed. Well, at least it says, page not found HTTP 404 error.
    Interestingly if I make this field a text box and manually enter 'Y' or 'N', and then submit the form, the procedure is executed. Data gets saved.
    Is the checkbox not supposed to be used for a database field because checkbox value can be assigned only using javascript and the procedure never get that value ?
    Can you please tell me how to use a checkbox for a database field using dynamic page ?
    thanks,
    Mainak

    Sharmila,
    When I said, the form does not get submitted, I meant that the procedure does not work. The form gets submitted but the procedure does not work. It gives HTTP 404 error. That is what perplexes me. I am unable to understand why the procedure does not work when I click a checkbox.
    May be you can make this work. I am hopeless about this.
    Here is the code for the procedure sumbit_form:
    NOTE: I ADDED TWO FIELDS CALLED PROMOT VARCHAR2(1), PROMOTID NUMBER(4) TO THE EMP TABLE AND CREATED A NEW TABLE CALLED PROMOTEMP. THIS IS A TEST CASE.
    create or replace procedure sumbit_form
    (p_empno IN portal30.wwv_utl_api_types.vc_arr, p_promot IN portal30.wwv_utl_api_types.vc_arr, p_action IN VARCHAR2)
    is
    begin
    if p_action = 'save' then
    for i in 1..p_empno.count LOOP
    update scott.promotemp
    set promot = p_promot(i)
    where empno = p_empno(i);
    END LOOP;
    end if;
    commit;
    htp.p('<b>Saved Successfully</b>');
    htp.p('<table border=1 bordercolor="red">');
    for c1 in (select * from promotemp where promot='Y')
    LOOP
    htp.p('<tr><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.sal);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    EXCEPTION
    when others then
    raise;
    end;
    Here is the code for the dynamic page.
    <HTML>
    <HEAD>
    <TITLE>Promot Emp</TITLE>
    <script language="JavaScript1.1">
    function include(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements.type == 'checkbox') {
              if (thisform.elements[i].checked) {
                   thisform.elements[i].value = 'Y'; }
              else { thisform.elements[i].value = 'N'; }
    form.submit();
    function show(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements[i].type == 'checkbox') {
              if (thisform.elements[i].value = 'Y') {
                   thisform.elements[i].checked = true; }
              else { thisform.elements[i].checked = false; }
    </script>
    </HEAD>
    <BODY>
    <FORM action="scott.sumbit_form" method="post">
    <table border=1 bordercolor="red">
    <tr>
    <td> </td>
    <td>Name</td>
    <td>Job</td>
    <td>Manager</td>
    <td>Hire Date</td>
    <td>Commission</td>
    <td>Department#</td>
    <td>Include</td>
    </tr>
    <ORACLE>declare
    i number;
    begin
    i := 0;
    for c1 in (select * from scott.promotemp where promotid = :promotid)
    loop
    htp.p('<tr><td>');
    htp.p('<input type="hidden" name="p_empno" value='||c1.empno||'>');
    htp.p('</td><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.hiredate);
    htp.p('</td><td>');
    htp.p(c1.comm);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td><td>');
    if (c1.promot = 'Y') then
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">Yes
    <OPTION VALUE="N">No
    </SELECT>');
    else
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">No
    <OPTION VALUE="Y">Yes
    </SELECT>');
    end if;
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    htp.p('<input type="submit" value="save" name="p_action">');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    thanks,
    Mainak

  • URGENT: iframe in a dynamic page. Strange Problem.

    Hi all,
    I have a typical problem.
    I created a Dynamic Page which brings out the information of a Purchase Order (PO). (PO_REPORT)
    Now the numer of items in a PO can vary from 1 to anything.... so I made a seperated report based on sql query (ITEM_DETAILS) which I can restrict to 5 records. Now I called this report using the <iframe> tag and passing the parameter value of the PO number to this report.
    Until here everything is fine.
    But the problem starts after this. I have a item code on this report (ITEM_DETAILS) which has an underlying link, clicking on which it runs the same report with an added parameter of Requisition number which again populates another iframe in the same dynamic page along with the Requistion details for that item.
    But as the Dynamic page is loaded, the ITEM_DETAILS report's first 5 items are shown again. Even if I click on the item link on the 6th item (which will come on the next page) after the dynamic page is loaded, the first page will be loaded again.
    Is there a way by which I can reach the same place after clicking on the link or if I click on the item code link only the contents of the requistion details frame are changed.
    Any help would be appreciated.
    Thanks.

    Hi all,
    I have a typical problem.
    I created a Dynamic Page which brings out the information of a Purchase Order (PO). (PO_REPORT)
    Now the numer of items in a PO can vary from 1 to anything.... so I made a seperated report based on sql query (ITEM_DETAILS) which I can restrict to 5 records. Now I called this report using the <iframe> tag and passing the parameter value of the PO number to this report.
    Until here everything is fine.
    But the problem starts after this. I have a item code on this report (ITEM_DETAILS) which has an underlying link, clicking on which it runs the same report with an added parameter of Requisition number which again populates another iframe in the same dynamic page along with the Requistion details for that item.
    But as the Dynamic page is loaded, the ITEM_DETAILS report's first 5 items are shown again. Even if I click on the item link on the 6th item (which will come on the next page) after the dynamic page is loaded, the first page will be loaded again.
    Is there a way by which I can reach the same place after clicking on the link or if I click on the item code link only the contents of the requistion details frame are changed.
    Any help would be appreciated.
    Thanks.

Maybe you are looking for

  • How to setup my airport for music streaming

    Hi all I would like to use my iPhone and or iPad to stream music from Pandora and Spotify to my 5.1 (Wired) Speakers. This question is similiar to this thread https://discussions.apple.com/thread/4153687 however i wanted some clarity and thought best

  • SUS Purchase Order Confirmation notification (or alert) is possible ?

    Hello, We work on a SRM 5 release with a classic scenario. We use the EBP-SUS supplier collaboration scenario (clients are different for SRM and SUS). The purchasing document flow is describe below: 1- SRM Shopping Cart 2- R/3 Purchase Request (then,

  • BI Post Installation /JCO Destinations

    Hi all, I am having some troubles getting the Netweaver BI functionalities to start running. We have just upgraded our BW System to Netweaver 2004s and installed an add-on Java Stack. Both the ABAP Stack and the Java Stack have the most current patch

  • Upgrade and old version are both on my mac?

    So, am I supposed to have both the CS4 and Cs6 on my mac after the install?  Is that to continue to support any thing that I created in Cs4? Or did it download incorrectly? How do I fix this?

  • Error in calling 'C'  Program from Java

    Hi, We developed a 'C' Program and during compilation, we got a couple of Incompatible Prototype warnings. Then we made a Jni call to 'C' program from Java Program. The program returned a "Unsatisfied Link Error - unreference Symbol not found" error.