Setting width and margins different on first page

11 posts, 0 answers
  1. Eugene
    Eugene avatar
    20 posts
    Member since:
    Jun 2008

    Posted 01 Feb 2010 Link to this post

    Hi,

    I am trying to generate a invoice based on the client's letterhead. Their letterhead is not just the top of the page but also on the left side of the first page which means that the margin on the first page left side is bigger than the subsequent pages something like 2 inches. My question is how can I go about it using Telerik Reporting to achieve this. In my invoice is the normal address, customer name and title after the top part of the letterhead follow with the invoice items and amount list. For the first page will definitely include some of the invoice items. The amount column I will want to keep its size the same and the item column will change for the first page only. Since the letterhead also involves the left side of the first page, the item column left side will have to shrink on the left side. But after the first page, the margin on the right needs to be back to normal which for my case is 1/2 inches.

    Any advice on how Telerik Reporting can help me achieve this on whether it can help me on this is much appreciated. Thanks.

    Regards,
    Eugene
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 02 Feb 2010 Link to this post

    Hello Eugene,

    The PageSettings section is applicable for the whole report and cannot be changed for specific page only. Your only option is to create your layout in such a manner that the letterhead would be bigger and on the left, while your actual invoice content is indent.

    Best wishes,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Rainford
    Rainford avatar
    7 posts
    Member since:
    Aug 2012

    Posted 12 May 2011 Link to this post

    Hi.
    I have some problem with report printing.
    In Page Settings margins: left 1,5 - cm,right - 1,5 cm. The page type - A4. The preview show's correctly margins. But when the reports is printed,
    we have a margins: left 0,5 cm, rigt is near the 2 cm.
    Help me please

  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 16 May 2011 Link to this post

    Hi Rainford,

    We would appreciate if you share which version of Telerik Reporting you're using and how you print the report.

    Kind regards,
    Steve
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Rainford
    Rainford avatar
    7 posts
    Member since:
    Aug 2012

    Posted 30 May 2011 Link to this post

    01159Telerik_Reporting_5_0_11_328_DEV

  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 30 May 2011 Link to this post

    Hello Rainford,

    There was a similar problem in the Silverlight viewer when using the native print functionality. This has been addressed in the Q1 2011 SP1 release, namely "Fixed: Page Margins are not respected in Silverlight Native Print". If this is not the case, please elaborate on the project type and how you print the report. The fastest way to get to the bottom of a problem is if we have a runnable sample on our end.

    Kind regards,
    Steve
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Sunita
    Sunita avatar
    25 posts
    Member since:
    May 2009

    Posted 30 Jun 2011 Link to this post

    I have this same issue and I am not using the silverlight viewer. Please see the attached file. My version is Q1 2011 version 5.0.11.510.
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 30 Jun 2011 Link to this post

    Hi Sunita,

    What is the result if you actually print the report on a paper, does the problem persist? If so, please open a support ticket and attach a sample runnable report that exhibits the problem and we would advise you accordingly once we review it.

    Best wishes,
    Steve
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. Sunita
    Sunita avatar
    25 posts
    Member since:
    May 2009

    Posted 01 Jul 2011 Link to this post

    Hi Steve,

    The problem does persist when printing on a paper too. I will open a support ticket for this.
    Thanks,
    Sunita
  11. Paweł
    Paweł avatar
    1 posts
    Member since:
    May 2014

    Posted 15 Apr Link to this post

    Hello,

    Is it still true that in Telerik.Reporting it is not possible to define a different margins for specific page only / the margins can be defined for whole report only ? Or does the newest version has such possibility ?

     

    Best regards

    Paweł

  12. Stef
    Admin
    Stef avatar
    3053 posts

    Posted 15 Apr Link to this post

    Hello Pawel,

    Please check my post in your support ticket on the same question:
    "Reports are documents, which are formatted the same way for physical formats like PDF, DOCX. The whole document's page setup can be controlled through the report's PageSettings properties, where each page will be the same.

    To have a document with varying pages, the document must combine different reports. Such document can be created via ReportBook that gathers separate reports into a single document. Please consider the ReportBook demo installed by default under C:\Program Files (x86)\Telerik\Reporting Q1 2016\Examples\CSharp.
    "

    Regards,
    Stef
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner