Page size is determined by text on a sapscript

Hello everybody.
I am getting this little problem (big for me):
The page size is determined by the amount of data that this one got, and I want the page to be always in A4 size (DINA4 297x210mm).
I had determined it in the header con se71, but when the client prints the form, they got that problem.
Anyone knows what am I talking about and how can this be resolved?
Thank you a lot.

Hi,
Most probably if you can apply A4 size then it is applicable to the page for ever until change it new page format. As per my knowledge page size will not changing as per text size..Check the Window size which is using to display the text on page.

Similar Messages

  • Page number after printing a text element in SAPScript

    Hello to all,
    is it possible to know the page number in which SAPScript print a text element?
    Thanks and regards
    Franco

    Hi!
    &PAGE& variable gives you the actual page.
    /E MYELEMENT
    /: DEFINE &MYPAGE& = &PAGE&
    I hope it works...
    Regards
    Tamá

  • Would like to change page size

    Hi,
    I'm trying to convert a Word Document with a page size of 7.5 by 10.5. When I input these settings into Word, the actual picture of the page shrinks.
    I have the virtual Adobe printer and have it set up for that page size because originally my text from Microsoft Word wasn't always on the same pages when converted into PDF. So that problem is fixed.
    However, the converted file that I get back doesn't look the same. All of the text is on the same pages but it is stretched so big.
    When I look under the PDF file under properties, it has the page setup as being correct. But the actual picture of the page is not the same and the font is stretched out huge.
    I hope this makes sense.
    Thanks

    Any solution?
    Good Luck.
    My
    Si
    tes

  • Default page size for printing

    Is there a way to configure (i.e., specify non-programatically) the default page size to use when printing in Java? We have several JREs installed on a single Solaris machine. It seems that all but the one that came installed with the OS defaults to a an ISO-A4 page size.
    I wrote a test program (see end of post) and compiled using a 1.2.2 JDK. Here are some results:
    $ /usr/java/bin/java -cp . PrintPageFormat
    Java version: 1.2.2
    Page size: 612.0 x 792.0 pts
    $ /opt/java-packages/jre-1.4.0_04-solaris-i586/bin/java -cp . PrintPageFormat
    Java version: 1.4.0_04
    Page size: 595.0 x 842.0 pts
    $ /opt/java-packages/jre-1.4.2_08-solaris-i586/bin/java -cp . PrintPageFormat
    Java version: 1.4.2_08
    Page size: 595.0 x 842.0 pts
    $ /opt/jre-1.5.0_04-solaris-i586/bin/java -cp . PrintPageFormat
    Java version: 1.5.0_04
    Page size: 595.2755813598633 x 841.8897399902344 pts
    I've searched the Internet, but cannot find how to go about setting the default page size for a JRE. I've opened a ticket with Sun, and was told you can't do this other than programatically. It seems unreasonable that I would have to recompile my existing applications just to get them to work correctly under newer JREs. Is Sun's response to my ticket correct???
    Thanks in advance!
    Chris Rorvick
    [email protected]
    ============================================================
    import java.awt.print.*;
      public class PrintPageFormat
          public static void main(String[] args)
              PrinterJob pj = PrinterJob.getPrinterJob();
              PageFormat pf = pj.defaultPage();
              double w = pf.getWidth();
              double h = pf.getHeight();
              String version = System.getProperty("java.version");
              System.out.println("    Java version: " + version);
              System.out.println("    Page size: " + w + " x " + h + " pts");
      }

    This problem was fixed by setting the locale variable LC_CTYPE to "C" or "en_US". The JREs 1.4.0 and above deployed on our Linux and Solaris environments all have the system property 'java.awt.printerjob' set to 'sun.print.PSPrinterJob'. This is a subclass of sun.print.RasterPrinterJob which in turn is a subclass of java.awt.print.PrinterJob. So, PSPrinterJob is the actual class of the PrinterJob returned by PrinterJob.getPrinterJob(). Looking at the code of RasterPrinterJob:
            /* Default to A4 paper outside North America.
            String defaultCountry = Locale.getDefault().getCountry();
            if (!Locale.getDefault().equals(Locale.ENGLISH) && // ie "C"
                defaultCountry != null &&
                !defaultCountry.equals(Locale.US.getCountry()) &&
                !defaultCountry.equals(Locale.CANADA.getCountry())) {
                double mmPerInch = 25.4;
                w = Math.rint((210.0*ptsPerInch)/mmPerInch);
                h = Math.rint((297.0*ptsPerInch)/mmPerInch);
                newPaper.setSize(w, h);
                newPaper.setImageableArea(ptsPerInch, ptsPerInch,
                                          w - 2.0*ptsPerInch,
                                          h - 2.0*ptsPerInch);
            }This should have been fairly obvious. Java's locale settings depend on the platform's locale settings (i.e., LC_ variables in this case), and then the default page size is determined (or actually altered) based on that.
    I'm kicking myself for not figuring this out much sooner. I would hope Sun is, too! (not me, themselves)

  • Default page size settings in TEXT FILES SAVED FROM MAIL

    I regularly save emails as rtf files (either with or without attachments) and sometimes return to print them with TextEdit.
    I'm in Ireland, where our standard paper size is as most European countries, i.e. A4.
    My 'Default Paper Size in Page Setup' is set in the Print & Fax pane in *System Preferences* as A4.
    If I select 'Page Setup...' in Mail to print direct from the Application, it defaults as you'd expect to A4.
    If I make a fresh text file with TextEdit, it also defaults to A4.
    But if I 'Save As...' from Mail and then open the resulting file in TextEdit (or Word, for example) I find it has been saved with a US Letter Page Setup. Can I change this setting? If so, where?

    I think I see where the confusion is.
    I'm not talking about file attachments (the 'Save Attachments...' function in the File menu). What I'm talking about is the saving of the email as an rtf file (the 'Save As...' function). When you select 'Save As...' there's a further pull-down menu for format that allows you to save it as one of 3 options: Rich Text Format, Plain Text OR Raw Message Source. I want to save it as Rich Text which preserves fonts, bold type etc.
    Mail clearly can create such files (I have several GB of saved emails that says so!) - what I want to figure out is if there's a way to control the way it sets the page size in those files as it does so.

  • Enlarge page size but keep all margins, text, images as they are now using ID CS 5.5?

    How do I enlarge the page size of a file in ID CS 5.5 while keeping all text, margins, images as they are now? Using a mac.

    Hi Buzz,
    The issues you are having are caused by some underlying differences in the flex libraries in EB 3.4 and 4.5. Using EB 4.5 allows using flex spark components however these are not backward compatible to CS 5.5. In order to have an extension that is backwards compatible to CS 5.5 we strongly advise using EB 3.4. That does unfortunately mean that you will not be able to use the design view. The AutoTheme library was created to provide the theme syncing ability that is available in EB 4.5 through the "CSInterface.instance.autoThemeColorChange = true; call to EB 3.4 extensions and does not work with EB 4.5 (as you have found) because it is trying to set the theme of a different set of UI components which are not available in EB 4.5.
    So to summarize:
    AutoTheme.sync() is what you should use for EB 3.4
    "CSInterface.instance.autoThemeColorChange = true; should be used with EB 4.5
    they provide equivalent functionality and should not be mixed.
    Finally we would strongly advise using EB 3.4 for CS5.5 extensions.
    For the combo box issue unfortunately we only had the capacity to create a broad theme that should cover the majority of the controls correctly, however some controls are not ideally themed. However we do provide AutoTheme.postThemeColorChange which can be set a function to run immediately following theme setting that should allow you to customize the theme to cover these cases.
    I hope that helps,
    Thanks,
    Robert.

  • Determining Page Size

    Hi
    I am trying to determine the page size of pages in my portal, and am looking for an easy-to-use and reliable tool. The reason for this is so that I can fine tune my BI templates to be as small as possible, which should make for a faster user response.
    I have tried running the pages in Firefox with the web developer toolbar, and get quite a large number (variable selection screen is 255kB), made up primarly of javascript files (205kB).
    If I look at Page Info (from Firefox), it tells me around 3KB.
    Internet Explorer doesn't seem able to tell me the page size (using the right-click menu)
    IE's developer toolbar doesn't give me an option to see page size.
    I can't use one of the online tools as the site is not available to the outside world.
    All I'm looking for is a free, offline tool that I can use that analyses a pages and tells me how big the page is, and maybe even some detail like the size of individual elements, then I can see if it's worth me trying to reduce certain things.
    Cheers,
    Andrew

    Hi
    Firebug looks great, and is giving me some nice data.
    All I have to do now is change my BI web template so that it works in Firefox ... seems like using images that are pulled from the MIME repository don't have the correct HTML rendered in Firefox
    Cheers,
    Andrew

  • How determine page size by opening PDF file in binary mode

    Hi,
    I have to print PDF file but I would like to know the page size of the PDF file.
    What I have to verify (section, parameters) in order to know the page size? (Letter, Legal)
    Thanks!
    FE

    And if you multiply the values by (1/72):
    (792 - 0) / 72 = 11
    (612 - 0) / 72 = 8.5
    You may also have to consider rotated pages and not all pages within a PDF will match the size of the first page.
    Using Acrobat JavaScript:
    var nPage = 0;
    var cBox = "Crop";
    var aRect = this.getPageBox(cBox, nPage);
    var width = aRect[2] - aRect[0];
    var height = aRect[1] - aRect[3];
    console.println("Page " + (nPage + 1) + " has a width of " + (width / 72) + " inches and a height of "
    + (height / 72) + " inches");
    Produces the following output on the Acrobat JS debugging console:
    Page 1 has a width of 8.25 inches and a height of 11 inches

  • Page Size in Points

    We have a user who has Adobe CS3 installed on her system and when she prints PDF files to our color printer, they come through with the page size in points rather than inches. This causes the job to fail to print we haven't been able to find a way to fix it.
    It happens both with PDF files she has created and those created by others. We have reinstalled the print drivers and PPD files once already and that didn't help. I also found that she had distiller 3.0 installed and it's preferences were set to points but changing that didn't solve the problem either. I also tried printing a PDF from Adobe Reader 8 and it printed fine. The problem only happens when printing from Acrobat Professional (which is the default application for opening PDF files.)
    Anyone have any ideas what could be causing this problem and how we might fix it?

    Peter,
    I have looked at this again in Pages ’09, and via Page Setup > Paper: Manage Custom Sizes..., it will not let me override the inch measurements.
    Try this to get two decimal places. Double-click the mm value in the paper size to select all, and then just type your mm setting with two decimal places (no mm text designation) and then tab out of that entry window. The two decimal setting is retained.
    This is redundant knowledge, but here is the conversion fluff. Inches in Page Setup may need to be set to approximate closest points. In the Postscript (cough) world, the conversion is:
    1 Point = 0.01388888889 Inch
    And the calculator (with round option).

  • Implementing multiple page size requirement - extra blank page at the end

    My XMLP report requirement is as follows.
    - The report is printing a bunch of lines.
    - Based on data and layout requirement, lines are grouped into page where they belong (due to complex logic for determining which page a line should go to...this is done in PL/SQL package that is called in the beginning of the RDF trigger)
    - The first page needs to be printed on Legal size paper
    - Subsequent pages (IF NEEDED) need to be printed on Letter size paper
    So some report will have a 1-page output (legal size), and some will have multiple pages (1st page should be legal size, subsequent on letter size).
    Here is a sample XML data:
    <REPORT>
    <LIST_G_PAGE_NUMBER>
    <G_PAGE_NUMBER>
    <PAGE_NUMBER>1</PAGE_NUMBER>
    <LIST_G_LINE>
         <G_LINE>...</G_LINE>
         <G_LINE>...</G_LINE>
    </LIST_G_LINE>
    </G_PAGE_NUMBER>
    <G_PAGE_NUMBER>
    <PAGE_NUMBER>2</PAGE_NUMBER>
    <LIST_G_LINE>
         <G_LINE>...</G_LINE>
         <G_LINE>...</G_LINE>
    </LIST_G_LINE>
    </G_PAGE_NUMBER>
    <G_PAGE_NUMBER>
    <PAGE_NUMBER>3</PAGE_NUMBER>
    <LIST_G_LINE>
         <G_LINE>...</G_LINE>
         <G_LINE>...</G_LINE>
    </LIST_G_LINE>
    </G_PAGE_NUMBER>
    </LIST_G_PAGE_NUMBER>
    </REPORT>
    For this, I created 2-pages RTF template and using the Word Page Setup feature:
    1. First page setup is legal size (go to Page Setup, Paper tab, choose Letter and choose Apply to "Whole Document").
    The first page has the following XMLP tag:
    <?for-each: G_PAGE_NUMBER?>
    <?if: PAGE_NUMBER=1?><?call:body?><?end if?>
    <?end for-each?>
    <?template:body?>
    for-each loop that prints lines in a tabular format
    <?end template?>
    2. Second page setup is letter size (go to Page Setup, Paper, choose Letter and choose Apply to "This point forward").
    <?for-each: G_PAGE_NUMBER?>
    <?if: PAGE_NUMBER>1?><?call:body?><-- Ctrl-Break to insert a page break here --> <?end if?>
    <?end for-each?>
    It almost worked, except there is a blank page printed at the end. How do I remove the blank page? I have tried to use <?split-by-page-break:?> instead of the Ctrl-Break, but it did not seem to work (there is no page break happening at all).
    I think the extra page is due to the multiple page nature of the RTF template. Is there a way to control the page size through XMLP tag (or XSL-FO). With that, I can try having a single page template and put the page size control within the XMLP / XSL-FO tag and hope that the extra blank page at the end will go away. Can someone please help?
    Thank you!

    Sorry for the typo in my previous post... I meant Ctrl-Enter (not Ctrl-Break).

  • Page Size in Page Versus Other Word Processors

    Question:
    How can make the work area the size of the screen and make the control the size of the letters in the work area?
    Background:(Useful if you don't understand the question only)
    In word and in Mac ODT the while page is filled with the text but not page. I asked and read the manual. First I asked phone support about it, I called for another reason, and they said want the window to fill the computer screen no problem just pull it to the screen size unfortunately the text stays where it is not helpful. So I get the manual and its says no problem go to view and make it fit the with of the page. Now I have a giant letters and unreadable words.
    In word they have a silly little thing call precent that allows the user to control both the size of the work area and the size of the image.
    I have seen this question before but I have yet to see an answer. Is Mac ODT simply better then Pages. It seems better. It seems to have all the functions and more.
    How can make the work area the size of the screen and make the control the size of the letters in the work area?

    1. What is "Mac ODT"?
    Interesting, the idea seems to be to turn plain text into rich text and then fill the imageable area with rich text in a single column.
    Rich text is referred to as rich text and ODF Open Document Format is referred to, correctly, as ODT Open Document Text, but on the incorrect assumption that ODT is platform dependent.
    There is no idea of frames within which one flows plain text, or linking frames across a spread, or of a light table after the metaphor for pagination introduced by Adobe, Aldus, and Apple.
    There is also no idea of applying composition by automatic markup or by manual markup to paragraphs and to parts of paragraphs.
    There is also no idea of a mechanical printing forme with composition and illustration wedged in place by furniture, or of a photo-mechanical printing form with composition and illustration pasted into place on the printing forme that has become a sheet of film.
    To start everyday endusers off from scratch, they should have a film to watch. Steven Fry, who does a wonderful Jeeves, recently did a program for the BBC on reconstructing the machine that made us what we are, the Gutenberg press.
    Something like that is what it takes to understand the difference between the single column mode and the multiple column mode of Pages.
    Best,
    Henrik

  • GIF and sticky page size

    I have scanned (from HP N6310) a paper to a .TIF image. Original is A4 and resolution, as set in scanning software 300dpi. Photoshop (CS5) reports (for the .TIF fiile) pixel dimension as 2574*3540 pixels, page size as 21.8 * 29.9 cm and resolution as 300 dpi. I "Save for web and devices" as a GIF file. When I now retrieve the .GIF image in Photoshop it reports same pixel dimension but page size 91*125 cm and resolution as 72 dpi.
    This is a problem because .JPG images do not tend to change dimension and when I use Adobe Acrobat  (V9) to combine .GIF and JPG file ino one PDF document, the pages show at different sizes which looks funny and is very impractical.
    I try do fix this; retrive the GIF file in Photoshop and change page size back to A4 (21*29 cm) and resolution back to 300 dpi and Ctrl-S or Save. Does not help. If I retrive the file again in Photoshop it is still/back to 91*125 cm and 72 dpi. What is going on and what can I do about it????
    It seems Photoshop is the main offender but if I had found a way to change page size of a PDF file when "in" Acrobat it had probably solved the problem too. I run Windows 7.

    Let me rephrase my problem. I scan documents that are a mixture of pages with text, photos and diagrams. Black and white, greyscale or color. If I scan to PDF in color I get huge file sizes, even after Acrobat "Optimize". So I scan to the different pages to TIF bw, gray or color. I then save (Photoshop - Save for Web adn devices) to a compressed file format , JPG or GIF (I also tried PNG and the result is similar) depending on what sort of pictures there are. The result is OK (good looking and small file size) and I am able to import all singel page files into one PDF document. The only problem is that Photoshop and/or Acrobat seem to have their own idea about individual "page sizes". So in the final PDF different pages have different sizes. The problem is with GIF that does dispaly the wrong size already in Photoshop - unchageable but also it seems Acrobat import differently depending on color or bw (file size?). The whole thing is a mess and I have not been able to systematically track all variation. The only setting I found that could help is Photoshop - image - image size but that is where I got thsoe strange results.
    Jon

  • How do I change page size?

    I'm totally new to the mac platform and to iWeb but have some dreamweaver experience on PC. I have a very simple question. How do I change the size of page in iWeb 08. When I use a template it has a fixed page length and I can't seem to add content and make a vertically longer page. Thanks.
    Sam

    Go to the "page" inspector and select "layout". Here you can change the dimensions by using the up & down arrows or by typing in a new dimension and hit the "enter" key.
    You can also lengthen a page quickly by dropping a text box onto it as a "footer". Enter your copyright info into it then click hold and drag it down the page until you get the length you require.
    eg "Copyright © Sam - 2007 - All Rights Reserved"
    You get the © by typing "option" g

  • Change default page size

    When printing a front panel the default page size is letter. My windows printer has A4 as default page size. LabView always overrides my printer's default page size to letter.
    The problem: I want to print programmatically the front panel. With the page size letter I get a broad left and bottom margin on the A4 page. I didn't find a possibility to change the default page size programmatically or manually.
    I use LabView 2011 on Windows Vista.
    Thank you for your help
    Stefan

    Hi Stefan,
    i couldn`t find a programmtically way to set the page size to A4 in LabView. You can change parameters like orientation and print method (Postscript..), but i couldn`t find methods to determine windows printer dialog options.
    A possible work around would be, to use System Exec VI to perform a print command on a prior LabView created report file (Word or PDF). There are several command line print tools on the web.
    Kind regards
    Thomas Frank

  • How to increase page size for balance file upload in Workspace.

    Hi All,
    Please suggest how to increase page size for balance file upload in shared Workspace pages.
    Thanks,

    A word of caution is in order regarding changing from facing to non-facing and back again. If you have overridden master page items, you'll get a second, non-overridden copy on all the even-number pages when that half of the master page is re-applied. This applies to master text frames which override automatically when text flows into them as well as to objects you manually override. I think you'll find this particular technique also only works for master text frames, whereas the Layout Adjustment should work in all situations where frames snap to guides.

Maybe you are looking for

  • Unable to deploy a mapping causing ORA, PLS error

    I have a simple mapping, sourec is a table and target is flat file. I have a transformation expression and my expression is as follows : ORA-06550: line 799, column 7: PLS-00103: Encountered the symbol "|" when expecting one of the following: INGRP1.

  • Can a Mac Pro boot off a MacBook Pro in Target Disk Mode?

    Summary: "Are you able to boot a Mac Pro off of a Mac Book Pro in Target Disk Mode?" OR "Will a Mac Pro boot off an OS X install that was made on a MBP?" Details: I'm finishing a music project that was created on a PPC G5 Quad computer and going to a

  • Reg: JDBC Adapter without Update Query

    hi friends i have designed a scenario where JDBC as a sender. i need to configure the adapter without using update query

  • JVM problem in installing oracle9i on Red Hat Linux ver 4.18

    Hi , I am facing problem in installing oracle 9i on Red Hat Linux ver 4.18 Error are " Initializing Java Virtual Machine from /tmp/OraInstall2007-06-10_12-11-22AM/jre/bin/java. Please wait... Error occurred during initialization of VM Unable to load

  • Help please! Macbook running very slow after Yosemite!

    Please help me figure this out. I am a Mac Newbie (inherited a MacBook) Here are my EtreCheck results: Problem description: MB running super slow after yosemite! EtreCheck version: 2.1.2 (105) Report generated December 13, 2014 at 10:16:11 PM CST Har