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

Similar Messages

  • 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  .

  • 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.

  • 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.

  • 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 !

  • 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.

  • How to set printer margins if using a lot of printers in virtual desktops which are deleted each time users logs off

    Hello,
    i am using Firefox version 31. I have a problem with page setup margins. I need to use left
    30mm; right 10mm; top 20mm; bottom 20mm. I am using VMware floating assignemnt linked clones
    virtual desktops. After users log off - machines are deleted and users next time logs on get's brand
    new VDI's. Users gets printers to VDI using login script from Active Directory.
    Option Explicit
    Dim strPrinterUNC, objNetwork
    strPrinterUNC = "\\some_server\printer_number_1"
    Set objNetwork = CreateObject("WScript.Network")
    objNetwork.AddWindowsPrinterConnection strPrinterUNC
    WScript.Sleep (20000)
    objNetwork.SetDefaultPrinter strPrinterUNC
    Set objNetwork = Nothing
    Each user have different logon script, because they use different printers (different printer names e.g. \\some_server\printer_number_2 ; \\some_server\printer_number_3 and etc. Page setup margins in Internet Explorer are ok. But how to make Firefox page setup margins as i need? For other options i have
    used CCK2 Wizard 2.0.4 tool. It worked fine. Maybe i can put some information in C:\Program
    Files\Mozilla Firefox\defaults\pref\autoconfig.js I have some usefull data in it allready. I
    have found info that: "Setting print margins is done in the printer settings". I have a lot of
    printers, so i can not set printer margins individualy for each of them. Now mozilla shows top,
    bottom, right, left each 12.7 mm. What should i do if i have a lot of printers in enterprise
    environment?

    Firefox has a profile folder that has preferences to save this. But the config that would need to be changed is:
    print. save_print_settings = True - (default): Save the print settings after each print job
    Locking that preference: [http://kb.mozillazine.org/Locking_preferences]
    Or done manually:
    #In order to check the margins, we need to go to ''File'' > ''Page Setup''.
    #Once this is done, switch to the ''Margins & Header/Footer'' tab.
    #Check what's set there under ''Margins''.
    The following are the default values for ''Margins'':
    Check these values accordingly and change them if necessary.

  • 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

  • I need a 3-inch top margin on the first page of my letter and a 1-inch top margin on subsequent pages. How can I do this?

    This is so easy in Word but I have spent 2 hours trying to figure it out in Pages. To print on my boss' stationary I need a 3-inch margin on the first page and a 1-inch top margin on the subsequent pages. When I change the top margin on page 2 in Inspector, it changes the top margin on page 1 to 1-inch as well. In Word this is an intuitive, 2-step process.

    Hi Dan,
    Don't confuse "intuitive" with "what I'm used to."
    Pages has "Document" margins, which apply to all pages of the document, and "Layout" margins, which may be set to provide additional margin space in a layout.
    Start by setting the Document margins to 1" all around. This is the default setting for the (word processor) Blank templates. You can check it (and adjust it if necessary) in the Inspector. Open an Inspector window (View > Show Inspector). Choose the Document Inspector (first button).
    Switch to the Layout Inspector (second button). Remember that you already have a 1 inch top margin, so to produce a 3 inch margin before the beginning of this layout, you'll need to set a 2 inch Layout margin "Before" the layout.
    Hmmm... Depending what you're defining as 'steps' for the process in word, and considering that the document margins in Numbers are preset to 1" all around, this appears to be a 1-step process in Numbers:
    Step 1: Set the "Before" Layout margin to 2 inches.
    Done.
    Regards,
    Barry

  • Printing pdf files made from Filemaker docs on HP 7410 cuts off top margin

    Just bought a MacBook Pro and jumped from Tiger to Snow Leopard.
    Also bought FileMaker 10 replacing the FileMaker 8.5 I used up till the MacBook Pro purchase and system upgrade.
    Still using the same HP 7410, but during installation, I think I remember upgrading the printer driver. At any rate, this HP Printer is now much more responsive. It was previously very slow.
    When I now save documents printed as pdf's from filemaker (as I used to) and then try to print them on the HP 7410, they open fine in Preview showing the whole page with no text cut off. But when I press Print in preview and I get the HP driver preview of what will print as part of the print dialogue box, it shows the top margin of the page cut off (down to at least 1/2 ") and actually prints that way. Before the switch to Snow Leopard and the MacBook Pro, a top margin of 1/4 " worked fine and printed in pdf docs.
    (top margins of 1/4" on Word & Excel documents I tested still seem to print fine)
    I use the borderless printing work-around, but that seems inelegant. It also takes much, much............much longer to print when it's in that mode (even fast draft).
    Why is this happening?
    Is there a setting I am missing?
    Can this be fixed?
    Steve

    What print driver are you using?
    I set my printer to use the open source Gutenprint driver in place of the one supplied with my printer to resolve an issue I was having - see my post http://discussions.apple.com/thread.jspa?threadID=1626340&tstart=0
    The Gutenprint home page is http://gutenprint.sourceforge.net/index.php3
    Message was edited by: another_steve

  • How do you make the top margin .5" on page 1 and 1.0" on all of the following pages?

    I have been a PC user since 1987 and find the iWorks programs far less intuitive than the MS Office products.  I have been using a Word doc template, which I customized back in 1990, and all of my client records use this template.  So, as I am converting to Apple, I need to find a way to adapt the iWorks Pages to accomodate my doc needs, if that is possible.  As indicated in the question, I need to set the top margin on page 1 to .5" and, using either a section break or a page break, enable the top margin to be 1.0" on all of the following pages.  I read somewhere on the net that this might be accomplished by using a layout break but, when I tried that, the margins on all pages seemed to still be connected to each other.  Is there a way to accomplish my objective?

    Okay, narrow is narrow.  Just need to make sure we're clear on the point that we're discussing the top and bottom margins. 
    I just found another post that led me to "Defining Layout Margins" in the Pages help files.  Between that post and the information in this help message (specifically item #4), I was able to deduce that Pages does enable me to do exactly what I need.
    1 - set the page margins on page one;
    2 - create a layout break at the bottom of page 1, which will effect the next page;
    3 - with the cursor on page 2, open the inspector;
    4 - go to the layout inspector;
    5 - change the "before" margin.
    In the layout inspector dialog box, "before" = "top" and "after" = "bottom", not as in paragraph or line formatting.  I don't know why it couldn't just say top and bottom.  That would eliminate a lot of confusion.
    This has enabled me to have one top margin on the first page and a different top margin on all other pages. However, as nothing is perfect, this process must be repeated on each page.  A little more work but definitely worth the effort, if you need this type of formatting.  Better than not at all in other words.
    Thanks for your time and help.
    Ross

  • How to set page margins in Numbers 3

    I just migrated from MS Excel after decades of use. I can't find out how to set page margins using the new Numbers 3 version. I believe I've exhausted all reference materials and the most relevant was an method in Numbers 8 & 9... both of which have a different top menu selection.  The answer is probably right in front of me and simple as it sometimes happens when learning new software...

    Hi caforestfire,
    There is no direct equivalent to page margins in Numbers 3.0. It's more oriented toward sharing on the web and on iPad screens than toward traditional printing.
    However, there are ways to achieve the effect of margins.  The idea is to first position your content (tables, charts, etc) on the canvas of a sheet, using rulers and guides if you want (you can drag the rulers onto the canvas to help in placement):
    Then you File>Print and in Print Preview fiddle with the slider until you get the white space you want around your content:
    Then click Print.
    For many purposes it works quite well. It's just a different approach from what we're used to in Excel, and the old Numbers 2.3.
    SG

  • 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

  • Top margin when printing with Generic text driver

    I created a report in Character Mode and tryed to print it using the Generic Text windows printer driver, but the Reports is adding a non-specified top margin. I already removed all the margins of this report in the Layout Editor but the problem continues. What can I do to solve this problem ?

    Is it shifting only down, or to the right as well?
    What are the bleed an slug settings, and are you including slug and bleed in the print?
    Is the dialog set to print in upper left corner, and if so does it change when you print centered?
    Peter

  • 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

  • GR/IR Clearing for Non-Inventory Items in PO

    Hi all, Can anybody explain if GR/IR reconciliation can be done for non-inventory items in PO. For example, I've raised a PO for a service and received invoice before the service is delivered (little hypothetical, of course, but incase). If so, will

  • How do i transfer music from one apple ID to a new apple ID

    How do I transfer music from one apple ID to a new Apple ID

  • Multiple system maintenance cycles are not shown in pop up for selection

    Hi, In change manager, when we create a change document from a change request, we dont get a pop up for selection of maintenance cycles with multiple systems in it. The change document is getting created by taking the only available maintenance cycle

  • N95 8GB SOUND CLIPS TRANSFER?

    Hi! Does anyone know how one can transfer sound clips (i.e.: recordings made with the N95 from it to other devices?) and what sort of files would these be? I cannot use the Nokia PC Suite - it won't install because my version of Windows XP is the ori

  • Mission Control keyboard shortcut problems

    I have a problem with my keyboard shortcuts (changing space with Mission Control) Sometimes they do not work... then I have to reset PRAM (using this guide http://support.apple.com/kb/ht1379) and then it works again. Then after some time it fails aga