Want to set top margin in report.

Hi All,
           Heading of my standerd invoice report is getting cut in printout.Please tell how to set this.Also I am not able to find in which variable this heading is stored , so i can change it. please tell where to put break point in this standered invoice report to change that heading.
With Regards,
Himanshu

Hi ,
       I have to start printing after leaving some lines on paper. I am not finding any printer setting like portrait or landscape there. its showing some different settings , not normal printer settings.thankful if u could tell me from where to do printer setting. Is line-count  helpful for proper display on paper  .

Similar Messages

  • Set TOP Margin in Sapscript

    Hi,
    I build a check with sapscript but i have a big problem.
    The amount is being printed below as it should.
    Anyone know the command to set the top margin in lines
    in SPAD transaction "Printer Initialization" action?
    I need to set the top margin but I don´t know de hexa code
    Regards,
    Mariano.
    I have this commands
    1. reset
    e0x40
    1. select US-ASCII character set
    e0x520x00
    1. set line spacing 8 LPI
    e0x320x08
    1. select page length 18 lines (17=hex $12)
    e0x430x12

    Hi Rob,
    I searched in the forum and google but I didn't find the code.
    In all the examples that I saw, not see the code for setting the top margin.
    If you know how to do or where to look, appreciate your help.
    Regards,
    Mariano.
    Edited by: Mariano Zenarola on Sep 8, 2010 9:41 AM
    Edited by: Mariano Zenarola on Sep 8, 2010 2:33 PM

  • How can I set printing margins of report?

    Hello,
    I am trying to print programmatically a portrait of a JPEG image that has been created by a Front Panel.
    I print it by creating a Standard Report.
    While the JPEG image is fine, the printed image is compressed at the long edges. So, the printed image is a little bit distorted.
    I change the Printing:Margins Property of the vi at the First Call of the vi, but the result is the same.
    On the other hand, if I open the JPEG image with a program like Picasa and print it, the printing image is not compressed/distorted.
    I attach an image of the code that is used to print the JPEG and an image that shows the Printing:Margins Property.
    How can I print it correctly via LabVIEW?
    Solved!
    Go to Solution.
    Attachments:
    Print_code.JPG ‏31 KB
    PrintingMargins_code.JPG ‏22 KB

    Hello,
    I tried the solutions that you proposed and I have the following results:
    1. The solution to print the Front Panel through the invoke node of the vi's reference is not ideal, because the desirable printer cannot be chosen.
    2. I cannot use the Word Report because I have not the Report Generation Toolkit for Microsoft Office.
    3. I used the HTML Report and I change the print settigns by modifying the registry keys in the following folder:
    "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup"
    I can change the margin_bottom, margin_left, margin_right, margin_top, Shrink_To_Fit and assign the values 0,0,0,0,no to them.
    The result in the printing image is obvious. It is no longer compressed and it is positioned almost according to the margins. Although all margins are set to 0, it has to be positioned 2cm more at left and about 2cm higher to be proper.
    But the footer and header registry keys even if they are deleted (I cannot assign empty string from command line), they are appeared in the printed page.
    I attach the new vi files that modify the registry keys of the above folder before printing and restore them after printing.
    Also, the Front Panel size of the Report.vi has been changed and set equal to the A4 paper size 21x29cm and a little bit bigger in order not to print the decoration border.
    So, the problem of proper printing of HTML report remains having only to remove the footer & header and understand why the printing image is not positioned at full left and full top even if the registry keys margin_left and margin_top are 0 and 0.
    On the other hand, if the vi's Front Panel JPEG image is printed from a Photo-program, it is printed correctly given that the margins are set to 0 and the "Scale" option has been disabled.
    Thank you very much for your help.
    I am looking forward to hearing from you if it is possible.
    Attachments:
    PrintReport.vi ‏336 KB
    Report.vi ‏6 KB

  • IE9 top margin problem

    Hi All,
    I know this topic has been done to death but I still can't find a fix after many trawling the net.
    The layout consists of a background swf file with html on top of that. The html has a centred div and inside that a floating div that I wanted to contain a horz nav bar.
    I can position where I want by using top margin, looks correct in FF4 Safari Chrome but IE9 positions it at a different height from the top ie in IE9 the nav bar is higher up the page than it should be, have tried all sorts of tweaks but no luck, could someone have a look at this please.
    Thanks in advance
    Pete
    HTML
    <div id="flash">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="FlashID">
        <param name="movie" value="construction-background.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" />
        <param name="swfversion" value="8.0.35.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <param name="SCALE" value="exactfit" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object data="construction-background.swf" type="application/x-shockwave-flash" width="100%" height="100%">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="8.0.35.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <param name="SCALE" value="exactfit" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>
      <div id="wrapper">
        <div id="navbar"></div>
      </div>
    CSS
    body {
        margin: 0px;
    #flash {
        height: 100%;
        width: 100%;
        position: absolute;
        z-index: 0;
        overflow: hidden;
    #wrapper {
        width: 1200px;
        margin-right: auto;
        margin-left: auto;
        position: absolute;
    #navbar {
        height: 50px;
        width: 750px;
        position: relative;
        background-color: #666;
        margin-top: 450px;

    In it's simplest form, a menu is merely a CSS styled list.  Copy & paste the following code into a new, blank document.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    #navbar {
    background:#999;
    min-height: 75px;
    _height: 75px; /**for pre-IE7**/
    width: 750px;
    overflow:hidden; /**float containment**/}
    #navbar ul,
    #navbar li {
    margin:0;
    padding:0;
    list-style:none;
    float:left;
    font-size: 28px;}
    /**links**/
    #navbar li a {
    display:block;
    color: #FFF;
    text-decoration:none;
    /**space between links**/
    padding: 25px;
    #navbar li a:visited {color: #CCC;}
    #navbar li a:hover,
    #navbar li a:active,
    #navbar li a:focus {
    color: #FFCC00;
    text-decoration:underline}
    </style>
    </head>
    <body>
    <!--insert near the bottom of your page -->
    <div id="navbar">
    <ul>
    <li><a href="#">About</a></li>
    <li><a href="#">Services</a></li>
    <li><a href="#">Clients</a></li>
    <li><a href="#">Policies</a></li>
    <li><a href="#">Careers</a></li>
    </ul>
    <!--end navbar --></div>
    <div id="footer">
    <p>your footer text goes here</p>
    </div>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Delay in loading report on Vista Boxes when top margin set to 0

    I'm currently using Crystal Reports for Visual Studio version 13.0
    I have a problem when I programmically change any value on the report, I have a delay of 17 seconds or more - it seems to be loading the report.  I began seeing this problem when I modified the Page Settings -> Top margin to be 0.000 (originally the top margin was set to 1.153).
    This problem is only occuring on a group of Vista boxes (running service pack 2)

    It could be printer driver related. Try turning on the No printer setting in the page setup.

  • Setting different top margin for first page

    I have been trying to set a 5cm top margin for the first page of a thesis chapter and a 2.5 cm top margin for the rest of the pages to conform to requirements. I have set a section break and gone into Inspector to make first page different but I still get any margin changes on the first page through the whole document. I do what HELP says but it isn't working. Anyone help me out before I go troppo?

    The easiest way to do this, especially if all the text ina particular chapter is in the same section, is to just set the 'before' value in the Layout Inspector. As text flows from one page to the next, it will conform to the global setting. If you insert a Section Break, the new section will start on a new page and the first line will be down the same amount as your initial chapter page. If you insert a layout break it will also be moved down that initial amount.
    If you want to capture this behavior you can capture multiple pages to use as well. Some of the preset templates have multiple pages where the first page has different characteristics than the subsequent pages added when oyur text overflows from the first page.

  • Top Margin Woes: Setting the "Before" Margin for Every Page in a Section

    Hi,
    I've scoured the forums to no avail on this one. I am trying to create a document where the text in Section 1 appears 1 inch from the top of each page and 2 inches from the top of each page in Section 2. Should be pretty straightforward, right? Please tell me it is! I'm using Pages '09 (version 4.0.5).
    Right now, the document margin is set to 1 inch from the Top, so Section 1 is fine. For Section 2, when setting the Before margins after a Layout Break (in the Layout Inspector under the Layout tab), only the first page of that section gets a Before margin of 2 inches. Every page after that in Section 2 is still 1 inch from the top.
    Suggested Workaround Attempted
    I tried the "Move Object to Section Master" workaround, but the menu item "Format > Advanced > Move Object to Section Master" is disabled when performed on an "inline" object, which is what is required to force the text down from the top of each page in Section 2. Turning it into a "floating" object enables the "Move Object to Section Master" menu item, but since it is floating. the text for that section is not pushed down, the rectangle is just displayed in the background of each page in Section 2.
    Any ideas on how to solve my Top margin woes would be much appreciated!

    Hello
    To push a text down in the text body using the clean way which means setting space after, requires that we have already a paragraph which means a chunk of text ended by a paragraph break.
    It's exactly what I do.
    Most of the time, we don't put a paragraph break at the end of a header so it's not a paragraph and so, we can't define the space after value.
    My tip just gives it the status of paragraph allowing me to define space after the clean way. The dirty one was to insert several returns to adjust the height which I carefully rejected.
    It's exactly what we discovered some months ago:
    we can't set space before (above) at top of a page because there is no paragraph before (above) in the page.
    As far as I know, the  "Use Previous Headers and Footers" must always be set correctly. I'm remembering a thread which became huge because the OP can't understand that he had to define these properties correctly to get correct results with his captured pages.
    I wish to add that at this time we don't know exactly what the OP want to achieve.
    Maybe he want to move down the top of the print area and the header.
    You can't do that with your tip.
    With mine, I just insert a paragraph break at the beginning of the header.
    Yvan KOENIG (VALLAURIS, France) vendredi 8 juillet 2011 17:50:30
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Fixed Top Margin  for Web Report

    Report generated with Htmlcss, we had setup the Top Margin of Page to 0.5
    First Page Top Margin is 0.5 but the second page takes the Top Margin more than 0.5 (could be 1").
    Any help would be much appreciated.
    TIA

    Are you sure that you set the bottom margin to be 0. Assuming you aren't using page streaming, the gap between the pages is the sum of the top and bottom margins.
    Hope this helps,
    Danny

  • Want to use FiOS TV via CableCARD - CSR insists I must lease at least one set-top box

    Started looking into subscribing to Verizon using a CableCARD-based tuner, since I don't actually own a TV.
    I did some research at verizon.com and ran across this page (important parts in bold):
    CableCARDS
    A CableCARD is a device that provides access to certain encrypted High Definition (HD) and Standard Definition (SD) digital programs without the need for a Set-Top Box.
    CableCARD Features and Services
    What digital programs can I watch with my CableCARD?
    You can view all FiOS TV Standard Definition and High Definition digital channels to which you subscribe. You can also order certain Pay-Per-View events by calling 1-800-VERIZON (1-800-837-4966). Without a Set-Top Box, you do not have access to On Demand programming, the FiOS TV Interactive Media Guide, or other advanced features of the FiOS TV service.
    So far, so good. I logged into my account, selected a package, and started the checkout process - and then encountered an odd question: "How many set-top boxes do you need?", where the options were a drop-down list starting with 1 and scaling up. There's an extra $12/month charge (plus taxes, of course) for just one box, and more for other boxes. No way to skip that step.
    So apparently, according to Verizon's service rep... I need to pay $12/mo+tax for a set-top box that I don't need, and that will sit on a shelf while I watch Verizon TV through my fully-supported CableCARD adapter.

    sangs wrote:
    You don't need an STB or DVR, but here's the easiest thing to do - and I just did it, so I know it works.
    Get the STB or DVR along with the Cable Cards. Get everything activated and working - including the cable cards - then return your STB or DVR, either to a FiOS store or via UPS. Voila, you're done and using only Cable Cards. I only have two Cable Cards on my account. Good luck.
    INTERESTING.
    I was considering doing this too. I originally had just a cablecard, then ordered a STB for another room. We don't use it so I wanted to return it. I can't!
    Brb going to UPS store.

  • Set the margin automatically in a landscape report

    How can I set the margin automatically in a landscape report without manual setting in page setup before printing the report in oracle report6?

    How can I set the PRINT margins at design time in report builder 6?

  • Is it Possible to set Top and Bottom Margin for each section?

    I've been googling and haven't found an answer to this problem.
    I need to specify a different top and bottom margin for each section in my document. The "document margins" apply to the whole document, so I've set those to a low amount, and I can set the Layout Left and right margins - but the "Layout Margins" do not allow "top and bottom" only "before and after". This is a critical difference, because if you have 2 pages in a section, only the first page gets the "before" margin, and only the 2nd page gets the "after" margin. This is a little odd, and I'm frankly surprised we are in version 4 of this app - and you can't set top and bottom margins for each section.
    If you insert a "layout break" on each page, then you can get the margins to reset for each page inside a section, but this is not an acceptable workaround as I need to setup templates for staff to use that will "flow" like a normal word processor.
    Does any one have any suggestions?

    On page 49 in the English Guide version it tells you about Lay-out margins. This is the text
    *Defining Layout Margins*
    *In a word processing document, a layout margin is the space around columns in a*
    layout.
    *To change the layout margin in a word processing document:*
    *1 Click in a column.*
    *2 Click Inspector in the toolbar, click the Layout button, and then click Layout.*
    *3 To change the outside margins of the column(s), enter values in the Left and Right*
    *fields under Layout Margins.*
    *4 To specify the amount of space above and below the column(s), enter values in the*
    *Before and After fields under Layout Margins.*
    *The new margins can’t extend outside the page margins set for the document in the*
    *Document inspector.*
    I hope this helps.

  • I want to set a class to "Always on top" property. Anybody got an idea?

    I want to set a class to "Always on top" property. Anybody got an idea?
    bhaskasr

    If you are using Win2000, it's not (AFAIK) possible. I and my colleagues solved the problem by using some native code which finds the corresponding native window and brings it to front.

  • How to print deposit number in top margin and reset pagination eavh change

    I am using Report Builder 6.0.8.27.0 against a version 10 database
    I have a built a report that works properly. It consists of about 1800 mineral deposits with one main frame cycling on the mineral deposit number and the frame contains a whole bunch of repeating frames containing detail information. Each mineral deposit may be one and 20+ pages long. The report works properly but I need to make the following additions..
    1) At present, the mineral deposit number is only displayed on the first page of the report 'segment'. What I would like to do is have the deposit number displayed in the top margin on each page, next to the title but I am not sure how to do this.
    I began by creating a field in the top margin, but when I change the Source of the Field (in the property palette) to the deposit number (a database field) I get the following error:
    REP-1213: Field 'F-1' references column MDD_NO at a frequency below its group. This is obviously because this is in the margin and the deposit number occurs within the main repeating frame.
    Any suggestions how I might do this - I'm afraid I'm not terribly familiar with reports - and don't have any good reference material at my fingertips. (Only the help files and digging through them is painful - especially when one is not sure what one is looking for.)
    Any help woule be appreciated.
    2) I would also like to create a special page number/sequence where each deposit would have it's own set of pagination
    ie.: Deposit-001 page 1
    Deposit-001 page 2
    etc
    and then reset when the deposit number changes
    Deposit-002 page 1
    Deposit-002 page 2
    Basically, the idea is to restart pagination at each change in deposit number and change the deposit number to the current one. Again, I don't know how to do this.
    The report will appear as a large pdf - which I know has it's own pagination. The reason I want the Deposit number and it's page sequence to appear in the top margin is to make it easier for the client to identify which pages belong to which deposit when they print out and work with 4 or 5 different deposits sets at the same time.
    I realize I can achieve this by printing one pdf for each deposit, but 1800 individual pdf's is a bit much. to handle.
    Thanks for whatever help you can give me
    Glenn

    Hi, 
             just populate ur eventcat  like this , may be this can help u
    form zf_eventcat  using    p_it_eventcat type slis_t_event.
      data l_eventcat type slis_alv_event.
      clear l_eventcat.
    *Get all the events.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = p_it_eventcat
        exceptions
          list_type_wrong = 1
          others          = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    TOP-OF-PAGE FORM
      clear l_eventcat.
      read table p_it_eventcat into l_eventcat with key
                              name = slis_ev_top_of_page.
      if sy-subrc = 0.
        move 'ZF_TOP_OF_PAGE' to l_eventcat-form.
        modify p_it_eventcat from l_eventcat index sy-tabix
                                             transporting form.
      endif.
    PF_STATUS_SET FORM
      clear l_eventcat.
      read table p_it_eventcat into l_eventcat with key
                              name = slis_ev_pf_status_set.
      if sy-subrc = 0.
        move 'ZF_PF_STATUS_SET' to l_eventcat-form.
        modify p_it_eventcat from l_eventcat index sy-tabix
                                          transporting form.
      endif.
    USER_COMMAND FORM
      clear l_eventcat.
      read table p_it_eventcat into  l_eventcat with key
                               name = slis_ev_user_command.
      if sy-subrc = 0.
        move 'ZF_USER_COMMAND' to  l_eventcat-form.
        modify p_it_eventcat from l_eventcat index sy-tabix
                                          transporting form.
      endif.
    endform.                    " zf_eventcat
    reward if helpful

  • Print margin in reports

    Is there a way to set the left margin?
    Since the migration from 6i to 10g, the report doesnt print correct.
    On the left side is about 0,5 cm not on the page.
    Anyone knows this problem?
    Thanks

    I seem to be having the same issue, with reports generated to HTML and reports generated to pdf. I don't really want to change 100's of reports so the text is not cropped of on the left side, and also the top in some cases (Text in the margin).

  • Cannot set page margins to zero

    I am exporting a Crystal report using HTML 4.0 format.  When the report is viewed via a browser the white space in the margins is being displayed.  I have tried to zero out the margins to eliminate this issue but Crystal Reports will not let me set the margin values to zero.  I am currently running 11.0.0.1282  Is this a know issue and is it fixed in any product updates?

    The margins are an issue because they are the causing unnecessary white space my web pages.  I am exporting this report as a single  page (deselected Separate HTML Pages).  So I have 2-3 lines of white space every place where there would be a page break.  This has to be a bug because no one would want this white space on a web page. 
    In addition here is the help text that I copied directly out of Crystal regarding these margins:
    Note:    When you are exporting to a single file (that is, you have cleared the Separate HTML Pages check box) all blank space in headers and footers, as well as top and bottom page margins, is included. If you don't want to see blank spaces in your HTML file, suppress empty header and footer sections and set the top and bottom page margins to zero in the Page Setup dialog box.
    Am I missing something here????

Maybe you are looking for