Characters In Footer of Script

Hi
1. I am using characters in Sap Script footer.I have created one font family using SE73. It is working fine in Development.In Quality it is not working. All the requests  was moved correctly.
2. one more issue regarding PO form. when I saw print preview of the PO the footer font is displayed one type of font.
If I converted in PDF It dispalyed another type of font.
can you pls help me
thanks
Fharook Syed

Hi,
I am not sure but you will have to create a font separetely for PDF convertor and then only you will be able to get the same fonts in the PDF.

Similar Messages

  • Modify Browser(IE) footer using script

    anyone know to modify the browser footer using script ? i need to print html and footer display number of page ,but i cant make it .
    so please teach me how to do it .thanks.
    or it is possible to set a parameter on apex page footer text when i am printing the html and it will display the page number.
    thanks for reply .

    Hello,
    Isn't that default in IE (that the pagenumber gets printed)?
    I googled and found this: http://www.febooti.com/products/iezoom/print-web/printing-codes-footer-header.html
    Hopefully it might help you.
    Additionally you can use css to make your look and feel different when you print then what you see on the page.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Force show (not toggle) hidden characters and threads in script

    I have been working on a script to show all the extras (for the most part). I can turn on rulers and frame edges from the DOM, but can not Show Hidden Characters or Show Text Threads from the DOM. I've been working on using menuActions, but there two is a hitch. It seems that the menuActions are only available if the menu has been accessed during the current session? Not 100% on that. There is a good comment (#10) that touches on this a bit at Indiscripts :: How to Create your Own InDesign Menus.
    This method works, but again only if the menu has been previously accessed... so it's not reliable:
    // locale-independent (should work on non-english versions of InDesign)
    // Show Hidden Characters
    // FIX/TODO - Only seems to work if the Show/Hide Characters has been toggled within this session?!
    var showHiddenChars = app.menuActions.item("$ID/HideHiddenCharactersCmdStr"); //The 'hide' ID String only valid when characters are hidden
    var areCharsHidden = (showHiddenChars.isValid);
    if (areCharsHidden == true) {
        try {showHiddenChars.invoke()} catch (givenError){alert(givenError.toString())};
    else {
            //alert("Hidden characters are already shown!")
    I also have a less desirable version of Showing Hidden Characters, which relies on English name property of the Menu Action. It suffers from the same issue.
    //~     var acID = acID||
    //~             ((t=app.menuActions.item("$ID/ShowHiddenCharactersCmdStr")).isValid&&t.id)||
    //~             ((t=app.menuActions.item("$ID/HideHiddenCharactersCmdStr")).isValid&&t.id);
    //~     var showHiddenChars = app.menuActions.itemByID(acID);
    //~
    //~     //if the name property for the menuAction is currently "Hide Hidden Characters", the characters are hidden.
    //~     var areCharsHidden = (showHiddenChars.name == "Hide Hidden Characters");
    //~     if (areCharsHidden == true) {
    //~         try {showHiddenChars.invoke()} catch (givenError){};
    //~         }
    //~     else {
    //~         //alert("Hidden characters are already shown!")
    //~         }
    Any suggestion on how to force show characters (show threads works the same way) with out having to have had accessed a menu before hand?
    Thanks,
    Kevin

    When you have found a menu action you can remember its ID and use menuActions.itemByID() later on to retrieve it. Most action IDs are hard wired, bound to their implementing plugin. Of course there is an exception for dynamically allocated actions, e.g. script actions.
    My first attempt following you is to retrieve the action name - that should trigger the internal method to update the whole action state including checked, enabled (not applicable in this case). Of course it failed, would someone please file a bug? The translated versions of strings that you'd use for the comparison are available via app.translateKeyString().
    Btw you are using the wrong string - cmd strings are used for command history as seen in the undo menu. Menu strings usually have an ampersand character to indicate the underline / Alt+Key combo in Windows.
    $.writeln(app.menuActions.itemByID(0x1d301).name==app.translateKeyString("$ID/Show Hidden Characters"));
    $.writeln(app.menuActions.itemByID(0x1d301).name==app.translateKeyString("$ID/Hide Hidden Characters"));
    app.translateKeyString("$ID/Show Hidden Characters")
    Ergebnis: Verborgene Zeic&hen einblenden
    app.translateKeyString("$ID/Hide Hidden Characters")
    Ergebnis: &Verborgene Zeichen ausblenden
    // failed test
    $.writeln(app.menuActions.itemByID(0x1d301).name);
    app.menuActions.itemByID(0x1d301).invoke();
    $.writeln(app.menuActions.itemByID(0x1d301).name);
    // output should change after invoke
    Verborgene Zeichen ausblenden
    Verborgene Zeichen ausblenden
    As you found command strings, I also had a look at the undo history - it remained empty.
    $.writeln(app.activeDocument.undoHistory.length);
    Probably the setting is not persisted in the document any more, someone should have removed the command strings.
    Then I realized that the output of the previous lines around the invoke had changed as it was expected originally. And I had not touched the menu since restart … but I had activated the application.
    One can do that with scripting too - app.activate();
    A couple of restarts later this is definitely leading somewhere.
    Regarding the command, I also had a second look with a debug build of InDesign: the command is still executed, but there is a flag that binds its undo to the previous command - left as an exercise to verify.
    Hmm. It is stored in the persistent document preferences in a structure internally called kDocWorkspaceBoss / ITextOptions, thus should also be exposed for scripting. Back to scripting: set a breakpoint, browse thru tons of document sub-objects, and here we are:
    app.activeDocument.textPreferences.showInvisibles
    Happy programming,
    Dirk
    Edit: when comparing the strings, you also have to strip the extra ampersand.

  • Designating literal characters in "do shell script"

    (Also posted in UNIX forum)
    If, in Terminal, I do this:
    echo 1/2/3 | sed 's/\/2\// and /g'
    I get the expected result, which is:
    1 and 3
    But if, in AS, I do this:
    do shell script "echo 1/2/3 | sed 's/\/2\// and /g'"
    I get this error message:
    Expected “"” but found unknown token.
    If I change the AS command to:
    do shell script "echo 1/2/3 | sed 's//2/ and /g'"
    I get this error message:
    sed: 1: "s//2// and /g": bad flag in substitute command: '/'
    (Of course, if I change the AS command to:
    do shell script "echo 1/2/3 | sed 's/2/ and /g'"
    I get the expected result, which is:
    1/ and /3
    but this is no help in getting rid of the forward slashes, which is what I want.)
    I think this also happens with some other "special" characters surrounding "2". A Google search would seem to indicate this as a well-known dilemma, but I haven't stumbled across a clear solution -- is there one?

    osimp,
    I also replied in the Unix forum. But here's a little more explanation.
    Your command string gets "evaluated" twice... first by AppleScript and then by the shell. Since backslash characters are escape characters in both AppleScript and the shell, you want literal backslashes passed from AppleScript to the shell so when the shell gets the command string it will process them as escape characters in front of the forward slashes.
    So you need to escape the backslashes (double-backslash) in AppleScript so they'll be passed to the shell as literal backslashes (single-backslash). Then when the shell evaluates the string the single-backslashes will be treated as escape characters.
    <pre>
    do shell script "echo 1/2/3 | sed 's/\\/2\\// and /g'"
    </pre>
    Steve

  • Why do I get extra characters in unix terminal scripts?

    I occasionally use the unix "script" function to save terminal sessions to a text file. I've noticed that if I save man pages, I get repeated characters throughout the text file. Here is an example:
    Joes-MacBook-Pro:~ joe$ script ~/Desktop/ls_manpage.txt
    Script started, output file is /Users/joe/Desktop/ls_manpage.txt
    Joes-MacBook-Pro:~ joe$ man ls | cat
    LS(1) BSD General Commands Manual LS(1)
    NAME
    ls -- list directory contents
    SYNOPSIS
    ls [-ABCFGHLPRTWZabcdefghiklmnopqrstuwx1] [file ...]
    DESCRIPTION
    For each operand that names a file of a type other than directory, ls
    [etc.]
    When I open the text file in Textwranger, it looks like this:
    Script started on Fri Nov 9 11:05:02 2007
    Joes-MacBook-Pro:~ joe$ ls  man ls | cat
    LS(1) BSD General Commands Manual LS(1)
    NNAAMMEE
    llss -- list directory contents
    SSYYNNOOPPSSIISS
    llss [--AABBCCFFGGHHLLPPRRTTWWZZaabbccddeeffgghhiikkllmmnnooppqqrrssttuuwwxx11] [f_i_le ._..]
    DDEESSCCRRIIPPTTIIOONN
    [etc.]
    Can anyone explain where the extra characters are coming from?

    Interesting. I tried to duplicate your results and I find that script doesn't work at all for me under 10.4.10. I just get an empty file, except for the last line that tells me "Script done on (date)".
    If you look at your script output using od -c you'll find that there are even more extra characters.
    NNAAMMEE
    ... has back spaces embedded ...
    N^HNA^HAM^HME^HE
    ... because this how ancient printers did bold face and underlining.

  • Dynamic display of text in footer window (script)

    Hi
    i need to capture the text from the billing document& display it in footer dynamically. how to do this.
    For capturing text at footer level..eg..’ product sold for the month Oct 07”
    Use header text ‘ 0001’ at Billing document.
    correct answers will be rewarded with full points.
    Thanks in advance.
    sirish.

    Goto VF02---->goto Header---->select Header text
    and pass this value to FM <b>read_text</b>
    Check this sample pogram.
    Display long text in SAPScript
    Regards,
    Maha

  • Deleting characters in a simple script

    I have a simple script where I use a paragraph return and a % to indicate which lines I want to convert to a certain Applied Paragraph style. I'd like to remove the paragraph style and % adterwards. Here is the relevant part of my script so far (it contains A LOT of other find and replace functions:
    //Set the find options.
    app.findChangeTextOptions.caseSensitive = true;
    app.findChangeTextOptions.includeFootnotes = true;
    app.findChangeTextOptions.includeHiddenLayers = true;
    app.findChangeTextOptions.includeLockedLayersForFind = true;
    app.findChangeTextOptions.includeLockedStoriesForFind = true;
    app.findChangeTextOptions.includeMasterPages = true;
    app.findChangeTextOptions.wholeWord = false;
    //Header Paragraph Style
    app.findTextPreferences.findWhat = "^p%";
    app.changeTextPreferences.appliedParagraphStyle = "Character Header";
    app.documents.item(0).changeText();
    //Remove %
    app.findTextPreferences.findWhat = "^p%";
    app.changeTextPreferences.changeTo = ;
    app.documents.item(0).changeText();
    //Clear the find/change preferences after the search.
    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;
    I don't know what character to use at the end of this line (app.changeTextPreferences.changeTo =) to indicate that I don't want to replace ^p% with anything, just remove it.

    Try this:
    app.changeTextPreferences.changeTo = "";

  • Passing Null Characters from Unix Shell Script to Java Program

    Hi Experts,
    Facing an issue with a shell script....
    The shell script has 10 input parameters....
    1st Parameter is a compiled Java program name(This can keep changing)
    Rest 9 are the parameters of the Java Program...
    The following piece of code is working when Test "a z" "b t" "" "" "" "" "" "" "" "" is hardcoded.
    lv_java_string=`java Test "a z" "b t" "" "" "" "" "" "" "" ""`
    The whole thing being dynamic.....
    But when I dynamically populate the same on to a parameter lv_java_param and then execute the same
    lv_java_string=`java $lv_java_param`
    if i echo $lv_java_param  its giving me Test "a z" "b t" "" "" "" "" "" "" "" ""  correctly
    Im facing some issue...... The issue is " is being treated as a parameter itself and the space between a and z is not taken into consideration and hence z is taken as the 2nd parameter
    Issue seems to be something like the precedence in which the above statement is executed, because of which "s are calculated/manipulated. Is it something like
    a) $lv_java_param is computed  first and then java $lv_java_param
    b) or java $lv_java_param is run on the fly......
    Any help is much appreciated.

    This forum is about Oracle *RDBMS*
    I don't see any question about Oracle RDBMS
    Please find a forum about Java.
    Sybrand Bakker
    Senior Oracle DBA

  • Java scripting for header,footer and combine PDF as package

    Hi All,
    1.How to add header and footer using scripting.
    2.How can i combine 5 pdf files in to one pdf as PDF file package using Java Scripting.
    Thanks
    Mohamed Idris

    Hi Lenonard,
    Thanks for your reply, I am refering JavaScript for Acrobat API Reference, Version 8 document , but i could not find the right syntax for the above task.
    I am sucessfull writing script for page label but not for insertion of page number in the footer section.
    Regarding combining PDF files i could merge file and it comes as single PDF file not like assembeling pdf files as package.
    Please let me know the syntax and if i am looking at not right documentation, please let me know the document name to refer.
    Thanks again.
    Mohamed Idris

  • Posting script code in these forums

    OK, it looks like there are some (new) formatting issues with these forums when people try to post their scripts. I have been using a formatter script that converts the text on the clipboard to HTML and then wraps it in a pre tag, but there still seems to be some issues with certain characters. The following script has worked for me so far (although I don't post that much) - what other scripts or methods work for you?
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">-- script formatter
    property TempFile : "SF_TempFile" -- a temporary work file
    property TheWidth : "width: 720px; " -- a width attribute (deprecated in HTML 4.01)
    try
    set TheClipboard to (the clipboard) as string
    set MyOpenFile to open for access ("/tmp/" & TempFile & ".txt" as POSIX file) with write permission
    set eof of MyOpenFile to 0 -- empty the temp file
    write TheClipboard to MyOpenFile
    close access MyOpenFile
    -- convert to HTML - see man textutil
    do shell script "cd /tmp/; textutil -convert html -excludedelements '(html, head, title, body, p, span, font)' -encoding US-ASCII " & TempFile & ".txt"
    -- strip the first line (<?xml ?>) and add the <pre>...</pre> wrapper
    set TheText to rest of (paragraphs of (read ("/tmp/" & TempFile & ".html" as POSIX file))) as text
    set TheText to "<pre title=\"this text can be pasted into the Script Editor\" style=\"font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; " & TheWidth & "color: #000000; background-color: #E0E0E0; overflow: auto\">" & TheText & "</pre>"
    set the clipboard to TheText
    display dialog ((count TheText) as text) & " characters placed on the clipboard" with title "Script Formatted" buttons {"OK"} default button "OK" giving up after 4
    on error ErrorMessage number ErrorNumber
    display alert "Error " & (ErrorNumber as string) message ErrorMessage as warning buttons {"OK"} default button "OK"
    end try</pre>

    Hello red_menace,
    Indeed a pre-processing code like yours is always an option for us, but from my point of view, the correct solution is for the discussions' admins to disable this meddlesome formatting feature of the new fora software.
    This new feature affects not only new posts but also the existing messages in the fora, that means it has rendered quite a few useful messages totally useless. This is actually serious data loss caused by the thoughtless software. And for what?
    After all, these discussions' boards are not chat rooms where people might want some simple input methods for fancy text formattings, but technical support fora where people frequently post programming codes, computer outputs and so forth that have many reserved symbols and notation.
    I really wish they may fix this promptly.
    Best regards,
    Hiroto

  • Output proper special characters in JSTL custom tag

    I've written a custom JSTL Tag and want to output proper encoded special characters, like the c:out tag does (example: > to >). Do I have to parse that manually or is there a method within the jsp-api?

    Custom JSTL tag ?????Oops. Custom tag, of course.
    In custom tags, you have to manually parse it AFAIK.Somehow I can't imagine that such a frequently needed feature has do be done manually. Almost every tag that has to output data, has to convert special characters, otherwise cross-side-scripting would be possible.

  • Function in Javascript cannot be executed from Footer Text

    Hi all
    I created a shared component with name "xx.js" and in my page footer I called the function. When page is run, the function is not being called.
    *xx.js*
    function say_hello()
         document.write("Hello World");
    *Footer text*
    <script type="text/javascript" src="#WORKSPACE_IMAGES#xx.js">
    say_hello();
    </script> It works fine javascript is directly in the page footer (or) function is removed in xx.js and footer text is <script type="text/javascript" src="#WORKSPACE_IMAGES#xx.js"></script>
    xx.js is loaded to the page when seen using firebug.
    Please help me to create a single javascript file for my customizations rather than multiple js files.
    Thanks
    Kishore

    Kishore:
    Try changing what you have in the footer to be
    <script type="text/javascript" src="#WORKSPACE_IMAGES#xx.js"></script>
    <script>
    say_hello();
    </script> Varad

  • Report footer

    can any one please guide me how to adda filed say "date" o soem text filed in a report footer. through Scripting only.<BR>thanks for hte help

    Hello Kumar,
    I don't think APEX 2.2 is available for download on OTN, but for your printing needs – header and footer – you'll be better off with APEX 3.0. The new PDF printing options will give you exactly what you are looking for.
    Regards,
    Arie.

  • Java script for sum and divide

    Hi guys, I hv never used Java in my life. So i seek help with it..I am trying to do some simple calculations
    I need to add
    ( (P1_ItemA + P1_itemB+P1_ItemC) / (P1_ItemX + P1_ItemY + P1_ItemZ) ) * P30_ItemO
    The result should show up in P1_ItemM
    Also, where do i need to insert this java script..I would appreciate help on this..
    Thanks

    Hi I did what you suggested but it didnt work..Here is the code below..This is what I had put in the Header box of the headerand Footer section
    <script type="text/javascript">
    function showTotal()
    function getVal(item)
    if($x(item).value != "")
    return parseFloat($x(item).value);
    else
    return 0;
    $x('P1_TOTAL').value =
    ((getVal('P28_NLVBS_XYZ_EXISTING_CHK') +
    getVal('P28_NLVBS_XYZ_MONTHLY_WSL_')+
    getVal('P28_NLVBS_XYZ_MONTHLY_SNL_'))
    (getVal('P28_TOTAL_CORP_EXISTING_CHK')+
    getVal('P28_TOTAL_CORP_MONTHLY_WSL_')+
    getVal('P28_TOTAL_CORP_MONTHLY_SNL_')))* getVal('P8_ANNUAL_REVENUE');
    </script>
    And for the FORM ELEMENT Attributes I added
    onBlur="javascript:showTotal()"
    It doesnt work..can you please see the above script and let me know what is the problem..i would really appreciate it..Thanks

  • Is there a limit of characters in the document JavaScripts window?

    Hi,
    I have several functions with huge arrays of data linked to a button field. All works fine if everything is declared in the document scripts and if the array is not too big. Once I try to insert a very huge array in the document script I receive the message "text is too large to be displayed in this dialogue". Why is so? Is there a limit of characters in the document script window?
    I am therefore trying to set up all arrays and functions in a separate javascript file and then embedded it into the 3d annotation. But when I do so,I loose the link to the button field action.
    As an example I have embedded in the 3d annotation:
    global.X= [[10,20,30,40],[5,15,25,35],[7,17,27,37]];
    function Update(n) {
         getAnnots3D(0)[0].activated = true;
         var a = global.X[0][n];
         var b = global.X[1][n];
         var c = global.X[2][n];
         var Mycamera = this.getAnnots3D(0)[0].context3D.scene.cameras.getByIndex(0);
         Mycamera.position.set(a,b,c);
         camera_1.roll = 0;
    and then I add in the button field Mouse Up action:
    Update(3);
    but nothing happens (while if the same script is in the document level script it works). I am probably missing the link between the embedded function and the button field? (either at host/doc/app level..)
    many thanks for the help!

    Your script contexts are messed up.
    That script is expecting to be run at the document level because it's collecting a reference to the 3D API (via getAnnots3D). You also have an undeclared variable (camera_1).
    If you want it to work as a 3D embedded script (not sure why) then you will need to remove the reference to "getAnnots3D.context3D" from the function, so you'd simply say
    var Mycamera = .scene.cameras.getByIndex(0);
    There's no point in using the first line of the function to activate the API, as the function wouldn't exist until it was active.
    Your button will then need to target the function with a reference, so it'd be getAnnots3D(0)[0].context3D.Update(3); (you will also want to put the activation command on the button's event)

Maybe you are looking for

  • Slow song load times

    Hey guys, I just got the shuffle, and i loaded it up for the first time (I checked hte option to convert high bitrate songs to 128k AAC so i can fit more songs on it) and it took 5 hours to load the 512 mb shuffle! Why is it so slow? My computer has

  • Using a variable for Lesson Title: How do I insert an alt symbol (TM)?

    HI All, I am using a project variable to diplay the title in small sub-titles on each page of a Cap4 module. But....I need to insert a trademark symbol after one of the names in the title. Does anyone know how I can insert a symbol when defining a va

  • How to change Sender mail addres in sapconnect.

    Hi, I have searched this and i have found a thread, but i cant see it because when i click the link, giving a message "No message Found". Can you open this thread? https://forums.sdn.sap.com/click.jspa?searchID=738174&messageID=1287908 Anyway, is it

  • Importing a Png into Indesign

    I am trying to import a PNG logo into Indesign and even tried with a psd. Help please!

  • Added Memory, but not showing up in System Profilier

    I have an iBook G4 1.2Ghz/12-inch screen laptop. Bus speed 133 MHz. It has 256 MB built-in memory. I added a stick of 512 that is appropriate for this computer. (PC 2100) It is seated correctly, and the clips are in place. However, when I go to the S