Change report margins according to even or odd page number

Greetings specialist!
I have a question regarding how can i change the left and right margins of a document depending wether it's an odd or even page.
I would like to know if its possible to setup a different header and footer for odd and even pages as well.
I tried using this formula in the left margin property of the report
=IIF((Globals!PageNumber Mod 2)=0,"2,5cm","2cm")
But it doesn't allow me :(
Thank you for your time
PS: I'm using SSRS 2008

Hello Visakh16
Thanx for the help.
What do you mean by applying paging? It is not user input.
My question was whether user will decide number of rows based on which paging has to be done or is it based on some value grouping etc
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • How do I select, extract, delete, etc... only the even or odd pages?

    I have a 2000+ page document and I need to somehow select all the even or odd pages so I can pull them out of it that doesnt require me from having to click 1000 individual thumbnails.  I know how to print even or odd pages but dont see any way of just selecting them for editing

    I don't know where they are in Word but the print dialog is standard throughout OSX and this seems logical enough.
    The only problem is the Paper Handling is hidden under Layout. But sort of makes sense.
    Peter

  • Is there a way to apply a master page to even (or odd) pages in a long document?

    I'm taking a very simple, large pdf document and bringing it into InDesign to add some graphics. The pdf is actually a customized 2-page document for a large employee group (i.e. pages 1 and 2 are for employee001, pages 3 and 4 are for employee002, pages 5 and 6 are for employee003, etc.).
    I've found a script that allows me to bring in all the pages of the pdf at one time, provided I've set up the correct number of blank pages in InDesign. What I'm looking for now is a way to apply a master page to all even numbered pages at one time. Or all odd pages. Anyone have any ideas?
    Ideally, an option that would import the entire pdf document, add the appropriate number of pages to the InDesign document, and be able to assign different master pages to even and odd pages would rock! Help!

    for (var i=0;i<= PageLength-1;i++)
    var isEven = function(someNumber){
    return (someNumber%2 == 0) ? true : false;
    if(isEven(newDoc.pages.item(i).name) == true)
              //Apply Master B for right page
              newDoc.pages.item(i).appliedMaster = app.activeDocument.masterSpreads.item("B-Master");
    //Move elements by x, y position, script label ContactEmail
    newDoc.pages.item(i).pageItems.item("ContactEmail").move([0.7292, 6.011]);
    }else{
              //Apply Master A for left page
              newDoc.pages.item(i).appliedMaster = app.activeDocument.masterSpreads.item("A-Master");
    }//for Else
    }//For

  • For each loop start on odd page number

    Hy,
    I've an rtf template with a for each loop. I want to skip a page between each loop and to start each new loop on an odd page number (duplex printing). It's easy to skip a page but i don't know how to start each loop on an odd page. i've tried this before or after my for-each
    <?section:force-page-count;'end-on-even-layout'?>
    but it doesn't work for me.
    Sorry for my english
    regards

    One way of doing this is to create an object (B_1) at the end of the report and only have the object print if the current page is an odd page.
    - To force the page break, you need to set the "page break before" property against "B_1".
    - To test the page number in the format trigger use the srw.get_page_num(page_num out number) built-in function.
    You need to make sure that "B_1" is formatted after all the other objects in the layout. One way of ensuring this is to create a frame around all the other objects and make the frame variable. Any objects that come below the frame will be formatted after the variable frame.
    There is still the issue of any margin objects. Since margin objects print before any objects in the body, your margin objects will still print in the overflow page. However, this may be what you want if you're printing the page number in the margin.

  • Even and odd page break

    Hi ALL
    I have a requirement in my report there are two things location with customer details and meter reading with costing Now my req is that location details should come on odd pages and starting from page 3. For meter details should come on even pages starting from page 4 can you plz help me in this
    Regards
    Prasoon

    i did not quite get what your report structure is.
    Is it something like
    -Customer
    -- Location details
    -- Meter reading
    -Customer
    -- Location details
    -- Meter readingIf so does the customer record fill pages 1 and 2?
    Does the location details always fit on one page or could per be more data than for one page?
    Does the meter-reding details always fit on one page or could per be more data than for one page?

  • Even and Odd pages PO

    I have to create a po print on both sides.
    The odd pages have the po but the odd pages have condition terms, is there a way in xml publisher to do this.
    Can I test on page number, or can I set default text for odd pages ?
    Thanks for your help

    Do you really need bleed at the spine? Unless you are doing spiral binding, or you really have art dying into the binding, you generally don't.
    In cases where you do, it is easy to "break" a facing-pages spread into a left and right half. Disable page shuffling for the spread, then just pull it apart. See InDesignSecrets » Blog Archive » Breaking Pages Apart to Bleed Off a Spine
    There's a script reference down inthe comments from Harbs, too, that will do the entire document if you need it (I believe Daniel said earlier today that he's had trouble with the script once and had to break the spreads manually, but I've never seen another report of a problem.)

  • Duplicate buttons on even and odd pages

    I would to be able to place in Acrobat on 100 facing pages document some buttons for printing and navigating but on different positions for odd and even pages. The Duplicate command does not offer any option for it. There is any available script for it? Thanks.

    Only if user written.
    You could use the template feature of Acrobat to make 2 templates, one for the odd pages and the the other for the even pages, and then overlay the template on the appropriate pages.
    Or split the PDF into odd and even pages, apply the buttons and then recombine the PDFs.

  • Merge even and odd pages

    My printer won't do duplex scan, and I need to scan a large amount of 2-sided text. So I'm going to create one document of the odd-numbered pages, and another of the even-numbered pages. I know I can manually combine them into the right order, but I'm hoping there is some automatic way to merge the documents - one of odd-numbered pages, and one of even-numbered pages - into one document in which the pages are in the correct numerical order.
    Is there?

    Hey Seth and others:
    Thanks for the positive feedback. I found myself needing to do some collating and reversing again, and discovered that the script didn't show up in Acrobat 9. So I updated the script, and moved the menu item into the "Document" menu.
    Unfortunately I can't figure out how to attach the updated script in the new form editor, so I'll inline it. Copy the following script into a file and install it into your Javascripts folder, as before.
    // Complements: Planet PDF (http://www.planetpdf.com/)
    // Modified by Jeff Baitis for Acrobat 9 compatibility
    // Improved Collate function with status bar.
    // Add a menu item to reverse all pages in the active document
    app.addMenuItem({ cName: "Reverse", cParent: "Document", cExec: "trustedReversePages();", cEnable: "event.rc = (event.target != null);", nPos: 0 });
    app.addMenuItem({ cName: "Collate", cParent: "Document", cExec: "trustedCollatePages();", cEnable: "event.rc = (event.target != null);", nPos: 0 });
    trustedReversePages = app.trustedFunction(function()
      app.beginPriv(); // Explicitly raise privileges
      var t = app.thermometer;
      t.duration = this.numPages;
      t.begin();
      for (i = this.numPages - 1; i >= 0; i--)
        t.value = (i-this.numPages)*-1;
        this.movePage(i);
        t.text = 'Moving page ' + (i + 1);
      t.end();
      app.endPriv();
    // Collating pages
      Title: Collate Document
      Purpose: User is prompted to select document to insert/collate.
      Author: Sean Stewart, ARTS PDF, www.artspdf.com
    trustedCollatePages = app.trustedFunction(function()
      app.beginPriv(); // Explicitly raise privileges
      // create an array to use as the rect parameter in the browse for field
      var arRect = new Array();
      arRect[0] = 0;
      arRect[1] = 0;
      arRect[2] = 0;
      arRect[3] = 0;
      // create a non-visible form field to use as a browse for field
      var f = this.addField("txtFilename", "text", this.numPages - 1, arRect);
      f.delay = true;
      f.fileSelect = true;
      f.delay = false;
      // user prompted to select file to collate the open document with
      app.alert("Select the PDF file to merge with")
      // open the browse for dialog
      f.browseForFileToSubmit();
      var evenDocPath = f.value;
      var q = this.numPages;
      var t = app.thermometer;
      t.duration = q;
      t.begin();
      // insert pages from selected document into open document
      for (var i = 0; i < q; i++) {
          var j = i*2;
          this.insertPages(j, evenDocPath, i);
          t.value = i;
          t.text = 'Inserting page ' + (i+1);
      t.end();
      // remove unused field
      this.removeField("txtFilename");
      app.endPriv();
    Have fun
    Edited: Found some bugs, fixed the code up a bit

  • How can I print only 'even' or 'odd' pages in Pages version 5.1?

    Hi,
    Sorry but I was not able to see it in the detailed Print menu. Does anybody know the solution?
    Thanks

    I don't know where they are in Word but the print dialog is standard throughout OSX and this seems logical enough.
    The only problem is the Paper Handling is hidden under Layout. But sort of makes sense.
    Peter

  • Inserting a page BETWEEN all even (or odd) pages in the doc

    Hello,
    I am working on a post card.
    The mail merge has already been completed and master "A"'s have been applied to these pages  (we'll call this the back side/page).
    The other side of the postcard has been completed and resides on master "B". (we'll call this the front side/page).
    HOWEVER, now, for printing reasons, I need to insert a front side/page for every back side/page.
    Lets say I have 600 back sides, I need to insert 600 front sides to go with each of the backs.
    Manually, I would choose EACH back side/page (600 times) and click "insert page" (600 times) then apply the master "B" to each newly inserted page.  So I end up with A, B, A, B x1200 (you get the picture).
    We run into this problem often enough that we are hoping to find a faster way to go about this problem.
    Please, any suggestions?  Thanks!

    Jeffrey_Smith wrote:
    Peter, your method would certainly be easier to setup. But with some digital press, where the cost is calculated on number of impressions, as opposed to sheets, you have just doubled the click charges.
    How do you figure that? Each side of the sheet is an impression, is it not? Makes no difference to the click charges if you print all one side as a single page, multi-copy, then flip and print the second side as a multi-page single copy, but it makes a big differnce in the print time.
    Or are you using a digital press capable of printing both sides in one pass without a page flip? And does such a press count one click or two for a two-sided job?  Kind of hard to imagine a press like that wouldn't have a VDP module, too, to do this kind of job without setting up a data merge in ID.

  • Is there a script to change paragraph style based on even/odd page

    Is there a script or way to have paragraph style change between 2 styles based on the text being on an even or odd page? 

    @JustMikey – as I understand your task, the problem has nothing to do with "special" paragraph styles, but (nearly) all with anchored objects (the images and parts of the gray bar) and appropriate margin settings.
    Just see the following IDML file I exported from InDesign CS5.5:
    Dropbox - ImagesAwayFromSpine-CS5.5.zip
    ImagesAwayFromSpine-CS5.5.zip
         ImagesAwayFromSpine-CS5.5.idml
         080731_Manchester-xxl_Grau.tif
    Of course you could add paragraph styles to format the data automatically or optimize in other ways.
    That's up to you. But you can see the principle:
    Inspect the Anchored Object Options for the image and the gray bar. Also the frame fitting options for the image.
    Note: See also the margin settings, that are not exactly mirrored on even and odd pages (for good reason).
    Uwe

  • How do I "Print Booklet" with just odd pages and even pages for duplexing . . options disabled

    I have InDesign CS5.5 on a Windows 7 64-bit machine hooked to a Xerox 7750 printer.  I have created a 8.5x11 portrait document and trying to create a booklet on 12x18 sheets.
    I need to print duplex manually and so I need to print just the odd spreads and then the even spreads.
    I have printed to Adobe PDF and printed from my created PDF file and have it working, but I want to know why InDesign won't let me do it.  When I click "File > Print Booklet > Print Settings" then it shows the Print Dialog box with the Pages section, which includes the Sequence that normally would allow me to do Odd Pages or Even Pages, but it is disabled.  Why?  I can define Print Presets and I can choose Odd Pages, but when I choose that in the Preset box it does not show anything, everything is still disabled.
    Anybody have any idea of why it is disabled?  Is it my printer driver?

    I too was very frustrated after upgrading to indesign cs5.5 and the latest LION OS on my new MAC.  I missed the odd/even page selection in the print dialog box within Indesign.  I tried about everything and found little of value in various forums.  But I did find a workable solution that makes since in terms of Apple's OS.
    My objective is to "impose" my document and also end up with a file that I can just print again and again without "ripping" in the InDesign Print Booklet Dialog.
    Here is the quick version of what to do.  I am not including every little step with pictures. =)  (I can if there is interest.)
    1. create your document
    2. Print Booklet
    3. At the first dialog box, just ignore the printer in print preset (you will come back to this) and go to the 2-up perfect bound option and select 16 page signatures.  This will impose 2-up on 4 physical pieces of paper printed both sides.  So 16 of your document pages printed duplex on 4 physical sheets of paper.  It would be nice to then just select the printer and scaling, etc. and the option to print even pages, flip over and then print odd pages but that ain't an option.  If you have different needs, do the math and input the correct numbers before proceeding
    4. Click on Print Settings  to pull up a second dialog box.
    5. Select for Printer PostScript File (not your printer)  Also select for PPD your printer or Adobe PDF 9 if you have that installed.  Don't obsess on this just pick your Printer for the PPD.
    6. Select 1 copy and All Pages while in the General Tab
    7. Select the Setup Tab Here is where you put in the actual physical paper size that you are going to print your document on. Don't scale to fit.  You must do this.  If you feel the need, check out all the tabs and options but for now, you are just trying to get an output file.  You probably do want to select CENTER for page position in this same setup tab.
    8. Hit OK whcih will return you to the original dialog.  Check when you return to be sure that at the top Printer is populated with PostScript File.  Click on Print and give the thing a name and a location to save at the resulting dialog.
    Breathe as you are almost home.  You have sucessfully created a file that can be called up again and again without opening InDesign. (albeit, a postscript file but not a problem)
    Now,
    1. Double click on this new file (it will have a .ps extention) or just open it in your PREVIEW (apple supplied utility)   Preview is where you accomplish the even and odd page objective.
    2. Preview will show you a short progress dialog while it rips this postscript file into a PDF.
    3. Click on PRINT
    4. Select your printer,page range, select the Paper Size (again not document size  but  the size sheet that you are printing the 2-up , imposed (booklet) document on. If not in the selection dialog, then use the custom option to create it (custom paper size) and give it a name.
    5. Click on SCALE and insert 100% in place of the weird number that it will insert for you.  You will then see your document correctly displayed in the sidebar preview window.
    6.  OK, now what you have been waiting for. Click on the box that says Preview (the active window) and select Paper Handling from the drop-down and select from Pages to Print the coveted odd or even page selection.  You can also do other things that should have been back at the InDesign print dialog but are now gone.  Explore. Enjoy.
    7.  You will have to work out your own work flow about reverse or no reverse order and how to flip, etc. But you will be working with something predictable at this point.
    8.  Since this has been ripped into a PDF , you might as well Click on the PDF button and click on save as a PDF at this point to save that postscript to PDF rip.   Also print using PREVIEW for the newly created PDF file next time as you will not have to learn a bunch of new dialogs and be frustrated all over again.
    I am now back in business printing the book blocks for my handbound journals.

  • How do i print a table on odd pages leaving the same space in the even page

    Hi,
    I have created an RTF for Invoice Printing and the invoice will be physically printed (hard copy using printer) on both sides of the paper.
    I now have a table/section to be printed only on the first page and the second page should be printed without this header (the header should be displayed as space).
    How do i use even and odd page printing for this? I can send you the xml file and rtf file, could you please help me to achieve this?
    Thanks,
    Kesava

    Guessing here
    In the RTF the first page has whatever you were going to put on it.
    On the second page you put your invoice format/field codes etc.
    I am assuming you are using a for-each at the begining of each invoice?
    If the invoice is fixed length, then make the invoice two pages long before you finish the first for-each group.
    for-each
    page of invoice + blank page
    page break
    end for-each
    Headers and footers might get in the way.

  • 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

  • Auto Page Number Change Font or Delete?

    After translation from Word to Pages, the auto page number font causes the third digit of the page number to appear outside margin of header.  How can I change font or delete and put in new page number?

    Usually the page numbering from Word are have objects that are not selectable. That is until you have made them selectable by going  Arrange > Make background object selectable. You might need to go Format > Advanced > Make Master object selectable  too.
    Delete them and use Pages version instead, Insert > Page Number

Maybe you are looking for

  • Runtime error while doing FB08

    while doing FB08 the system is creating a dump. Runtime errors         SYNTAX_ERROR                                                              Occurred on     05.08.2008 at   12:43:14                                                                 

  • Problems when transferring supplier from ROS to EBP...

    Hi, When we transfer the bp from BBPMAININT service, we are getting the following error. Error when processing your request What has happened? The URL http://srmdev.indosat.co.id:8000/sap/bc/gui/sap/its/bbpmainint/ was not called due to an error. Not

  • Error processing calendar data (210) after installing Sec Update 2010-1

    When we were first setting up the web calendar, we had some trouble with 210 errors because the directory we were storing the calendar data in didn't have the right permissions. We reverted the data store to the default location Library/CalendarServe

  • Overwrite files twice?

    This problem just started happening today.  For some reason, Illustrator CS3 now needs to be told twice to overwrite files. Here's what happens: Select File/Save as... Dialog box comes up asking where to save the file. Navigate and select a file to o

  • HT2500 Mac mail macbook pro 10.6.8 receiving messages hear chime but no mail notification. cannot see or open

    Mac Mail. receiving messages. I hear chime. Cannot see notifications in inbox or mail icon in dock. Thus cannot open messages. Macbook pro 2009 10.6.8.