Different page number eve/odd pages pages 5.2

i am writing a thesis for my university and by formatting rules i need the pages number on even pages to be on the to(header) left and odd pages on the top(header) right. now this was super easy to do in pages 09 and before. i haven't needed that feature ever since but now i do and in pages 5.2 it seems to be impossible. as this is also a feature essential to publishing, due to the binding of the pages which makes it necessary to print them either "inside" or "outside" i cannot believe that apple has removed this feature as it would make writing documents intended for publishing in pages pointless. please help. thank you

thanks for your reply but it's the most recent version there is, or at least i assume so because there are no updates available. i wish now i would still own my old notebook because on this machine MBP late 2013 i never had and still don't have a copy of the old iWork's 08/09.
i take it from your answer that my efforts in finding a solution are futile because the formatting option i'm asking for has been removed from the code?
the only way pages lets me have different formats for even and odd pages is by either manually inserting a section break every time i reach the end of a page(as opposed to just writing in the flow) or manually numbering the pages after i have completed my work, both don't really turn me on so much as the document will end up in at least 200pages(required by my university) probably more given my research.
last option appears to be to install MS-word, which i really really really want to avoid because i am a convinced apple user for over a decade now......or maybe would you know where i can procure a copy of the old iWorks, the internet seems to only offer me questionably legal downloads.
nikolaus

Similar Messages

  • Redirect user to a different Page based on number of  Liquid output result

    I want to redirect the user to a different page based on the number of results. I have some multi-account users and single account user in my secure zone. I want single account users to be sent to a different page, while multiple account user should be shown their accounts and they user can now click the account he/she wants to access. This is my code:
    {module_data resource="customers" fields="company, email1"  where="\{'company':\{'$contains':'{{this.globals.user.email}}'\}\}" skip="0" limit="500"  version="v3" collection="companyXtra" template=""}
    {module_webapps id="21927" filter="all" collection="companyAccess" template=""}
    {% for item in companyAccess.items -%}
    {% assign counter = {{forloop.length}} -%}
    {% if globals.user.email = item.email and counter = 1 -%}
    <script>
    window.location.replace("/single-account-user.html");
    </script>
    <a class="w-inline-block szone-navlinks multiplecoy" href="{{item.url}}">
        <div class="szone-holder">
          <div class="szone-narrate addenrolee">{{item.name}}</div>
        </div>
      </a>
    {% else %}
    <p><a href="{{item.url}}">{{item.name}}</a></p>
    {% endif %}
    {% endfor %}
    </div>
    Please what I'm doing wrongly. Can someone kindly assist. Thanks.

    Hi Liam I have since been reviewing my query using the BC API Discovery which has been a good guide for me. But the result is just displaying the core customer's company, though the other company has a default email/email1 as the core customer.
    This is my new query:
    {module_data resource="customers" version="v3" fields="company" skip="0" limit="10" where="\{'email1.value':\{'$contains':'{{globals.user.email}}'\}\}" order="id" collection="myData"}
    <pre>{{myData|json}}</pre>
    This is the json:
      "moduleName": "data",
      "moduleDescriptor": {
      "templatePath": null,
      "parameters": "resource=\"customers\",version=\"v3\",fields=\"company\",skip=\"0\",limit=\"10\",where=\ "\\{'email1.value':\\{'$contains':'[email protected]'\\}\\}\",order=\"id\",collection=\"myData\"",
      "apiEndpoint": "/api/v3/data",
      "objectType": "-1",
      "objectId": "-1",
      "adminUrl": ""
      "items": [
      "company": "The vivove company Limited"
      "totalItemsCount": 1,
      "skip": 0,
      "limit": 10,
      "params": {
      "resource": "customers",
      "version": "v3",
      "fields": "company",
      "skip": "0",
      "limit": "10",
      "where": "\{'email1.value':\{'$contains':'[email protected]'\}\}",
      "order": "id",
      "collection": "myData"
    I expected to see two companies. This is screenshot of my the companies in the CRM:
    Screenshot by Lightshot
    Screenshot by Lightshot
    Thanks. most appreciated.

  • Different headers & footers on odd & even pages in Pages 5 ?

    Hello all,
    I just upgraded to Pages 5 in Mavericks.
    How can I have different headers & footers on odd & even pages ?
    For example a header containing odd numbers on the right page and even numbers on the left page.
    I looked carfully in the menus & panels but di not found how to create document for two-sided printing
    I used this function many times in Pages 09 !
    Thanks for your help
    Francois

    There are no facing pages in Pages 5.
    Peter

  • How to add two different page numbers in a single page

    How to add two different page numbers in a single page? One is for page number of the whole article, the other one is for page number for each chapter in the article.

    It's quite complicated, see
    Two Page Numbering Schemes in the Same Document.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to redirect to different page after login in APEX 4.1

    Dear All,
    Here my Requirement is,When the users login,
    when they entered their username and password and pressed login button,
    they have to redirected to different pages based on the type of user.
    Here my LOGIN_TABLE has following 3 columns,
    1.Username
    2.Password
    3.Type.
    The TYPE has 2 values, employee and admin.
    when the type is admin they should be redirected to page 2,
    reaining i.e employee users has to be redirected to page 3.
    How can I do this? please give some suggestion.
    Thank you.
    regards,
    Gurujothi

    Dear Christian,
    Thank you for your reply,
    I would like to explain something,
    When I using the following function,
    *create or replace FUNCTION custom_auth_g (
    p_username IN VARCHAR2,
    p_password IN VARCHAR2)
    RETURN BOOLEAN IS
    BEGIN
    FOR c1 IN (SELECT 1
    FROM login_table
    WHERE upper(username) = upper(p_username)
    AND upper(password) = upper(p_password))
    LOOP
    RETURN TRUE;
    END LOOP;
    RETURN FALSE;
    END;*
    When login, It checks in the login_table table and if the username is exist with the pass word it successfully entered inside the application.
    for all users only one page which we set.
    My Login_table also contains type which has 2 type as I mentined above.
    But As I mentioned earliar based on the user type it has to be redirected to 2 different page.
    I found this Package but I cant understand,Can you please Explain?
    *create or replace PACKAGE app_security_pkg
    AS
    PROCEDURE add_user
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    PROCEDURE login
    p_uname IN VARCHAR2
    ,p_password IN VARCHAR2
    ,p_session_id IN VARCHAR2
    ,p_flow_page IN VARCHAR2
    FUNCTION get_hash
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    RETURN VARCHAR2;
    PROCEDURE valid_user2
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    FUNCTION valid_user
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    RETURN BOOLEAN;
    END app_security_pkg;*
    *create or replace PACKAGE BODY app_security_pkg
    AS
    PROCEDURE login
    p_uname IN VARCHAR2
    ,p_password IN VARCHAR2
    ,p_session_id IN VARCHAR2
    ,p_flow_page IN VARCHAR2
    IS
    lv_goto_page NUMBER DEFAULT 1;
    BEGIN
    -- This logic is a demonstration of how to redirect
    -- to different pages depending on who successfully
    -- authenticates. In my example, it simply demonstrates
    -- the ADMIN user going to page 1 and all other users going
    -- to page 2. Add you own logic here to detrmin which page
    -- a user should be directed to post authentication.
    IF UPPER(p_uname) = 'ADMIN'
    THEN
    lv_goto_page := 1;
    ELSE
    lv_goto_page := 2;
    END IF;
    APEX_UTIL.SET_SESSION_STATE('FSP_AFTER_LOGIN_URL');
    wwv_flow_custom_auth_std.login
    p_uname => p_uname,
    p_password => p_password,
    p_session_id => p_session_id,
    p_flow_page => p_flow_page || ':' || lv_goto_page
    EXCEPTION
    WHEN OTHERS
    THEN
    RAISE;
    END login;
    PROCEDURE add_user
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    AS
    BEGIN
    INSERT INTO app_users (username, PASSWORD)
    VALUES (UPPER (p_username),
    get_hash (TRIM (p_username), p_password));
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    ROLLBACK;
    RAISE;
    END add_user;
    -- Function to Perform a oneway hash of the users
    -- passwords. This cannot be reversed. This exmaple
    -- is a very week hash and if been used on a production
    -- system, you may want to use a stronger hash algorithm.
    -- Read the Documentation for more info on DBMS_CRYPTO as
    -- this is the supported package from Oracle and
    -- DBMS_OBFUSCATION_TOOLKIT is now depricated.
    FUNCTION get_hash (p_username IN VARCHAR2, p_password IN VARCHAR2)
    RETURN VARCHAR2
    AS
    BEGIN
    RETURN DBMS_OBFUSCATION_TOOLKIT.md5 (
    input_string => UPPER (p_username)
    || '/'
    || UPPER (p_password));
    END get_hash;
    PROCEDURE valid_user2 (p_username IN VARCHAR2, p_password IN VARCHAR2)
    AS
    v_dummy VARCHAR2 (1);
    BEGIN
    SELECT '1'
    INTO v_dummy
    FROM app_users
    WHERE UPPER (username) = UPPER (p_username)
    AND PASSWORD = get_hash (p_username, p_password);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN raise_application_error (-20000, 'Invalid username / password.');
    END valid_user2;
    FUNCTION valid_user (p_username IN VARCHAR2, p_password IN VARCHAR2)
    RETURN BOOLEAN
    AS
    BEGIN
    valid_user2 (UPPER (p_username), p_password);
    RETURN TRUE;
    EXCEPTION
    WHEN OTHERS
    THEN RETURN FALSE;
    END valid_user;
    END app_security_pkg;*
    And you said "assign an URL to FSP_AFTER_LOGIN_URL, depending on the Type column",
    Where to assign,Could you please Explain?
    Thank you.

  • Different pages output

    for example:
    <?php
    create table testtable (
    company varchar2(6),
    order_number number(4),
    item_id number(4),
    quantity number(8),
    item_desc varchar2(16)
    insert into testtable values ('A',1001,1,10,'apple');
    insert into testtable values ('A',1001,2,20,'banana');
    insert into testtable values ('A',1002,2,50,'banana');
    insert into testtable values ('B',1002,1,30,'apple');
    insert into testtable values ('B',1003,3,60,'orange');
    insert into testtable values ('B',1004,3,50,'orange');
    commit;
    Table Test DATA
    company order_number item_id quantity item_desc
    A 1001 1 10 apple
    A 1001 2 20 banana
    A 1002 2 50 banana
    B 1002 1 30 apple
    B 1003 3 60 orange
    B 1004 3 50 orange
    $con = oci_connect("apps","apps","prod") or die("Unable to connect oracledatabase");
    $sql = "select * from testtable";
    $result = oci_parse($con,$sql);
    oci_execute($result);
    echo "<table border = 1>";
    echo "<td>COMPANY</td>";
    echo "<td>ORDER_NUMBER</td>";
    echo "<td>ITEM_ID</td>";
    echo "<td>QUANTITY</td>";
    echo "<td>ITEM_DESC</td>";
    $totalcomany = 0;
    while ($rows = oci_fetch_array($result,OCI_BOTH)) {
    if((isset($l_company) and $l_company != $rows['COMPANY']) or empty($result)) {
    echo "<tr bgcolor='#CCFFCC'>";
    echo "<td colspan= 3 align='center'>".$l_company."</td>";
    echo "<td >".$totalcomany." </td>";
    $totalcomany = 0;
    echo "<td > </td>";
    echo "</tr>";
    $l_company = $rows['COMPANY'];
    echo "<tr>";
    echo "<td>".$rows['COMPANY']."</td>";
    echo "<td>".$rows['ORDER_NUMBER']."</td>";
    echo "<td>".$rows['ITEM_ID']."</td>";
    echo "<td>".$rows['QUANTITY']."</td>";
    echo "<td>".$rows['ITEM_DESC']."</td>";
    $totalcomany = $totalcomany + $rows['QUANTITY'];
    echo "</tr>";
    echo "</table>";
    ?>
    how to make above example output in different pages ?
    thanks!

    Hi,
    I cannot believe that.
    If you really want to get good answers, you should:
    1. Do not ask the same questions in different threads.
    2. Omit those nasty answers with only "thanks a lot" as content.
    3. Avoid double postings.
    4. Do not expect ready solution.
    5. Do expect hints to work with, while working on an own solution and learn.
    6. Do not expect that everyone is reading your postings around the clock.
    Remember that it is really hard to follow a discussion, if it is fragmented into many threads, instead of having only one clear discussion thread.
    Greetings from Hamburg
    Thorsten Körner

  • Different Page sizes in the same Framemaker Document

    Is there any way in Framemaker to create different page sizes ( say A4 & A3) simultaneously, either as body pages or master pages, in a long, multi-page document ? The long pages (A3 size) will be folded and tucked inside to fit the width of the A4 size page. Is there something obvious that I am missing ?
    -appu g

    Ian,
    Whether the printer adjusts to different page sizes automatically is a function of the printer, not Frame. A number of printers that have feeds for different size sheets will automatically adjust for you, provided you select "automatic" for your page size preference.
    If the PDF is for print, then I wouldn't worry about it either -- set the file up to print with crop marks and print it on your larger sheet size.
    If the PDF is for online customer viewing, I'd probably do the same thing but without crop marks and either:
    * Use Acrobat to crop the small pages out of the larger page size. Although you can add different size pages here and there as required, that's more fiddly and time consuming than cropping sets of pages in batch mode.
    or
    * let the reader use their copy of Acrobat Reader to set the magnification setting -- the default setting is "automatic."
    Art

  • How do we print multiple components each in a different page?

    hello
    I would like to print multiple JPanels (lets say an array) each in a different page.
    The question I ask is about the following code
             printerJob.setPrintable(printTable.getInstance(), pageFormat);
                  try
                        if (printerJob.printDialog())
                             printerJob.print();
                        }

    Lets say that we have the following code. How do we modify it?
    * This example is from the book "Java Foundation Classes in a Nutshell".
    * Written by David Flanagan. Copyright (c) 1999 by O'Reilly & Associates. 
    * You may distribute this source code for non-commercial purposes only.
    * You may study, modify, and use this example for any purpose, as long as
    * this notice is retained.  Note that this example is provided "as is",
    * WITHOUT WARRANTY of any kind either expressed or implied.
    import java.awt.*;
    import java.awt.print.*;
    import java.io.*;
    import java.util.Vector;
    public class PageableText implements Pageable, Printable {
      // Constants for font name, size, style and line spacing
      public static String FONTFAMILY = "Monospaced";
      public static int FONTSIZE = 10;
      public static int FONTSTYLE = Font.PLAIN;
      public static float LINESPACEFACTOR = 1.1f;
      PageFormat format;   // The page size, margins, and orientation
      Vector lines;        // The text to be printed, broken into lines
      Font font;           // The font to print with
      int linespacing;     // How much space between lines
      int linesPerPage;    // How many lines fit on a page
      int numPages;        // How many pages required to print all lines
      int baseline = -1;   // The baseline position of the font.
      /** Create a PageableText object for a string of text */
      public PageableText(String text, PageFormat format) throws IOException {
        this(new StringReader(text), format);
      /** Create a PageableText object for a file of text */
      public PageableText(File file, PageFormat format) throws IOException {
        this(new FileReader(file), format);
      /** Create a PageableText object for a stream of text */
      public PageableText(Reader stream, PageFormat format) throws IOException {
        this.format = format;
        // First, read all the text, breaking it into lines.
        // This code ignores tabs, and does not wrap long lines.
        BufferedReader in = new BufferedReader(stream);
        lines = new Vector();
        String line;
        while((line = in.readLine()) != null)
          lines.addElement(line);
        // Create the font we will use, and compute spacing between lines
        font = new Font(FONTFAMILY, FONTSTYLE, FONTSIZE);
        linespacing = (int) (FONTSIZE * LINESPACEFACTOR);
        // Figure out how many lines per page, and how many pages
        linesPerPage = (int)Math.floor(format.getImageableHeight()/linespacing);
        numPages = (lines.size()-1)/linesPerPage + 1;
      // These are the methods of the Pageable interface.
      // Note that the getPrintable() method returns this object, which means
      // that this class must also implement the Printable interface.
      public int getNumberOfPages() { return numPages; }
      public PageFormat getPageFormat(int pagenum) { return format; }
      public Printable getPrintable(int pagenum) { return this; }
       * This is the print() method of the Printable interface.
       * It does most of the printing work.
      public int print(Graphics g, PageFormat format, int pagenum) {
        // Tell the PrinterJob if the page number is not a legal one.
        if ((pagenum < 0) | (pagenum >= numPages))
          return NO_SUCH_PAGE;
        // First time we're called, figure out the baseline for our font.
        // We couldn't do this earlier because we needed a Graphics object
        if (baseline == -1) {
          FontMetrics fm = g.getFontMetrics(font);
          baseline = fm.getAscent();
        // Clear the background to white.  This shouldn't be necessary, but is
        // required on some systems to workaround an implementation bug
        g.setColor(Color.white);
        g.fillRect((int)format.getImageableX(), (int)format.getImageableY(),
                   (int)format.getImageableWidth(),
                   (int)format.getImageableHeight());
        // Set the font and the color we will be drawing with.
        // Note that you cannot assume that black is the default color!
        g.setFont(font);
        g.setColor(Color.black);
        // Figure out which lines of text we will print on this page
        int startLine = pagenum * linesPerPage;
        int endLine = startLine + linesPerPage - 1;
        if (endLine >= lines.size())
          endLine = lines.size()-1;
        // Compute the position on the page of the first line.
        int x0 = (int) format.getImageableX();
        int y0 = (int) format.getImageableY() + baseline;
        // Loop through the lines, drawing them all to the page.
        for(int i=startLine; i <= endLine; i++) {
          // Get the line
          String line = (String)lines.elementAt(i);
          // Draw the line.
          // We use the integer version of drawString(), not the Java 2D
          // version that uses floating-point coordinates. A bug in early
          // Java2 implementations prevents the Java 2D version from working.
          if (line.length() > 0)
            g.drawString(line, x0, y0);
          // Move down the page for the next line.
          y0 += linespacing; 
        // Tell the PrinterJob that we successfully printed the page.
        return PAGE_EXISTS;
       * This is a test program that demonstrates the use of PageableText
      public static void main(String[] args) throws IOException, PrinterException {
        // Get the PrinterJob object that coordinates everything
        PrinterJob job = PrinterJob.getPrinterJob();
        // Get the default page format, then ask the user to customize it.
        PageFormat format = job.pageDialog(job.defaultPage());
        // Create PageableText object, and tell the PrinterJob about it
        job.setPageable(new PageableText(new File("file.txt"), format));
        // Ask the user to select a printer, etc., and if not canceled, print!
        if (job.printDialog())
             job.print();
    }thank you in advance

  • Can't open same pdf to different page...

    I am creating a pdf document that contains hyperlinks to open other pdf files to specific pages by adding #page=pagenumber to the end of the url.  The problem arises when I've opened a pdf with one link, then click a link to the same pdf, but with a different page number specified.  Because that pdf is already open, it will not re-open and go to the second page.  It just sits there on the first page opened in that pdf and does nothing.
    I have found ond kludgey work around - adding additional forward slashes in one of the the urls will fool the system into thinking the urls are different and the same pdf can be opened to different pages one after the other, no problem.  I'm hoping someone has a more elegent solution.  Thanks for any advice you can give.

    I tried named destinations as you suggested, but didn't work.  Thanks for the suggestion, though.  I may have found a partial fix.  I'm creating my pdf in InDesign CS5 and, on a hunch, I tried setting two button actions: Go To Next View before Go To Url.  For some reason, when I export the document to a pdf, the links will now work as I wanted.  I'm not sure why this works since, from what I read, Go To Next View should only do something if you've gone to a previous view, giving it somewhere to return to.  I'll take it, though.
    To answer your first question, the reason I want to link one pdf to multiple pages in a second pdf is that we have many large pdfs containing our company's procedures - yes, they're so large that putting them all in one file is not practical.  So, when I need to refer readers to something in another pdf, I want to have them click a link or button and the second pdf will open in a new window to the page I specified.  One link on one page might take them to the Glossary clear at the back of the other pdf, and another link might take them to the Introduction at the start of the pdf.  I'm amazed from my searching that there isn't more about this issue online.  I have found a few people who experienced the same thing, but none of them have ever solved it.  It's not just limited to buttons in pdfs, either - creating links in an HTML document has the same problem of not being able to open the same document to two different pages successively using two links.

  • Redirect to different pages based on user input value

    Hello,
    Anyone please help.
    I am trying to redirect to different pages based on user inputs. I have a form in which I have one text item and a submit button. For example consider text item to be empno; So once the user enters a empno and hits submit button; I need to redirect to different pages based on this job.
    For Ex: if user inputs empno whose job is 'ANALYST' then redirect to page 1
    if user inputs empno whose job is 'MANAGER' then redirect to page 10
    For this scenario. i wrote a pl/sql process for the submit button; but no luck -- its not at all redirecting instead its in the same page. Below is the process.
    declare
    v_job varchar2(20);
    begin
    select job into v_job from emp where empno = :P9_EMPNO_R;
    if v_job = 'ANALYST' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:1:&SESSION.::&DEBUG.::', TRUE);
    end if;
    if v_job = 'MANAGER' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:10:&SESSION.::&DEBUG.::', TRUE);
    end if;
    end;Please help. I am using Oracle APEX version 4.2 and database Oracle 11g R2
    Thanks,
    Orton

    orton607 wrote:
    Hello,
    Anyone please help.
    I am trying to redirect to different pages based on user inputs. I have a form in which I have one text item and a submit button. For example consider text item to be empno; So once the user enters a empno and hits submit button; I need to redirect to different pages based on this job.
    For Ex: if user inputs empno whose job is 'ANALYST' then redirect to page 1
    if user inputs empno whose job is 'MANAGER' then redirect to page 10
    For this scenario. i wrote a pl/sql process for the submit button; but no luck -- its not at all redirecting instead its in the same page. Below is the process.
    declare
    v_job varchar2(20);
    begin
    select job into v_job from emp where empno = :P9_EMPNO_R;
    if v_job = 'ANALYST' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:1:&SESSION.::&DEBUG.::', TRUE);
    end if;
    if v_job = 'MANAGER' then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:10:&SESSION.::&DEBUG.::', TRUE);
    end if;
    end;Please help. I am using Oracle APEX version 4.2 and database Oracle 11g R2
    Thanks,
    OrtonI have a similar scenario in my application and this is how I handle it.
    1. Create a page item on the page, say Px_PAGE_NUM
    2. Create a "On Submit - After Computations and Validations" page process to set the above page item. In your case, you can use the same logic that you have already in place (except the call to OWA_UTIL.REDIRECT_URL) :
    declare
    v_job varchar2(20);
    begin
    select job into v_job from emp where empno = :P9_EMPNO_R;
    if v_job = 'ANALYST' then
       :Px_PAGE_NUM := '1';
    end if;
    if v_job = 'MANAGER' then
       :Px_PAGE_NUM := '10';
    end if;
    end;3. Create a "On Submit: After processing" branch. Specify the "Target Type" as "Page in the application" and "Page Number" as &Px_PAGE_NUM. (with the dot).
    I hope the above helps.
    BTW, the following thread in the forum related to OWA_UTIL.REDIRECT_URL might help:
    issue OWA_UTIL.REDIRECT_URL with APEX 4.1.1

  • Error message when moving to a different page

    Post Author: EvDev
    CA Forum: .NET
    I have an ASP.NET 2.0 and Crystal Reports 11.5 project that works fine
    when it's being debugged and when it's on our test server, but when we move it
    to our production server the user will receive an error message when moving to a
    different page of the report.  It's an
    "Object reference not set to an instance of an object".  It seems very
    odd for me for something to work on the test server but not on production.   Has
    anyone seen this before?  Thanks

    Hi there,
    This does seem like a very valid process to be sure
    I'm guessing that the fix is shown in "Solution 1" in this doc;
    http://www.cisco.com/en/US/partner/products/sw/voicesw/ps556/products_tech_note09186a0080b04158.shtml
    Cheers!
    Rob

  • DIFFERENT PAGE FORMATS

    Hi All.
    i have an issue in the form printing.
    In  my form I have to pages.
    I want the first page in Potroit format and second one in Landscape.
    for this requirement,how to deal in Scripts and in Smart forms.
    Can any body help me to solve this issue,.
    Thanks in advance,
    regards,
    eswar

    With onli one form u cannot achieve this.. but u need to have two same forms .. one with Landscape orientation.. and second with Portrait orientation...
    ( Otherwise u can go for the SMARTFORMS , with smartforms u can achieve this in a single form )
    There is a way to have first page in landscape and second page in portrait.
    Use
    START_FORM
    END_FORM
    twice one form in each having different page setting(like landscape....)
    See this code:
    REPORT ZTEST_LANDSCAPE.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    APPLICATION = 'TX'
    ARCHIVE_INDEX =
    ARCHIVE_PARAMS =
    DEVICE = 'PRINTER'
    DIALOG = 'X'
    FORM = 'ZTEST_02'
    LANGUAGE = SY-LANGU
    OPTIONS =
    MAIL_SENDER =
    MAIL_RECIPIENT =
    MAIL_APPL_OBJECT =
    RAW_DATA_INTERFACE = '*'
    SPONUMIV =
    IMPORTING
    LANGUAGE =
    NEW_ARCHIVE_PARAMS =
    RESULT =
    EXCEPTIONS
    CANCELED = 1
    DEVICE = 2
    FORM = 3
    OPTIONS = 4
    UNCLOSED = 5
    MAIL_OPTIONS = 6
    ARCHIVE_ERROR = 7
    INVALID_FAX_NUMBER = 8
    MORE_PARAMS_NEEDED_IN_BATCH = 9
    SPOOL_ERROR = 10
    CODEPAGE = 11
    OTHERS = 12
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'START_FORM'
    EXPORTING
    ARCHIVE_INDEX =
    FORM = 'ZTEST_02'
    LANGUAGE = ' '
    STARTPAGE = ' ' <b><u>(*** u can use this option to start printing from the second page )</u></b>
    PROGRAM = ' '
    MAIL_APPL_OBJECT =
    IMPORTING
    LANGUAGE =
    EXCEPTIONS
    FORM = 1
    FORMAT = 2
    UNENDED = 3
    UNOPENED = 4
    UNUSED = 5
    SPOOL_ERROR = 6
    CODEPAGE = 7
    OTHERS = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'DATA1'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    IMPORTING
    PENDING_LINES =
    EXCEPTIONS
    ELEMENT = 1
    FUNCTION = 2
    TYPE = 3
    UNOPENED = 4
    UNSTARTED = 5
    WINDOW = 6
    BAD_PAGEFORMAT_FOR_PRINT = 7
    SPOOL_ERROR = 8
    CODEPAGE = 9
    OTHERS = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'DATA2'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    IMPORTING
    PENDING_LINES =
    EXCEPTIONS
    ELEMENT = 1
    FUNCTION = 2
    TYPE = 3
    UNOPENED = 4
    UNSTARTED = 5
    WINDOW = 6
    BAD_PAGEFORMAT_FOR_PRINT = 7
    SPOOL_ERROR = 8
    CODEPAGE = 9
    OTHERS = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'END_FORM'
    IMPORTING
    RESULT =
    EXCEPTIONS
    UNOPENED = 1
    BAD_PAGEFORMAT_FOR_PRINT = 2
    SPOOL_ERROR = 3
    CODEPAGE = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'START_FORM'
    EXPORTING
    ARCHIVE_INDEX =
    FORM = 'ZTEST_03'
    LANGUAGE = ' '
    STARTPAGE = ' '
    PROGRAM = ' '
    MAIL_APPL_OBJECT =
    IMPORTING
    LANGUAGE =
    EXCEPTIONS
    FORM = 1
    FORMAT = 2
    UNENDED = 3
    UNOPENED = 4
    UNUSED = 5
    SPOOL_ERROR = 6
    CODEPAGE = 7
    OTHERS = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'DATA2'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    IMPORTING
    PENDING_LINES =
    EXCEPTIONS
    ELEMENT = 1
    FUNCTION = 2
    TYPE = 3
    UNOPENED = 4
    UNSTARTED = 5
    WINDOW = 6
    BAD_PAGEFORMAT_FOR_PRINT = 7
    SPOOL_ERROR = 8
    CODEPAGE = 9
    OTHERS = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'END_FORM'
    IMPORTING
    RESULT =
    EXCEPTIONS
    UNOPENED = 1
    BAD_PAGEFORMAT_FOR_PRINT = 2
    SPOOL_ERROR = 3
    CODEPAGE = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT =
    RDI_RESULT =
    TABLES
    OTFDATA =
    EXCEPTIONS
    UNOPENED = 1
    BAD_PAGEFORMAT_FOR_PRINT = 2
    SEND_ERROR = 3
    SPOOL_ERROR = 4
    CODEPAGE = 5
    OTHERS = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    <b>reward if it helps u..
    sai ramesh</b>

  • !Format event, Global fields & different pages

    Hi, very new to Output Designer and having a couple of head scratching moments with something I've been asked to do.
    I have a requirement to show or not show a barcode dependant on the initial chartacter of an order number. However, the order number and barcode are on different pages. I changed the order number on page 1 to be a global field, but when I go into the !Format event for the barcode field on page 10 it doesn't show up in the globals fields list.
    As a way of testing I put the following code in the format event of another field on page 10, the barcode field page.
    @(If ("@(Substr ("@ORDER_NUMBER.", 1, 1))" == "R", "R", "NOT R"))
    This wouldn't work as it interperates "@ORDER_NUMBER." as a literal string value of @ORDER_NUMBER. and not a global field.
    So, I suppose my question is - Is it possible for a field on one page of a form know what the value of a field on another page is?
    All the best
    Chris

    I believe that if a field is defined as global
    b in the data file
    then it should be able to be referenced on any page. It shouldn't matter what page actually
    b prints
    the field. Effectively, all the global items in the data file are loaded into a "dictionary" and are available for reference anywhere within the form. Unfortunately, the field list provided for the !format event only shows the fields on that page, not all the fields in the form.
    If @ORDER_NUMBER. (as a literal) is what the instruction operates against then the field "ORDER_NUMBER" doesn't exist in the data file. At least that is what some recent testing tells me.

  • Is it possible to have different fields go to different pages?

    I have 6 fields that will serve to search records a button either hidden or not will then be called to branch to that page only if there are more than 1 records. Otherwise it will display the results on the same page, populating those fields that match the exact criteria. I'm guessing I need a process first to find out if there are more than 1 records found. Is it possible then to go to a different page from the process then select the record and return the values to the previous page. I was using LOV for this but the user doesn't want to do it this way. They want to enter as many values they think they need to find the records and display the results in a column based report.
    Now the user will then continue entering some other values in other fields and then submit the page. Submit saves the data into a table. Of course the user wants to use the mouse as little as possible and magically the application will go to the right place depending on the field where the enter key is pressed.
    Does anyone have done something like this?
    Could you give me some pointers?
    I really appreciate any help you could provide.
    Thanks
    juan

    Hi Juan,
    If you use a Text Field (always submits page when Enter pressed) field you will see that it calls a submitEnter() javascript function.
    This function is:
    function submitEnter(itemObj,e){
    var keycode;
    if (window.event) keycode = window.event.keyCode;
    else if (e) keycode = e.which;
    else return true;
    if (keycode == 13){
    doSubmit(itemObj.id);
    return false;
    }else{
    return true;
    You could create your own function that sets the value of a hidden page item (say, P1_PAGE) and then calls the submitEnter() function. Or, you create a replacement to the submitEnter() function to do both. You would need to use a normal Text Field item and add a call to your function by adding onkeypress="return yourfunction('Page', this, event) into the HTML Form Element Attributes for your item.
    Then, when the page is submitted, the branch should be to &P1_PAGE. instead of a number. P1_PAGE should have a default value to ensure that there is always a page to go to in the branch.
    Regards
    Andy

  • Details of Each Vendor on Different Page

    Dear Experts,
    I have to develop a smartform in which I have to display Details of different vendors
    each on New Page.
    Vendor numbers are passed from driver program Selection Screen.
    Each page dispays Vendor Name and Address in Secondary Windows and List of Purchase
    Order Details for each Vendor in a Main Window.
    I want to have page break as new vendor number is encountered to display it in next/different Page.
    can anyone pls. tell how will it be done.
    Thanks.
    Regards
    Tanu

    Hi tanu,
    It is possible.its not a Big issue . Tell me you have to print only the Details of Vendor .
    For mulltiple vendors , You have to define the condition in smartforms.
    At the end of Secondary Window Rigth click on that Creat->flow Logic->Command->
    In general attribute tick Go to new page and select the same. and at the same time write in condition when new dealer comes.
    Hope it will solve ur problem.
    Please confirm.
    if not solve .
    Edited by: Supriya  Bhatt on Jul 4, 2009 3:55 PM
    Edited by: Supriya  Bhatt on Jul 4, 2009 4:13 PM

Maybe you are looking for

  • IPod cannot be synced because all of the playlists selected for syncing...

    no longer exist. My ipod could not hold all of the songs that I had on itunes...and after I deleted a playlist, this keeps popping up and i do not know how to fix it.   Windows 2000  

  • CDC synchronization - how to make it perform

    For synchronization between a transactional database and a data warehouse we've been using synchronous CDC. Performance is still somewhat an issue. The situation is as follows (simplified): EMP table. This is a large table (40 million + records) with

  • Wage type missing on remuneration statement

    Hello Experts, We made a bonus pay on Jan. through off-cycle payroll. On the remuneration statement we can not see this wage type. But we know it has been created because the Annual gross cumulation is correct. Does any one know in which table the wa

  • Mac screen shots are pink

    Recently screen shots I take are covered in pink. Not all of them, just when I use the shift-cmd-4 to capture a portion of the screen. It will print pink also. There may be something else going on too. Sometimes when I view pictures on FaceBook, they

  • BAPI_GET_PAYSLIP_HTML error when called as webservice

    Greetings I'm calling BAPI_GET_PAYSLIP_HTML as a webservice to make payslips available via web browser but it returns no output. I 've tested the same bapi in se37 with the same parameters and we get the desired return. The problems isn't either with