Change the font size in the ABAP report

Dear all,
Does anybody know how to change the font size in abap report.
Regards,
Luke

Hi,
    Font size in ABA reports can be changed using  PRINT-CONTROL COMMANDS. Here i provide you the code and description of using print commands to change the font size.
Be aware that the PRINT-CONTROL is not supported in SAP Enterprise 4.7
For your information, SAP cannot provide any support to error caused by print control command 
(see SAP OSS notes 66478). 
* Parameters for function below should be taken from your printer
* configuration in SAP - check SPAD transaction -
* standard print control
* print-control position 1 function: 'CI006', 'SF015'.
* Submitted by : SAP Basis, ABAP Programming and Other IMG Stuff
*                http://www.sap-img.com
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
* Start of print-control
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
SKIP.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
SKIP.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
* Depending on your SAP printer device, this may also work
PRINT-CONTROL FONT 1 LPI 6.
* you can try to change font and LPI numbers
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
* End of print-control
NEW-PAGE PRINT OFF.
*--- End of Program
Hope this solves your problem.
Thank you,
Pavan.

Similar Messages

  • Increasing the font size of an ALV report while printing it.

    The requirement is to increase the font size of an ALV report while printing it. The ALV Report is coded using the Factory method.
    I could find a class called CL_SALV_ITEM with a SET_FONT method but I am not sure how to link it with the CL_SALV_TABLE class from which the display table has been created. I even tried checking the report display in SPOOL transaction SP01.But I guess the font shown there depends on the SAP GUI settings.
    Do you have any suggestions?
    Thanks and regards
    Sathya

    The status bar is a fixed fontsize which does not change. While I have no problem reading the time off the status bar you should also have the time on the lockscreen and/or glance screen with a much larger font so I do not really see the issue.
    I have all my music on SkyDrive so would not know for sure, but check out THIS to see if it serves your needs.
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • How can I change the font size on the post of WordPress?

    I have found three websites which address WordPress style sheets:
    Playing With Fonts: http://codex.wordpress.org/Playing_With_…
    Font Size and Color: http://en.support.wordpress.com/editors/…
    How to Change Font Size In Wordpress: http://www.ehow.com/how_5469172_change-f…
    Here are the instructions from the third website above:
    Things You'll Need:
    Site designed in Wordpress
    Administrator access
    Step 1
    First, to change the font size on a Wordpress site you need to log into the site as administrator. If you do not know how to reach the login page, simply add "/wp-login.php" after the "www.url.com" address. Then login using the admin sign in.
    Step 2
    Next, get to the Wordpress file editor by going to Appearance->Editor.
    Step 3
    Once in Editor, identify the Stylesheet file (style.css) and click to edit. This is usually located on the right hand side under the "Styles" heading.
    Step 4
    Once in the style.css file, you want to conduct a search for "fontsize". This parameter is used throughout the style.css file and is the parameter used to control font size. Next to "fontsize" you will see something like "16px". Simply increase or decrease the "16" to change font size. The tricky part is to figure out which "fontsize" you want to edit.
    The way to do this is to first look at the heading it is under. If it is under "comment-template", it is obviously related to either the font size of the comments themselves or perhaps the comment form or the date/time stamp of the comment.
    It may take a little trial and error to find the right "fontsize" to modify. Simply modify the one you think is correct and in a separate window, reload the page with the font you are looking to modify. If it did not change, undo the previous edit and try a different "fontsize".
    I went to the Dashboard and clicked on the “Appearance” icon on the left-hand side, and then clicked on editor. I clicked on Stylesheet (style.css), but I have not been able to find the “fontsize” that would change my post font size. As the author writes: "The tricky part is to figure out which "fontsize" you want to edit." Some of the font sizes are given as a percentage, and I don’t know if these come into question, i.e., if I should try changing one of these to see what happens.
    The end result is that I still have not been able to change my post font size, other than by using the Heading-1-through-6 option, which, I understand, is not the best way to do it.

    From John Waller: “If you're using IE8, hit F12 to launch Developer Tools which give you a point and click method of locating the relevant CSS rule on screen.”
    I have Internet Explorer 8 (IE8) so tried this method.
    This sounded like another promising possibility; however, I have not been able to change the font size in my post using this method.
    I have gone to Dashboard > Posts > Edit > then moused-over my post > clicked on "edit" and then hit F12. An enormous amount (20 pages or more) of CSS appears. I tried picking out the font size that I thought pertains to the post (under Text Area), and I have changed the font size from 13px to 24px; however, I have not been able to “save” the new setting. When I go back to it, it is back to 13px.
    As a result, I have not been able to use a trial-and-error method to establish which font size I must change in order to change the font size of my post.

  • Is there any way to change the font size of the text in the Finder Sidebar?

    This may sound like a bit of a dorky question but here goes nothing...
    I am rather near-sighted and in need of new glasses but I am stuck in a holding pattern until I can get a referral to see my eye doctor. Anyway... I have found myself using the Zoom features far more often and increasing the font size in the Finder for the Item Names & Info.
    The problem that I am facing now, is that the font size of the text in the sidebar is FAR SMALLER than the font size of the text of the actual file names & info.
    +*IS THERE ANY WAY TO INCREASE THE FONT SIZE OF THE TEXT IN THE SIDEBAR??*+
    So far I have looked in:
    *The Finder Preferences
    *The Desktop Preference Pane
    *The Appearance Preference Pane
    *The Seeing Tab of the Universal Access Preference Pane
    And to add to my frustration I have also searched the Mac OS X Help AND all of the posts in this thread (back to 1/1/09) that had the word "sidebar" mentioned in them!!
    +*DOES ANYBODY HAVE ANY OTHER IDEAS?? OR IS THIS ONE AREA THAT I AM OUT OF LUCK BECAUSE APPLE DIDN'T FORESEE THIS ISSUE??*+
    Usually, Apple is really very good about foreseeing any possible trouble (ESPECIALLY when it comes to the area of Accessibility for people w/ disabilities!!)
    I do hope that SOMEBODY can help me on this one!!
    Also, I noticed that the size of the text that is on the Toolbar is also the same ITSY BITSY font size as the text on the sidebar, but I am guessing that there is next to nothing that can be done about that!!
    Thanks a Million!!
    +~Kathryn A.+
    P.S. Here is the link to a screenshot that I took that will illustrate my problem more clearly...
    Icon View Screenshot: http://screencast.com/t/gzDONwN3

    Hi! The only way I know of is changing the screen resolution. Tom

  • Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exact

    Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exactly same word file on exporting it from its pdf counterpart?

    I was testing the preciseness & efficiency of Adobe acrobat x professional's doc conversion capabilities. As i have to take a document editing project in future which is going to need lot of pdf to word and vice versa conversions . What I did was I created a test word document converted into a pdf using a pdf maker in my word 2007 , Acrobat did convert the document from word to pdf keeping everything in the source file intact , However when i tried the other way round and attempted to convert the same pdf to word 2007 file format I lost my formatting ?So the font that I used to create the pdf are the ones taken from word 2007 which i believe is using the fonts that are installed in my computer. Any suggestions on how to preserve the formatting of the document after converting it from pdf to word file format?
    Regards
    Mike

  • Is there a way to change the font-size in the html element

    I notice that by default, the font-size in the boilerplate.css file is set to 100%. Is there a way to set it to something else such as 62.5%? I would like to see exactly what my content will look like in my WordPress theme. I build my themes using a font-size of 62.5%. This make's it very easy to do the arithmetic when using the "rem" unit.
    I tried manually changing the size in the css boilerplate file but that did not work. If this cannot be done in the current version, I may be a usful feature in a future version. Thanks.

    If you click on "Body" in the status bar and select the Styling tab, you can set the text properties that cascade from the body element.

  • How to change the font size of the string by using java?

    I wish to change the font size of the text, read from a text file by using java. Please send me the sample codes. By using ActiveX component for word we can do it. Please give me any other solution to suit the platform independ. Thanks in advance.
    thanks,
    Karthik.

    Text is displayed in some kind of text component - JTextField, JTextArea, JTextPane....To change the font of the text you change the font associated with the text component:
    textComponent.setFont( .... );

  • How do you change the font size under the event and iphoto view photos?

    I would like to change the font size in iPhoto under the photos that appear in the Events view and in the Photos view. I was told by a tech at Apple that it cannot be done because it is built into the software. What you see is what you get. That seems unusual because the font size in the Photo view is smaller than that in the Events view. The Font control that exists in File/Edit are for fonts used when you open a photo and add your own captionI and have nothing to do with the various views. Does anyone know a way to do this?   Thanks

    I'm afraid it really is WYSIWYG. It can't be changed.  You can send a feature request to Apple via http://www.apple.com/feedback/iphoto.html.
    OT

  • How to change the font size of the text that is revolving ?

    Hi there,
    I am using the Revolution theme.
    How to change the font size of the text that is revolving (on the first menu page) ?
    Thanks

    You can't.  That's hard coded into the theme.
    OT

  • How can you change the font size in the application and system headers?

    How can you change the font size in the application and system headers?  I searched the system and finder prefs to no avail.  Changing the screen density is not a good option.
    Thanks

    I downloaded Tinkertool.  Found the font section and increased the size of most selections.  The only thing that changed that I can see is the window label.  The apple line, bookmarks line, the tool bar in safari are all the same---font size of about 4.  Found the finder "show view options" but that didn't seem to change anything either.  I'll keep working.  Restarted all apps after changes as well.

  • How can I change the font size on the Mail program?

    How can I change the font size on the Mail program?  The text is quite small right now.

    Go to fonts and colors in Mail preferences and there you can change the font or size for the different parts of Mail.

  • How can I change the font size in the contacts win...

    I can change the font size in the Message window,  but the text that I type is too small for me to read, and I'm making a lot of typing mistakes.
    For the most part,  I need every font in Skype to be made larger.   I'm visually impaired,  and using skype is straining my eyes trying to read my skype messages.

    Sawry no can do.
    You can use control and 2 finger push to zoom if that helps.

  • How to increase the font size of the report output in the printout.

    Hi Team,
    i have a requirement like to print the report output as a direct print from an internal table.I am using the below mentioned code, the output is printing fine but the Font size of the output text is so small so i need to increase the font size of the text of output data.
    call function 'GET_PRINT_PARAMETERS'
       exporting
         immediately                    = 'X'
         line_count                     = 65
         line_size                      = 320
         mode                           = 'CURRENT'
         no_dialog                      = ' '
         release                        = 'X'
         user                           = sy-uname
       importing
         out_parameters                 = st_param
       exceptions
         archive_info_not_found         = 1
         invalid_print_params           = 2
         invalid_archive_params         = 3
         others                         = 4.
      if sy-subrc eq 0.
        new-page print on parameters st_param no dialog.
    could you please suggest me how to increase the font size while printing the report output..
    Thanks in Advance.
    Puneet.

    hey,
    in our system when we click on print. on widow is coming.
    there is a properties button.
    we click on it.
    there FORMAT----AND then we select forat from there and then printing .
    not sure. but check on ur system. is there properites button.
    HI,
    READ THIS,
    You can specify attributes such as the character width and font size in the device type formatting yourself.
    contact ur basis team .
    in the report PRINT-CONTROL SIZE option is there. try to find more o this.

  • I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resoluti

    I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resolution, to no avail.
    David.

    Paragraph breaks are good for readability. ;-)
    Have you noticed any difference between your MacBook and others at the Apple store? Wondering whether this is a configurable setting at the system level, i.e., DPI.
    You can default Firefox to a larger zoom level to avoid having to zoom every page. You'll still be able to adjust the size for individual sites as needed. It sounds as though you are aware of these add-ons:
    * Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    * NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    There are some discussions about changing coming in Firefox 22 (I think) to address higher density displays like the Retina display. So perhaps there will be a built-in setting to address this in the future.

  • Decreasing the font size in a Classical report

    Hi all,
    i have to decrease the font size in the output of a classical report while printing. I have tried the following snippet:
    NEW-PAGE PRINT ON LINE-SIZE zeichen_pro_zeile
                        LINE-COUNT zeilen_pro_seite
                        NEW LIST IDENTIFICATION rl04i-prnew
                        KEEP IN SPOOL rl04i-prrel
                        IMMEDIATELY rl04i-primm
                        LIST NAME rl04i-plist
                        DESTINATION drucker
                        NO DIALOG.
    *PRINT-CONTROL  LPI 6.
       PRINT-CONTROL  LPI 10.
    but this is not working fine.
    Can anybody suggest something about it?
    Regards,
    Divya

    Hi,
    It is not possible to decrease the font-size in a classical report.
    We don't have any option to format the output in the reports..
    As per my knowledge, it is not possible to decrease or increase the font size in a classical report..
    one thing u can do is to do some setings at the printer side...
    Cheers,
    Simha.

  • How do I change the font size of the "typewriter tool" when filling out a form?

    How do I change the font size of the "typewriter tool" when filling out a form?
    == This happened ==
    Not sure how often
    == The typewriter tool works, but the font is very tiny.

    You can set a minimum size for the Monospace font:
    Tools > Options > Content : Fonts & Colors: Advanced > Monospace

Maybe you are looking for