Font Size Using PRINT-CONTROL

Hi All,
I am converting classical report list into PDF format. while converting PDF I need to change the font size and type.
For this i am using print-control in the code, but the font size and type are not changed in the PDF file.
My code is as follows.
PRINT-CONTROL SIZE 001 FONT 001.
Also I am using for below code for bold letters.
PRINT-CONTROL FUNCTION: 'SABLD' LINE 1,
                        'SAOFF' LINE 10.
it is also not reflecting the PDF file.
Can anyone please tell me why these changes are not affected.
Thanks & Regards,
Murali.

Problem Solved

Similar Messages

  • How to use print control in Sap script

    I would like to use print control in Sap script.Actualy my problem I have security font Troy ECF. Using this font I would like to print amount field in Check printing.
    we count download this font with sap .we talked to customer care they told we should hard code in sapscript. pls can any1 help on this how to do and how to use print control for this fonts.

    call this funcation. crate_text.
    CALL FUNCTION 'CREATE_TEXT'
             EXPORTING
               FID               =
               FLANGUAGE         =
               FNAME             =
               FOBJECT           =
             SAVE_DIRECT       = 'X'
             FFORMAT           = '*'
             TABLES
               FLINES            =
           EXCEPTIONS
             NO_INIT           = 1
             NO_SAVE           = 2
             OTHERS            = 3
           IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.

  • Change array index font size using VI scripting

    Hello All,
                         I have a array control in my front panel, I'm wondering is there any way to change that "array index" font size using VI scripting?
    Example:
    1. I have this array
    2. Manually I have changed the font size of the array in "Selection Font" panel as below
    3. Through VI scripting I'm able to control control font size, label font size.,.. But not the index font size. So it looks odd.
    4. I'm expecting to be modify this array as same as picture 1 through VI scripting.
    Note: It may not have any practical application, but some time it will be helpful for the programmers to make a quick drop. If anybody have any idea, please share.
    <Electro Sam>
    ELECTRO SAM
    For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
    - John 3:16

    Raven - you are right, Actually I'm looking for options to change the font size of the array index.
    Actually we have coding standard to follow. In that, all the front panel controls needs to be in Font size 14 and the size should be 25X120, so I'm trying to write a code which automatically converts the VI FP control sizes to be in standard size.
    I'm not only using one customer VI, I'm handling various customer VIs, so each one VI FP control sizes are different. So I'm developing this utility to standardize the VI's as per the guidelines we have.
    Except this array index most of the VI FP control elements I have handled, Only this array is troubling me.
    Appreciate your support guys, please share your thoughts.
    <ElectroSam>
    ELECTRO SAM
    For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
    - John 3:16

  • How to use Print Control in Print List.

    Please any body can explain me how to use print control when creating Print list?
    Thanks in advance.

    Please any body can explain me how to use print control when creating Print list?
    Thanks in advance.

  • Using a javascript to change the font size used by the measurement tool

    A couple years ago I saw a javascript written that would allow me to chang the font size used by the measurement tool in Acrobat 9.  When the IT department deliverd my new laptop with Acrobat X Pro, they had wiped out the script and I am not expert enough to recreate it from scratch.  Any suggestions?  I believe it was in an older post by Dave Merchant, but I truly can't find the post or a way to recreate the script.  Thanks for any help.

    Executing this code from the JS console will change the font size of all the Measurement annotations to 20. You can change the value in the first line to use a different font size:
    var newTextSize = 20;
    this.syncAnnotScan();
    var annots = this.getAnnots();
    for (var i in annots) {
        var annot = annots[i];
        if (annots[i].type=="Line") {
            var richText = annot.richContents;
            for (var i in richText) {
                richText[i].textSize = newTextSize;
            annot.richContents = richText;

  • Change font size using code

    I would like to change the font size using the xml code.
    <?draft?> is the field I am using and would like to define the size of the field / text by code.

    <fo:block font-size="14pt" font-family="verdana" color="red">
    Your test or your field
      </fo:block>

  • Increase Font-Size Using A Slider

    I am using Jdeveloper 11.1.1.6.
    I have all of the content in my tables set to 10pt using the following code in the .css file:
    af|table::data-row af|column::data-cell af|inputText::content {
      font-size: 10pt;
    }I would like to provide the user with a slider to be able to increase the font incrementally (2pts each up to 20pt).
    I assume I need to set a variable in a backing bean but I am not sure how to access the backing bean from the css file.
    Any help would be appreciated.
    Ray

    Hi,
    You can directly refer backing bean in the Font size property of component. I don't think we can access backing bean inside css but you can set the base font size using CSS then allow user to modify using backing bean.
    Zeeshan

  • How can you increase/change the font size using window.print

    We don't use BI/XML Publisher.
    I have a button with an URL Redirect to print.
    javascript:window.print();
    How can I give the user the option to print with a different font or larger size or optionally to set it the same for everyone?
    thanks
    John

    Hi,
    I would think that, generally speaking, users would print from a Printer Friendly page. This is a page template that has most of the top and bottom (that is, the tabs and footers) of a normal page removed. You can switch a page to a Printer Friendly one fairly easily - see: Re: Print Report without Template for an example. As this is a separate page template, you can use printer-only styling. The downside is that you can only have one Printer Friendly page in your application, so you have to be careful to make any styling generic.
    Andy

  • How to increase the font size of  print ouput in SAP 4.7

    Hi,
    How to increase the font size of the ouput of Write statement on PRINT ?  in 4.7
    THANKS IN ADVANCE
    MOOSA

    You can do that using the PRINT-CONTROL Statement.This will only work when you send the list to the printer.Sample code is as below :
    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

  • Change font size in TextArea control

    Dear all
    I have a number of TextArea controls which display data
    retireved through XMLConnector / PHP / dataset using Flash CS4.
    How can I change the font size (or colour) using actionscript
    2.0 in a Flash TextArea control ?
    Thanks
    Hagop

    Hi there,
    If you use html = true; you can also use html tags to make
    the size change.
    Creation site internet |
    Jeux
    Concours |
    Echantillon Gratuit |
    Radin

  • Change Report Font Size for Printer Friendly Page

    I have a report using a template of 'Reports Region' and I have a link to a printer friendly page. Because the report text is so big I would like to make it smaller. I have already reduced the width of the report region but that has made 2 page reports run into 4 pages. I tried adding tags to the page to modify it but I was only able to make the text at the top of the page smaller and not the report. I tried modifying the theme_V3.css file but I could not find a place to modify text/font size in the report (This was trial and error as I am unfamiliar with css).
    I would like to only have it smaller on the printer friendly page but if I will be forced to change it all the time I would like to know if there is at least an option.
    If the only way to make this happen is to build a custom report then so be it. (But again the printer friendly page only pulls in the current page and I want it to only be small on the printer page)
    I am on V2.2.
    Thanks

    You need to use a print media stylesheet. You'll need to find class(es) or other CSS selector(s) to attach the font size rule(s) to - look at the HTML source for your page.

  • Font size when printing from Safari to HP Photosmart 6520 printer

    I just bought a Macbook Pro 13 inch, running OSX 10.9.5.  When I try to print something from within a Safari web page to my HP PhotoSmart 6520 printer, the font is huge. Does anyone know how to adjust the font size for use with Safari. The font size seems to be ok when I print from Pages, for example. So I m thinking the issue may be limited to printing from Safari.

    No one has replied yet and HP has never played well with Apple, so the best I can do right now is to point out a site that has proven very helpful to many users wanting or needing to read up on color management and printing:
    http://www.gballard.net/psd/cmstheory.html
    Wo Tai Lao Le
    我太老了

  • Font size used in discussions is too small

    I don't know how other people think about it, but I find the default font size when reading and writing discussion extremely small. 10 point is totally insane for the high resolution displays of modern computer screens. For instance, the editor window when using a standard 1900 x 1200 resolution fits 250 characters in a line. Unfortunately this cannot be changed in the browser preferences without affecting other font sizes and thereby screwing up the page layout. I can use CMD-+/- to zooming in and out, but its just annoying.
    The current font size is difficult and tiring to work with for no good reason. It is easy for the browser to read the current screen resolution. Why can the font not simply be change to something more suitable?

    Perhaps an option to set the default font for discussion threads in the user preferences would be the best idea. One would think however that the Jive developers would have come up with something like that already.
    For what it's worth:
    http://www.w3.org/QA/Tips/font-size
    Do not specify the font-size in pt, or other absolute length units for screen stylesheets. They render inconsistently across platforms and can't be resized by the User Agent (e.g browser). Keep the usage of such units for styling on media with fixed and known physical properties (e.g print).
    Once again, I wonder about Jive development. Anyway, 10 pt is not best practice. It's standard for printed media, but not for screens. A search in Google shows that most recommend 16 pixels or more. Not sure what this is in points. I think 10 points is about 12 pixels, depending on screen dpi/ppi. I cannot imagine how tiny 10 pt must look on any of the high resolution Retina displays, which have twice or more density than conventional 72 dpi.

  • How can I increase the event font size when printing a weekly listing from Lightning?

    I find a printed weekly calendar very useful in my life. I used to use the Sunbird calendar program with the FG Print extension to increase the font size to something more appropriate for my aged eyes. Is there a way to do this with Lightning? I'm running Thunderbird 24.2.0 on Linux Mint 13, if that matters.
    Thanks in advance.

    Are you using the print formatted page for printing? You can pop that up from the '''...''' menu that appears above the item. (Screen shot example attached.)
    If that page still is too small:
    * Is Firefox using the full area of the page? If Firefox is only using part of it, this could be related to a problem reading the correct "paper size" from your printer driver. More tips on that if needed.
    * If Firefox is using the full page it might be shrinking the content to make space horizontally. In a window where you can access the menu bar, check File>Page Setup or orange Firefox button>Print>Page Setup to make sure the scaling is not set too small or, if necessary, turn off Shrink to Fit.

  • How to change font size of tree control content programati​cally

    Hi,
    Can I programtically change the font size of  parent item and child item in the tree control.
    In my application the parent and child items are changing  programatically. ie the content of tree control is not constant it is  dynamic.
    I am using labview 8.6
    Thank You
    Assumptha.
    Solved!
    Go to Solution.

    That does work...  
    To keep this line of instruction under the same title, how do you change ALL the text?  not just the active cell?  i've tried double clicking, then editing text properties using the font dialog (ctrl + 0) on a non-running vi, then saved it, and hit run.  but it always reverts to some preset font properties values, and i don't know where they're being set....???
    Any help would be greatly apprec! 

Maybe you are looking for

  • Is it possible to run the Classic Environment INSIDE Rosetta on a MacBook Pro (Early 2008) with Leopard?

    Hi there, Rosetta works up until Snow Leopard. The Classic Environment works up until a late version of Tiger. Rosetta makes apps. built for PowerPC Macs work. The Classic Environment make apps. for Mac OS 9 work on Mac OS X for PowerPC Macs. Would i

  • Resize columns in JTable

    hi there, my JTable is using AccountTableModel which is extending the AbstractTableModel. I am trying to re-arrange the column size, so that when it display will be a different length. currently they all in the same sizes, user can always rearrange t

  • Nice Page Expired Popup is not showing up

    Hello, I am using JDev 11.1.1.4 and created a new ADF Fusion Application. Then I adjusted the web.xml <?xml version = '1.0' encoding = 'UTF-8'?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"          xsi:schemaLocation="http://java.s

  • Trouble with downloaded audiobook

    I downloaded an application called Overdrive from my local library. I have no problem using Overdrive on my iPod to listen to audiobooks. The books appear in my music and I can hear them no problem. I recently received an iPad. I wanted to listen to

  • Authorization Check in Project System-CJ30

    Hi! I have a requirement wherein in the transaction CJ30 where we enter the Project budget amount , when entered it should check against the user s authorized amount and allow to go further and save or give a message saying that the following person