Reg SAPScript New Font

Hi Friends,
I have a question regarding SAP Script. I need to change the existing font of one text to Arial Font. So I have to create a new Paragraph format while creating I couldnt find the Arial Font....
How do I achieve this...
Your help will be appreciated....

Hi Friends,
In a SAPscript form , I believe Paragraph formats, Character formats, Layout , Windows and Page Windows are found at the top ( below the menu bar ).
I couldnt find Windows and Page Windows in my Sapscript. As I need to edit some of the Windows & its texts is there any other way apart from going through the layout set.
Your suggestions will be appreciated....
Leo

Similar Messages

  • How create new font in sap

    Hi,
    We want use Times roman in our smart form.
    i tried to load the fonts using spad and se73.
    still it is not reflecting in the report.
    regards,
    viren.

    Hi,
    Apart from SE73 i think that you have to create a new print control, which will probably contain the name of the font in hexadecimal code. I am not very sure of that but you can find the following SAP note a bit helpful...
    <b>SAP Note Number: 12462
    How can I define a new printer font?</b>Version: 7, Note Language: EN, Released on: 28.08.1998
    Symptom
    Key word:  Printer font
    What settings have to be made to define a new font for an R/3 device type (that is, a new printer font) that can be used for SAPscript documentation output.
    Additional key words
    Printer, font, printer font, device type, fontmetrics, AFM file, SE73
    Cause and prerequisites
    You would like to use a new font on the printer.
    Solution
    General advice:
    1. This procedure can be used only if the desired font is available on the printer (that is, installed on the printer itself, installed via font cassette, resident in the printer via softfont download or, in case of device type SAPWIN/WIN, installed on the Windows PC) and can be called with a short printer command (max. 29 bytes). This printer command is maintained in the print control.
    Solution procedure:
    1. The original SAP printer type used previously must be copied to a customer printer type with a name starting with Z... (see Note 3166 for reasoning behind this). The function "Utilities->Copy device type" from transaction SPAD (spool administration) is used for this.
    Example: HPLJIIID is copied to ZHPLJ3.
    2. A new print control SFxxx must be maintained for device type Z.... It contains in most cases the printer control commands for setting the desired font. To find out what this printer command looks like, refer to the printer manual and the print controls SFxxx already contained in printer definition  Z... . A certain amount of knowledge of the printer language is a prerequisite. The xxx numbering of the SFxxx print controls is arbitrary.
    NOTE: The exact contents of the SFxxx print controls depend on the SAPscript printer driver used. For information on this, consult the CD documentation ("Basis system administration printer handbook") and the field documentation (F1 help) for input field "Print control" in SE73, Printer font maintenance.
    Printer driver HPL2 (PCL 5 printer):
    SFxxx must contain the PCL 5 command for character set and print selection. CAUTION: As of Release 4.0A there are special rules which apply if the flag "Scalable font" is activated.
    Printer driver POST (Post script printer):
    SFxxx must contain the name of the Post script font, for example "Helvetica"
    Printer driver PRES (Kyocera PRESCRIBE printer):
    SFxxx must contain the PRESCRIBE command "FONT xx:" for font selection, for example "FONT 42;"
    Printer driver SWIN (Windows print via SAPWIN/SAP1pd):
    SFxxx must contain the Windows font name. CAUTION: As of Release 4.0A special rules apply if the flag "Scalable font" is activated for the printer font.
    Printer driver STN2 (Target printer):
    SFxxx must contain the complete command for the selection of the
    character set, the increment, bold and italic print and font.
    Print control SFxxx is defined for device type Z... in transaction SPAD under the heading "Print control for device type". Example: print control SF900 for device type ZHPLJ3 with replacement text (i.e. printer command)
    1B28304E1B28733070313068313276307330623354 is created.
    3. In the SAPscript font maintenance transaction SE73 under "Printer fonts", a new entry must be made for the desired font on the desired device type. The following information must be given:
    &#61607;     device type  Z...
    (printer type to which the font belongs)
    &#61607;     family   ....
    (Font name used in R/3, for example COURIER, HELVE, LETGOTH, LNPRINT, TIMES)
    &#61607;     size      ...
    (Font size 1/10 point, for example 240, for printer drivers that support scalable fonts, 000 is entered here)
    &#61607;     bold      .
    (X if bold type, otherwise blank)
    &#61607;     italic    .
    (X if italic type, otherwise blank)
    &#61607;     CPI       ..,..
    (number of characters per inch (CPI)
    If font is not a proportional font (for example HELVE,TIMES),
    for example 05.00)
    &#61607;     PrtCtl 1 SFxxx
    (Refer to field documentation (F1 Document) for exact meaning. The name of the 2nd created printer control is normally entered here.
    &#61607;     PrtCtl 2 SFxxx
    Refer to field documentation (F1 document) for exact meaning. The name of the 2nd created printer control is normally entered here.
    If the font is a proportional font (HELVE or TIMES), an AFM file that contains the width values for the individual characters in the font must be entered under "Printer fonts" in SE73. Direct maintenance of the AFM data is done from the list of printer fonts with Menu "Edit -> fontmetric using a menu function. To do this you place the cursor on the line with the newly created printer font and choose "Edit->Copy fontmetrics" on the menu. If you have created, for example, a new printer font
    ZHPLJ3 HELVE 200 _ _
    you can copy the metric of
    ZHPLJ3 HELVE 160 _ _
    here.
    Releases before 3.0A do not have this menu function, and you must manually copy the AFM files from the group box to the new printer font via the XX.XX function in the AFM editor. Then the new AFM files can be checked for correctness (Menu "Fontmetrics ->Check") and saved.
    As of Release 3.0 it is possible to establish a link to the fontmetrics of another device type or to a default (all characters with width 500) instead of copying the fontmetrics explicitly. You can check the correctness of the complete font definition in SE73 in the list of printer fonts with the function "Edit->Generate font def.".
    4. As a final step, the device type of the output device used must be changed from the SAP original to the new printer definition Z... in transaction SPAD. This is done in SPAD under the heading "Output devices".
    Example: printer LP05 previously had device type HPLJIIID and is now being given device type ZHPLJ3.
    Source code corrections
    Thanks and Regards,
    Bharat Kumar Reddy.V

  • Add new font types to SAP GUI

    Hi,
    I'm trying to add new font types to SAP GUI to be available to edit smartforms and mail forms, but, after I do the upload in SAP system (by SE73 transaction)of ARIAL font, when I associate it to a smartstyle, what really appears with ARIAL name is a Times New Roman font example.
    Greetings,
    Nuno Moreira

    Hi Nuno,
      Maybe this question isnt corresponding with this forum. But I have a thread with the answer... look at
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards.
    Manuel

  • How to install new Fonts

    Hi everybody,
    only with one question, i need to create a new style for my SAPscripts printing and when i create my Paragraph(SE72) and try to use a size for times new roman font, the system send me a message informing that there isn't this font size for <b>times new roman</b>,
    question, somebody knows, how to add new sizes? or fonts to my SAP client!? or what can i do, if i need a specific font size and my SAP doesn't have it.
    Regards and thanks
    Emilio

    Check the below link:
    http://www.sap-basis-abap.com/sapbs043.htm
    Create a new font type with the spool administrator (SPAD)
    When you need some different fonts other than those available in the standard SAP system, you'll have to create those different fonts size manually for the device types that you are using.
    http://www.sapfans.com/forums/viewtopic.php?t=258700&sid=e023b90008c9ee1843c00fc3cf2fcee6
    Prakash.
    COPY SAP STANDARD DEVICE TYPE TO ZXXXX e.g. ZHPLJ4
    SPAD - Spool Administration
    Full administration
    Device Types - ZHPLJ4  (then click Device Types)
    Utilities -> For device type -> Copy device type
    Print Controls - Copy an existing Print Control and change the ControlCharacter sequence
    SE73 - SAPscript Font Maintenance
    Printer fonts - Change
    Double click on the ZXXXX device type
    Create
    Font family   COURIER
    Font size     030
    Characters per inch 21.00
    Print control 1 SFXXX
    Print control 2 SFXXX

  • Error when installing new font ?

    When I try to install a new Z-font with SE73 from my c:\windows\font directory I get an error
    True type table is missing PCLT
    did I mis a step in the installation of a new font ??
    how can I solve this, I can use the font in my sapscript but it doesn't print my font but the 'if not available' font instead which is helvetica
    thanks already for vlauable input

    thats a bit confusing, it's a red message but it says warning
    I tried the other programm mentioned above but still I get the same warning.
    in the report it's clear that the font installed is not used in the output on the screen. I can add the font in my sapscript but the output is not the font specified.
    the font installed is Lucida sans EF which is part of the 'company' style but till now not yet implemented in SAP.
    oops it's working now, new learning moment for me. never look at preview on screen for the kind of font you want to see , thanks for the input and confirmation of the procedure
    Message was edited by:
            A. de Smidt

  • New font for script

    hi,
    is it possible for me to add a new font, which is not in the SAP?
    currently i need to add a font "Gill_Sans" into my PO, using script.
    i tried to seach under the font family in the display paragraph location in Script, but cant find it.
    can anyone please teach me how am i going to add this or change on it? thanks

    Hi,
    Import new Font in SAP Script/ Smartforms.
    Check the below link:
    http://www.sap-basis-abap.com/sapbs043.htm
    Create a new font type with the spool administrator (SPAD)
    When you need some different fonts other than those available in the standard SAP system, you'll have to create those different fonts size manually for the device types that you are using.
    http://www.sapfans.com/forums/viewtopic.php?t=258700&sid=e023b90008c9ee1843c00fc3cf2fcee6
    COPY SAP STANDARD DEVICE TYPE TO ZXXXX e.g. ZHPLJ4
    SPAD - Spool Administration
    Full administration
    Device Types - ZHPLJ4 (then click Device Types)
    Utilities -> For device type -> Copy device type
    Print Controls - Copy an existing Print Control and change the ControlCharacter sequence
    SE73 - SAPscript Font Maintenance
    Printer fonts - Change
    Double click on the ZXXXX device type
    Create
    Font family COURIER
    Font size 030
    Characters per inch 21.00
    Print control 1 SFXXX
    Print control 2 SFXXX
    Reward points if this Helps.
    Manish

  • Issue with adding new fonts in Lion

    I'm trying install two new fonts on my Mac Book Air and cannot get it to allow me to add them to the Font Book. (I've just successfully added the same fonts on to my Mac Book Pro which runs Snow Leopard, so this is definitely a Lion issue.)
    I've created a new font library and then tried adding the fonts to it but it refuses to validate the font saying that '1 serious error was found. Do not use.'  Any ideas of how to remedy this as I urgently need to use the font?
    Many thanks.

    Derp Derp Derp?? TestDerp Then Derpy Derp Derp

  • How to add a new font into Report Builder and Oracle Forms/Reports Server?

    Hi,
    I've searched the forum and can't find this being discussed.
    My developers run Report Builder 10.1.2.0.2 on their XP laptops.
    Their reports run (in production) on Oracle Forms/Reports Server 10.1.2.0.2.
    This server runs on MS Windows 2003, SP2.
    They've got a client who wants reports using the "Garamond Western" font.
    So....how do I get this font onto the developer's Report Builder laptops, and onto the Oracle Forms/Reports Server?
    I've moved various 'Garamond' fonts into C:\WINDOWS\FONTS on both the laptops and the server, but neither seem to recognize it.
    Thanks for your help.

    Thanks.
    This answers 1/2 of my question.
    The developer can now use Report Builder on his laptop, with the new fonts.
    But when he moves this new Report to the Oracle Application Server/Forms-Reports Server, it fails to use the new fonts.
    The Oracle App Server/Forms-Report Server is Version 10.1.2.0.2. It runs on MS Windows 2003, SP2.
    I have installed the exact same fonts on this server, into C:\WINDOWS\Fonts.
    I have used REGEDIT to change REPORTS_PATH....and placed C:\WINDOWS\Fonts; as the first value in this field.
    I have then stopped and restarted the Forms-Reports Server.

  • New fonts look fine in Font Book don't work in apps

    I need someone's help. I understand that to install new fonts I can either bring them into my font book (and chose whether they apply to a user or to the system) or can drag them directly into library/fonts or user/library/fonts. I am looking for some new foreign language fonts (e.g. hebrew - cursive, for example). I found some possibilities - ttf fonts - downloaded them, put them into my font book, they validated fine and within the font book they look right (i.e. as they are supposed to). I then quit the font book and go into my app, and it's not happening. When I go into MS word (2008), they don't all appear in the various menus (e.g. I made a font collection for one set, and only two appear in that collection), and when I go to use the ones that appear the font does not look much different from the latin alphabet font that was there before. So, I then tried Apple Mail and, while all the fonts appear in the font collection folder, when I choose any of them, same thing, my test letters are still in the same alphabet - size and intensity a little different, that's all.
    Someone told me that for MS Office that there is a separate folder somewhere for office fonts - is that true - where is that? Also, why aren't any of my fonts doing what they're supposed to do in a native Mac application, Apple Mail, despite the fact that they look as advertised in my font books?
    Frustrated & confused...

    my test letters are still in the same alphabet
    To generate non-Latin text in a modern OS you can't just change the font, you need to change the keyboard layout. Go to system prefs/international/input menu and check the box for Hebrew or whatever you want, plus the box for "show input menu in finder." Then select Hebrew in the "flag" menu at the top right of the Finder and type.
    You need to make sure you use Unicode fonts. Also MS Word does not yet support correct Hebrew, so use another app. For that script, Mellel is the best. See the applications section of this note:
    http://homepage.mac.com/thgewecke/TypingHebrew.html

  • How do I add a new font to the list?

    In "Tools/Options/Content/Advanced" how do I add a new font to the list? I have "Comic Sans MS" listed for one of the options, but the drop-down menu does not contain that option, so I can't select it for another font option.

    Thanks for your reply.
    As to your question: No, of course I wouldn't scroll down, it's in alphabetical order, so why would "C" for Comic Sans MS be anywhere but between B and D on the list?
    Now a question for you: If person or group was going to alphabetize a list and then break it down into sublists, why would he, she, they not include headers for each portion and maybe even indent each font name, so a person might have a chance of getting the drift?
    Also, how do you add new fonts to the list?

  • How do i download a new font from the web then add it so i can use it freely in 'word'?

    I am having terrible difficulty using a font that i down loaded on to my macbook pro. I can see it in my font book but no matter what i do it does not appear in my 'Word' font library. Its in Font Book but it seems set to stay there and do nothing. Im tearing my hair out here! In simple simple simple terms can anybody give me step by step info on how to down load a new font then get it so it can be used just like all the pre list fonts?

    Have you tried restarting the MBP? (Btw, you should post this question in the Snow Leopard forum -- there's nothing here specific to the MBP.)

  • How can I add a new font to pages?

    I want to add a new font to page.  How do I do that?

    Download new fonts from the Internet (e.g. 1001fonts.com), and then open the file once downloaded. This will launch the application FontBook. It will ask "Install the font?" Click "OK", and you will be able to use the new font in Pages, TextEdit or other word processors. (You may have to re-start the application for it to recognize it.)
    Bonus info: pressing command–t in many applications opens you computer's font control panel.

  • How to add a new font to font Book

    I need to import a new font into font book for use. The font I have downloaded appears as a blank file (I don't know if I am explaining this correcly). When I try to locate this file thorugh the finder in appears greyed out and I can't select it. I have right clicked on it and specified that it be opened with font book; however, I cannot ever view it within font book. Perhaps it is not a valid file foramt for mac. Here's is a screenshot as the file appears on my desktop:
    http://i20.photobucket.com/albums/b250/cshenderson/Picture1.png
    Please help me get this resolved. How can I be able to use this font?

    mahongue, sorry to interrupt here ...
    Last September you posted a problem you were having with your connection speed. I'm having a similar issue, and wondered if/how you managed to fix the problem.
    (Sorry to hijack this discussion, but I couldn't find your email address in your profile.)
    15-inch PowerBook G4 (Jan. 2005)   Mac OS X (10.4.5)  

  • Add a new font in the online Layout editor in BI Publisher (OBEE 11g)

    Hi ,
    Possible to add a new font in the online Layout editor (Font list) in BI Publisher (OBEE 11g).
    Thanks,

    In the layout editor, you can simply drag the fields so they don't overlap.
    See http://www.youtube.com/watch?v=7emNa7THMLg
    Sandeep Gandhi

  • Memory Leak with new Font()

    Hello all,
    Not sure if this is the right place to post this but here goes. I have a program that needs to change the font of at least 250,000 letters, however after doing this the program runs slow and laggy as if changing the fonts of each letter took up memory and never released it? Here is a compilable example, Click the button at the bottom of the window and watch the letter it is currently working on. You will notice that around 200,000 it will begin to not smoothly count up anymore but count in kind of a skipping pattern. This seems to get worse the more you do it and seems to indicate to me that something is using memory and not releasing it. I'm not sure why replacing a letter's font with a new font would cause more memory to be taken up I would think if I was doing it properly it would simply replace the old font with the new one not taking anymore memory then it did before. Here is the example: This program sometimes locks up so be prepared. If someone could maybe point out what is causing this to take up more memory after changing the fonts that would be great and hopefully find a solution :) Thanks in advance.
    -neptune692
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package paintsurface;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.util.List;
    public class PaintSurface implements Runnable, ActionListener {
    public static void main(String[] args) {
            SwingUtilities.invokeLater(new PaintSurface());
    List<StringState> states = new ArrayList<StringState>();
    Tableaux tableaux;
    Random random = new Random();
    Font font = new Font("Arial",Font.PLAIN,15);
    //        Point mouselocation = new Point(0,0);
    static final int WIDTH = 1000;
    static final int HEIGHT = 1000;
    JFrame frame = new JFrame();
    JButton add;
    public void run() {
            tableaux = new Tableaux();
            for (int i=250000; --i>=0;)
                    addRandom();
            frame.add(tableaux, BorderLayout.CENTER);
            add = new JButton("Change Font of letters - memory leak?");
            add.addActionListener(this);
            frame.add(add, BorderLayout.SOUTH);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(WIDTH, HEIGHT);
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
    public void actionPerformed(ActionEvent e) {
        new Thread(new ChangeFonts()).start();
    void addRandom() {
            tableaux.add(
                            Character.toString((char)('a'+random.nextInt(26))),
                            UIManager.getFont("Button.font"),
                            random.nextInt(WIDTH), random.nextInt(HEIGHT));
    //THIS CLASS SEEMS TO HAVE SOME KIND OF MEMORY LEAK I'M NOT SURE?
    class ChangeFonts implements Runnable {
        public void run() {
        Random rand = new Random();
            for(int i = 0; i<states.size(); i++) {
                font = new Font("Arial",Font.PLAIN,rand.nextInt(50));
                states.get(i).font = font;
                add.setText("Working on letter - "+i);
    class StringState extends Rectangle {
            StringState(String str, Font font, int x, int y, int w, int h) {
                    super(x, y, w, h);
                    string = str;
                    this.font = font;
            String string;
            Font font;
    class Tableaux extends JComponent {
            Tableaux() {
                    this.enableEvents(MouseEvent.MOUSE_MOTION_EVENT_MASK);
                    lagState = createState("Lag", new Font("Arial",Font.BOLD,20), 0, 0);
            protected void processMouseMotionEvent(MouseEvent e) {
                    repaint(lagState);
                    lagState.setLocation(e.getX(), e.getY());
                    repaint(lagState);
                    super.processMouseMotionEvent(e);
            StringState lagState;
            StringState createState(String str, Font font, int x, int y) {
                FontMetrics metrics = getFontMetrics(font);
                int w = metrics.stringWidth(str);
                int h = metrics.getHeight();
                return new StringState(str, font, x, y-metrics.getAscent(), w, h);
            public void add(String str, Font font, int x, int y) {
                    StringState state = createState(str, font, x, y);
                    states.add(state);
                    repaint(state);
            protected void paintComponent(Graphics g) {
                    Rectangle clip = g.getClipBounds();
                    FontMetrics metrics = g.getFontMetrics();
                    for (StringState state : states) {
                            if (state.intersects(clip)) {
                                    if (!state.font.equals(g.getFont())) {
                                            g.setFont(state.font);
                                            metrics = g.getFontMetrics();
                                    g.drawString(state.string, state.x, state.y+metrics.getAscent());
                    if (lagState.intersects(clip)) {
                    g.setColor(Color.red);
                    if (!lagState.font.equals(g.getFont())) {
                        g.setFont(lagState.font);
                        metrics = g.getFontMetrics();
                    g.drawString("Lag", lagState.x, lagState.y+metrics.getAscent());
    }Here is the block of code that I think is causing the problem:
    //THIS CLASS SEEMS TO HAVE SOME KIND OF MEMORY LEAK I'M NOT SURE?
    class ChangeFonts implements Runnable {
        public void run() {
        Random rand = new Random();
            for(int i = 0; i<states.size(); i++) {
                font = new Font("Arial",Font.PLAIN,rand.nextInt(50));
                states.get(i).font = font; // this line seems to cause the problem?
                add.setText("Working on letter - "+i);
    }

    neptune692 wrote:
    jverd wrote:
    You're creating a quarter million distinct Font objects, and obviously you must be hanging on to all of them because each character is having its font set to the newly created object. So if you have 250k chars, you're forcing it to have 250k Font objects.
    Since the only difference is that rand.nextInt(50) parameter, just pre-create 50 Font objects with 0..49, stick 'em in the corresponding elements in an array, and use rand.nextInt to select the Font object to use.That does make sense but it does that when the the program is first launched and doesn't lag. But the second and third time you change the letters font it seems to lag so if it wasn't taking up more memory the second time it should perform like it did when it first launched. I don't care to investigate any further. The real problem is almost certainly the quarter million Font objects. It could be that 250k is fine, but by the time you get to 500k, it has to do a lot of GC, and that's where the slow down is coming. You might even be able to make it work better with the code you have just by tweaking the GC parameters at startup, but I wouldn't bother. Fix the code first, and then see if you have issues.
    Does creating a new font for each of those letters not replace the old font object? If it didn't use more memory the second and third time I don't think you would see the skipping in the counter and the slowing down of the iterations. So it must be remembering some of the old font objects or am I wrong?Using new always creates a new object. When you do it the second time around, and call letter.setFont(newFont), the old Font object is eligible for GC. That doesn't mean it will be GCed right away though. The JVM can leave them all laying around until it runs out of memory, and then GC some or all of them.

Maybe you are looking for

  • Path of the style and colour file in 10g

    Hi all, I need to be same colours and styles as default in 10g to maintain in 11g dashboads.for this task 10g style and colour default file is going to be paste at 11g.where is the path of that file ion 10g and where i have to place?if any one knows

  • Need help in how to combine select statement

    Hi, Table1 (VIEWREST2005) - ip - msg - fulldata - ID Table2 (L200505) - ip - msg - fulldata I want to create one sql that can select from table 2 to table number 1. This is my select statement, but it cannot running. The different between this 2 tabl

  • Table and TabbedPane (JavaFX1.2)

    Hi, i'm not understanding how to create Table and TabbedPane in JavaFX1.2. Somebody help-me with tutorials or code. With JavaFX 1.0(Tabel)*_ import javafx.ui.*; import java.lang.System; var N = 4; Frame {     title: "Tabel JavaFX"     width:  300    

  • What are the conditions to use hotpatch

    Hi Experts. What is the criteria for deciding whether hotpatch can be used? From what I gather, the following is used as a guide: the patch is small it doesn't update any executable Is there anything else I should check? Thanks in advance, DA.

  • Oracle Workflow server

    Hi, I am looking at installing the Oracle workflow server to be able to run process flows in OWB. I am running on an Oracle 9.2 database and owb10R1 version. I understand there is no 'companion cd' for the 9i database and im not sure about how and wh