Dunning PDF email file name

hi,
i am executing Dunning letters through F150, and there is a functionality to send the letters to an email id.
Problem is, earlier, the pdf file recieved in email had a descriptive file name , dunning.pdf.
But now it is showing some system generated file name like, ATT3125.pdf, and it keeps changing everytime the email is sent. Please help..!!

Hello Imran,
If I am not wrong, the extension of dunning files is OTF and not PDF. (I too have faced it earlier)
This happens when the format conversion is not configured correctly in SCOT.
Specify the output format for SAP Scripts/SmartForms as PDF
Preferably, Inform your Administrator to rectify the setting. That should solve your problem.
Regards
Vijay Gajavalli

Similar Messages

  • Automaticly print to pdf without file name prompt

    Hi,
    I am building an aplication that uses "Report Generation Toolkit". I am creating a "word" report with a template. After I am done with word creation I want to convert this "word" report to "PDF" format. I need that this process will be an automatic one. I understand that I can use print to PDF software, but the problem with it is that every such software prompts me to choose file name and destination.I need to avoid this.
    Please help me.
    Regards,
    Jenia.

    Jenia wrote:
    ... I understand that I can use print to PDF software, but the problem with it is that every such software prompts me to choose file name and destination.I need to avoid this.
    Jenia,
    There is a lot of PDF software available and some do provide the means to avoid prompts when saving the PDF.   PDFCreator has the advantage of being open source and free, has its Autosave option and had a COM interface added to recent versions. Alternatively you could look at pdf995 which has similar capabilities.  I'm sure there are others.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."
    Attachments:
    PDFCreator_Autosave.jpg ‏44 KB

  • Printing my PDF with File name and Tags Stamped on

    To Forum,
    Possibly not a completely Apple related query, but if anyone know it would be great.
    id like to print a PDF on my MBP with the File name and Tags applied to it stamped on the paper copy... or come to think of it, stamped on the PDF copy which i then print out with those stamps on. Either way will do. Any ideas? Its not immediately obvious when i look at the Printing Prefs box.

    This is an option built into various apps - Safari, Firefox, Microsoft Office.
    There are "PDF Utils" that do this on PDFs one at a time. Can't find a specific one for Macs, but found 2 for Windows.

  • Save as PDF - default file name problem

    When I try to Save as PDF from the print dialog box (in Mail, Safari, iWork, etc.) the filename and title both default to:
    286>756<6<29
    Does anyone have any ideas why the fields are not being populated with the correct information?

    Then, you might have a mucked up font database. Reboot into safe mode and then reboot normally. That will clear those databases. Note, however, it'll will also clear any font collections you've made with Font Book. Once that's done, launch Font Book, select all fonts, and validate them, resolving all duplicates. If this doesn't fix the problem, then I have nothing else to offer.

  • Re: Acrobat 9 - Attach to email, file name as subject line?

    Where has this feature gone???
    It's a simply time saver that our studio of over 40 relied upon everyday, and surprise-surprise, we outlay heaps more money for upgrades and yet again a feature has been forgotten since the previous version.
    MY GOD THIS GIVES ME THE *****!!!!
    Surely a patch to fix it wouldn't take Adobe any time at all.
    Does anyone know a way around it??

    Where has this feature gone???
    It's a simply time saver that our studio of over 40 relied upon everyday, and surprise-surprise, we outlay heaps more money for upgrades and yet again a feature has been forgotten since the previous version.
    MY GOD THIS GIVES ME THE *****!!!!
    Surely a patch to fix it wouldn't take Adobe any time at all.
    Does anyone know a way around it??

  • Saving as PDF - problem with file name

    Hello everybody,
    I have a little problem. I'm making a lot of similar document with InDesign so everytime I copy/paste the latest and then rename it from windows. But when I try to save (with a custom preset) the document as PDF, everytime on default InDesign gave the name of the original document, so I have to write the right name everytime. How can I change this? I want to have on default the file name I'm working on, not the original one.
    EXAMPLE
    I copy and paste "average.indd" and then I rename it as "joe.indd". I make some changes inside JOE, save it and then try to export as PDF. When the saving window appear, the program suggest "average.pdf" as name of the PDF I'm creating.
    Thanks for your support and excuse me if my english is not that good (not my language).
    Have a nice day!
    Dario

    Ah well, it is generally accepted that the most recent PDF-export file name "sticks" and when that's the case, there isn't anything you can do about it except type in the new name you want. However, I just tried it a second time (the first time before my first post), and here, I got it to work the way you want by doing what I originally advised...
    Start new file.
    Save As average.indd
    Export > PDF...file name defaults to average.pdf
    Back in InDesign, Save As joe.indd
    Export > PDF...file name defaults to joe.pdf
    What exactly did you try, and where did the result differ from what I saw?

  • Change default pdf file name

    Hi,all
    How can I change a default pdf file name from unknown.pdf to something else?
    Regards,
    Michael
    Edited by: Michael Beilin on Feb 6, 2008 9:47 AM

    HI Michael,
    Yes you can do that,
    Just do something like
         IWDAttributeInfo attInfo = wdContext.currentContextElement().node().getNodeInfo().getAttribute("PdfSource");
         ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
         IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
         binaryType.setFileName("TravelRequest.pdf");  // Set file name
         binaryType.setMimeType(WDWebResourceType.PDF);  // set the mime type
    for example in the doInit() before providing the file for download 
    Regards, Angel

  • Append date to exporting file name in SQL reporting service

    When exporting a report to another format, say excel,PDF; the file name is always set to the report name. Our client has a requirement where whenever a user exports a report to pdf, the timestamp of when the data of the report was made should be appended in the filename. Is there a way to do this in Reporting Services as well as report builder?
    example : Report name : Testreport
    Exported file should be : Testreport-November-22-20076.pdf
    please help me in this
    Thanks
    suku

    Hi,
    I know it's been while since this question was posted. I am replying so that it'll be useful for other people when they come across this same situation.
    If you have access to SQL Server Agent to create jobs then this idea will be helpful -
    1. Connect to your Report Server from SSMS.
    2. Note the ItemID for your report by executing this query
    select *
    from ReportServer..Catalog
    where Path like '%NameofyourReport%'
    3. Create a job in here with the name say "AppendDatetoxyzreport" and add a step in it with the code
    UPDATE [Catalog]
    SET [Path] = '/PathofyourrerportfromReportServer/ReportName_' + CONVERT(VARCHAR(8), GETDATE(), 112),
    [Name] = '/ReportName_' + CONVERT(VARCHAR(8), GETDATE(), 112)
    WHERE ItemID ='<ItemID>'
    4. Create another job with a name like "RemoveDatexyzreport" and add a step in it with the code
    UPDATE [Catalog]
    SET [Path] = 'PathofyoureportinReportserver/ReportName',
    [Name] = 'ReportName''
    WHERE ItemID = '<ItemID>'
    5. Now set your AppendDatetoxyzreport job schedule to execute first, then the Report's subscription and then the RemoveDatexyzreport.
    By doing this the first job changes the name to include present date, then you get you report and the next job sets it back to its previous name.

  • File Name Stamper

    Hello All,
    I am using: http://acrobatusers.com/assets/uploads/actions/File_Name_Stamper.pdf
    It works great for one file. But for multiple files, a popup dialog box keeps showing up. Our small non-profit organization is processing 1000+ files and pressing the enter key is cumbersome.
    The actual JavaScript code is below. Is there a way to disable the popup dialog box?
    Many thanks...
    //   File Name Stamper Action Script
    //   by Thom Parker, WindJack Solutions, Inc.
    //      www.windjack.com, www.pdfscripting.com
    //   for Adobe Systems Inc. www.adobe.com
    //       NOTE: Only for use in an Action Script
    //       Requires:  Acrobat 10 or later
    //   Stamps the PDF file Name/Title/Date onto a PDF
    //   A popup dialog for entering stamping parameters
    //   is displayed for each PDF processed by the Action
    //   Parameters include Position, Text Size, Font, Text Color
    //   The stamp is created watermark
    //   Version 1.2 - 11/5/2020
    //Acrobat JavaScript Dialog
    //Created by DialogDesigner from WindJack Solutions
    //<CodeAbove>
    var aFontNames = [
    "Helvetica",
    "Times",
    "Courier",
    var aDateFmts = [
                "mm/dd/yyyy",
                "yyyy-mm-dd",
                "mmmm d, yyyy",
                "ddd mmm d, yyyy",
                "dddd mmmm d, yyyy"
    function SetLabelText(dialog, dlg)
         var strLab = "";
         var oRslt = dialog.store();
         strLab = oRslt["FlNm"]?dlg.strDocFileName:dlg.strDocTitle;
         if(oRslt["HDat"])
            var path = new Array();
             strLab += " - " + ( (dlg.GetListSel(oRslt["DFmt"],path))?path.reverse():"").toString();
         dialog.load({"DcSt":strLab});
    //</CodeAbove>
    if(typeof(global.FileNameStamp) == "undefined")
    global.FileNameStamp =
        result:"cancel",
        DoDialog: function(){return app.execDialog(this);},
        strLabSource:"FlNm",
        strDocStamp:"",
        bUseDate:false,
        strDateFormat:"",
        strFontName:["Helvetica"],
        strFontSize:"12",
        strFontColor:"000000",
        strHorzPos:"PosR",
        nMarginX:"0.5",
        strVertPos:"PosT",
        nMarginY:"0.5",
        strPgRangeSel:"rAll",
        strStrtPg:"",
        strEndPg:"",
        GetRadioSel:function(oRslts,aCtrls){
          for(var strRtn=aCtrls[0];aCtrls.length>0;strRtn=aCtrls.pop()){
            if(oRslts[strRtn] == true)
              return strRtn;
          return "";
        SetListSel:function(list,path){if(path.length == 0) return;
        eval("list[\""+ ((typeof path.join != "function")?path:path.join("\"][\"")) + "\"] = 1")},
        GetListSel:function(oLstRslts,path){
           for(var item in oLstRslts){
              if( ((typeof oLstRslts[item]=="number")&&(oLstRslts[item]>0))
                 || this.GetListSel(oLstRslts[item],path) )
               {path.push(item);return true;}
           return false;
        bHidden:true,
        nNumPages:1,
        nCurPage:0,
        strDocTitle:"My Title",
        strDocFileName:"mytestdoc.pdf",
        SetTheLabel:SetLabelText,
        initialize: function(dialog)
            var listDFmt = new Object();
            this.SetListSel(listDFmt, this.strDateFormat);
            var listFont =
                "Helvetica": -1,
            this.SetListSel(listFont, this.strFontName);
            var dlgInit =
                "Font": listFont,
                "FtSz": this.strFontSize,
                "FtCl": this.strFontColor,
                "MrgH": this.nMarginX,
                "MrgV": this.nMarginY,
                    "DcSt": this.strDocStamp,
                    "HDat": this.bUseDate,
                    "tFPg": this.strStrtPg,
                    "tTPg": this.strEndPg,
            dlgInit[this.strLabSource] = true;
            dlgInit[this.strHorzPos] = true;
            dlgInit[this.strVertPos] = true;
            dlgInit[this.strPgRangeSel] = true;
            dialog.load(dlgInit);
            dialog.enable(
                    "tTPg": false,
                    "tFPg": false,
                    "DFmt": false,
            if( (this.strStrtPg == "")|| isNaN(this.strStrtPg) || (Number(this.strStrtPg) > this.nNumPages) )
               if(this.bHidden)
                   this.strStrtPg = "1";
               else
                   this.strStrtPg = (this.nCurPage+1).toString();
            if((this.strEndPg == "") || isNaN(this.strEndPg) || (Number(this.strEndPg) > this.nNumPages) )
               this.strEndPg = this.nNumPages.toString();
            var flist = {};
            for(var i=0;i<aFontNames.length;i++)
            for(var nm in font)
               flist[font[nm]] = -1;
            flist[this.strFontName] = 1;
            var dlist = {};
            var oDt = new Date();
            for(var i=0;i<aDateFmts.length;i++)
               dlist[util.printd(aDateFmts[i],oDt)] = (i==0)?1:-1;
            var exInit ={"tFPg": this.strStrtPg,"tTPg":this.strEndPg, "sOfN":"of (" + this.nNumPages+")",
                                 "DcSt":(this.strLabSource == "FlNm")?this.strDocFileName:this.strDocTitle,
                                 "TopL":"Working on File: " + this.strDocFileName, "Font":flist, "DFmt":dlist };
            if(this.bHidden && this.strPgRangeSel == "rCur")
                  this.strPgRangeSel = "rAll";
                  exInit["rCur"] = false;
                  exInit[this.strPgRangeSel] = true;
            dialog.load(exInit);
            var exInit = {"ExPg":this.strPgRangeSel =="rFro", "MrgH":this.strHorzPos!="PosC", "MrgV":this.strVertPos!="PosM",
                                    "tFPg":this.strPgRangeSel =="rFro", "tTPg":this.strPgRangeSel == "rFro", "rCur":!this.bHidden,
                                    "DcSt":(this.strLabSource == "Titl"), "DFmt":this.bUseDate};
            dialog.enable(exInit);
            this.SetTheLabel(dialog,this);
        validate: function(dialog)
            var oRslt = dialog.store();
            if(isNaN(oRslt["FtSz"]) || (Number(oRslt["FtSz"]) < 0))
                 app.alert("Font Size must be a positive number");
                 return false;
            var rg = /([\dabcdef]{2})([\dabcdef]{2})([\dabcdef]{2})/i;
            if(!rg.test(oRslt["FtCl"]))
                 app.alert("The Font Color must be a series of 3 pairs of Hexadecimal numbers,"
                               + " where each pair represents one 8 bit color component, Red Green Blue\n"
                               + "For Example:\n   Black = 000000,  Red = FF0000, Green = 00FF00, Blue = 0000FF");
                 return false;
            if(isNaN(oRslt["MrgH"]) || (Number(oRslt["MrgH"]) < 0))
                 app.alert("The Horizontal Margin must be a positive number");
                 return false;
            if(isNaN(oRslt["MrgV"]) || (Number(oRslt["MrgV"]) < 0))
                 app.alert("The Vertical Margin must be a positive number");
                 return false;
            return true;
        commit: function(dialog)
            var oRslt = dialog.store();
            this.strLabSource = this.GetRadioSel(oRslt,["FlNm","Titl"]);
            this.strDocStamp = oRslt["DcSt"];
            this.bUseDate = oRslt["HDat"];
            var path = new Array();
            this.strDateFormat = (this.GetListSel(oRslt["DFmt"],path))?path.reverse():"";
            var path = new Array();
            this.strFontName = (this.GetListSel(oRslt["Font"],path))?path.reverse():"";
            this.strFontSize = oRslt["FtSz"];
            this.strFontColor = oRslt["FtCl"];
            this.strHorzPos = this.GetRadioSel(oRslt,["PosL","PosC","PosR"]);
            this.nMarginX = oRslt["MrgH"];
            this.strVertPos = this.GetRadioSel(oRslt,["PosT","PosM","PosB"]);
            this.nMarginY = oRslt["MrgV"];
            this.strPgRangeSel = this.GetRadioSel(oRslt,["rAll","rCur","rFro"]);
            this.strStrtPg = oRslt["tFPg"];
            this.strEndPg = oRslt["tTPg"];
        "But1": function(dialog)
            dialog.end("Abrt");
        "tTPg": function(dialog)
            var x;
        "rFro": function(dialog)
            dialog.enable({tFPg:true, tTPg:true, "ExPg":true});
        "rCur": function(dialog)
            dialog.enable({tFPg:false, tTPg:false,"ExPg":false});
        "rAll": function(dialog)
            dialog.enable({tFPg:false, tTPg:false, "ExPg":false});
        "PosB": function(dialog)
            dialog.enable({"MrgV":true});
        "PosM": function(dialog)
            dialog.enable({"MrgV":false});
        "PosT": function(dialog)
            dialog.enable({"MrgV":true});
        "PosR": function(dialog)
            dialog.enable({"MrgH":true});
        "PosC": function(dialog)
            dialog.enable({"MrgH":false});
        "PosL": function(dialog)
            dialog.enable({"MrgH":true});
        "DFmt": function(dialog)
            this.SetTheLabel(dialog,this);
        "HDat": function(dialog)
            this.SetTheLabel(dialog,this);
            dialog.enable({"DFmt":dialog.store()["HDat"]});
        "DcSt": function(dialog)
            var oRslt = dialog.store();
            if(oRslt["Titl"])
              this.strDocTitle = oRslt["DcSt"];
        "Titl": function(dialog)
            this.SetTheLabel(dialog,this);
            dialog.enable({"DcSt":true});
        "FlNm": function(dialog)
            this.SetTheLabel(dialog,this);
            dialog.enable({"DcSt":false});
        description:
            name: "File Name Stamper",
            elements:
                    type: "view",
                    elements:
                            type: "view",
                            char_height: 10,
                            elements:
                                    type: "static_text",
                                    item_id: "TopL",
                                    name: "Put Dialog Controls Here",
                                    char_width: 15,
                                    alignment: "align_fill",
                                    font: "palette",
                                    bold: true,
                                    type: "cluster",
                                    item_id: "cls1",
                                    name: "Label Options",
                                    elements:
                                            type: "view",
                                            align_children: "align_row",
                                            alignment: "align_fill",
                                            elements:
                                                    type: "radio",
                                                    item_id: "FlNm",
                                                    group_id: "FUse",
                                                    name: "Use File Name",
                                                    variable_Name: "strLabSource",
                                                    type: "radio",
                                                    item_id: "Titl",
                                                    group_id: "FUse",
                                                    name: "Use Document Title (or custom)",
                                                    type: "edit_text",
                                                    item_id: "DcSt",
                                                    variable_Name: "strDocStamp",
                                                    width: 200,
                                                    height: 23,
                                                    alignment: "align_fill",
                                            type: "view",
                                            align_children: "align_row",
                                            elements:
                                                    type: "check_box",
                                                    item_id: "HDat",
                                                    name: "Include Date",
                                                    variable_Name: "bUseDate",
                                                    type: "static_text",
                                                    item_id: "sta2",
                                                    name: "Format",
                                                    type: "popup",
                                                    item_id: "DFmt",
                                                    variable_Name: "strDateFormat",
                                                    width: 180,
                                                    height: 23,
                                                    char_width: 8,
                                            type: "view",
                                            align_children: "align_row",
                                            alignment: "align_fill",
                                            elements:
                                                    type: "static_text",
                                                    item_id: "sta1",
                                                    name: "Font:",
                                                    type: "popup",
                                                    item_id: "Font",
                                                    variable_Name: "strFontName",
                                                    width: 111,
                                                    height: 23,
                                                    char_width: 8,
                                                    type: "static_text",
                                                    item_id: "sta0",
                                                    name: "Font Size:",
                                                    alignment: "align_right",
                                                    font: "dialog",
                                                    type: "edit_text",
                                                    item_id: "FtSz",
                                                    variable_Name: "strFontSize",
                                                    width: 29,
                                                    height: 23,
                                                    type: "static_text",
                                                    item_id: "sta3",
                                                    name: "Color(8bit Hex RGB):",
                                                    alignment: "align_right",
                                                    font: "dialog",
                                                    type: "edit_text",
                                                    item_id: "FtCl",
                                                    variable_Name: "strFontColor",
                                                    width: 80,
                                                    height: 23,
                                                    char_width: 8,
                                    type: "cluster",
                                    item_id: "cls1",
                                    name: "Position",
                                    width: 188,
                                    height: 80,
                                    char_width: 8,
                                    char_height: 8,
                                    elements:
                                            type: "view",
                                            align_children: "align_top",
                                            elements:
                                                    type: "radio",
                                                    item_id: "PosL",
                                                    group_id: "PosH",
                                                    name: "Left",
                                                    variable_Name: "strHorzPos",
                                                    type: "radio",
                                                    item_id: "PosC",
                                                    group_id: "PosH",
                                                    name: "Center",
                                                    type: "radio",
                                                    item_id: "PosR",
                                                    group_id: "PosH",
                                                    name: "Right ",
                                                    type: "static_text",
                                                    item_id: "sta2",
                                                    name: " Margin (inches):",
                                                    type: "edit_text",
                                                    item_id: "MrgH",
                                                    variable_Name: "nMarginX",
                                                    char_width: 8,
                                            type: "view",
                                            align_children: "align_top",
                                            elements:
                                                    type: "radio",
                                                    item_id: "PosT",
                                                    group_id: "PosV",
                                                    name: "Top ",
                                                    variable_Name: "strVertPos",
                                                    type: "radio",
                                                    item_id: "PosM",
                                                    group_id: "PosV",
                                                    name: "Middle",
                                                    type: "radio",
                                                    item_id: "PosB",
                                                    group_id: "PosV",
                                                    name: "Bottom",
                                                    type: "static_text",
                                                    item_id: "sta2",
                                                    name: "Margin (inches):",
                                                    type: "edit_text",
                                                    item_id: "MrgV",
                                                    variable_Name: "nMarginY",
                                                    char_width: 8,
                                    type: "cluster",
                                    item_id: "cls3",
                                    name: "Page range",
                                    align_children: "align_row",
                                    elements:
                                            type: "radio",
                                            item_id: "rAll",
                                            group_id: "GRP1",
                                            name: "All",
                                            variable_Name: "strPgRangeSel",
                                            height: 20,
                                            type: "radio",
                                            item_id: "rCur",
                                            group_id: "GRP1",
                                            name: "Current (Applies only to Open Document)",
                                            height: 20,
                                            type: "radio",
                                            item_id: "rFro",
                                            group_id: "GRP1",
                                            name: "From:",
                                            width: 12,
                                            height: 24,
                                            type: "edit_text",
                                            item_id: "tFPg",
                                            variable_Name: "strStrtPg",
                                            height: 24,
                                            char_width: 6,
                                            type: "static_text",
                                            item_id: "sta1",
                                            name: "To:",
                                            height: 24,
                                            type: "edit_text",
                                            item_id: "tTPg",
                                            variable_Name: "strEndPg",
                                            height: 24,
                                            char_width: 6,
                                            type: "static_text",
                                            item_id: "sOfN",
                                            name: "of (N)          ",
                                            height: 24,
                            type: "view",
                            align_children: "align_row",
                            alignment: "align_fill",
                            elements:
                                    type: "ok_cancel",
                                    ok_name: "Apply",
                                    cancel_name: "Skip",
                                    type: "button",
                                    item_id: "But1",
                                    name: "Abort Process",
                                    type: "gap",
                                    item_id: "gap1",
                                    width: 210,
                                    height: 10,
                                    type: "static_text",
                                    item_id: "sta1",
                                    name: "version 1.2  11/5/2010",
                                    alignment: "align_right",
    var oDoc = event.target;
    if(typeof(oDoc.xfa) == "undefined")
        global.FileNameStamp.bHidden = oDoc.hidden;
        global.FileNameStamp.nNumPages = oDoc.numPages;
        if(!oDoc.hidden)
           global.FileNameStamp.nCurPage = oDoc.pageNum;
        global.FileNameStamp.strDocTitle = oDoc.info.title;
        global.FileNameStamp.strDocFileName = oDoc.documentFileName;
        var cRtn = global.FileNameStamp.DoDialog();
        if("ok" == cRtn)
            // Setup starting parameters
            var nPgStart, nPgEnd;
            var nTextSize = Number(global.FileNameStamp.strFontSize);
            var strLabel = global.FileNameStamp.strDocStamp.replace(/\n/g,"\r");
            // Get Font Color
            rgCol = /([\dabcdef]{2})([\dabcdef]{2})([\dabcdef]{2})/i;
            rgCol.test(global.FileNameStamp.strFontColor);
            var aFontCol = ["RGB", parseInt(RegExp.$1,16)/255,
                            parseInt(RegExp.$2,16)/255, parseInt(RegExp.$3,16)/255];
            switch(global.FileNameStamp.strPgRangeSel)
              case "rAll":
                nPgStart = 0;
                nPgEnd = oDoc.numPages -1;
                break;
              case "rCur":
                nPgEnd = nPgStart = oDoc.hidden?0:oDoc.pageNum;
                break;
              case "rFro":
                nPgStart = Number(global.FileNameStamp.strStrtPg)-1;
                if(nPgStart > (oDoc.numPages -1))
                  nPgStart = oDoc.numPages -1;
                nPgEnd = Number(global.FileNameStamp.strEndPg)-1;
                if(nPgEnd > (oDoc.numPages -1))
                  nPgEnd = oDoc.numPages -1;
                break;
               var nTextAlign,nHAlign,nVAlign;
               var nHMarg, nVMarg;
               var nMargX = Number(global.FileNameStamp.nMarginX) * 72;
               switch(global.FileNameStamp.strHorzPos)
                  case"PosL":
                    nTextAlign = app.constants.align.left; // Left Aligned Text
                    nHAlign = app.constants.align.left;
                    nHMarg = nMargX;
                    break;
                  case"PosC":
                    nTextAlign = app.constants.align.center;
                    nHAlign = app.constants.align.center;
                    nHMarg = 0;
                    break;
                  case"PosR":
                    nTextAlign = app.constants.align.right;
                    nHAlign = app.constants.align.right;
                    nHMarg = -nMargX;
                    break;
               var nMargY = Number(global.FileNameStamp.nMarginY) * 72;
               switch(global.FileNameStamp.strVertPos)
                  case"PosT":
                    nVAlign = app.constants.align.top;
                    nVMarg = -nMargY;
                    break;
                  case"PosM":
                    nVAlign = app.constants.align.center;
                    nVMarg = 0;
                    break;
                  case"PosB":
                    nVAlign = app.constants.align.bottom;
                    nVMarg = nMargY;
                    break;
             // Find and rename watermark;
             var aGs = oDoc.getOCGs();
             for(var i=0;aGs && (i<aGs.length);i++)
                if(aGs[i].name == "Watermark");
                   aGs[i].name = "Old_Watermark";
             try{
              //  Create watermark
              oDoc.addWatermarkFromText({cText:strLabel, nTextAlign:nTextAlign, cFont:global.FileNameStamp.strFontName,
                    nFontSize:nTextSize, aColor:aFontCol, nStart:nPgStart, nEnd:nPgEnd,
                    nHorizAlign:nHAlign, nHorizValue:nHMarg,
                    nVertAlign:nVAlign, nVertValue:nVMarg});
             }catch(e){
                app.alert("Error applying Label:\n" + e);
             // Find and rename watermark;
             var aGs = oDoc.getOCGs();
             for(var i=0;aGs && (i<aGs.length);i++)
                if(aGs[i].name == "Watermark");
                   aGs[i].name = "DocumentLabel";
                   break;
        else if(cRtn == "Abrt")
          event.rc = false;
    else
       if(3 == app.alert(oDoc.documentFileName + ": is a LiveCycle Form, which cannot be labeled\n\n Do you want to continue processing files? (Pressing No will Abort the file processing)",1,2))
         event.rc = false;

    There are a number of simpler ways to do this. Thom's Action is great, but sounds like it might be overkill for this. Text can be added a numer of ways, including a form field, text annotation, layer (aka Watermark, as with Thom's script), and stamp. It can also then be flattened so it gets converted to regular page contents, preventing the user from interacting with it and perhaps changing it. Which you choose depends on you needs. If you provide a bit more description, I could suggest a simpler script you can use.
    Also, please clarify exactly what you want included. Do you want just the file name (example.pdf), the file name without the extension (example), or the complete path (c:\dir1\dir2\example.pdf)?

  • UDF for Changing File Name

    Hi Experts,
    I am working on one scenrio, where i am fetching the file name dynamically by adapter module.
    Now, the file name needs to be checked for the following conditions:
    BOOKING_REF_DELIVERYNO_WB.pdf
    BOOKING_REF_DELIVERYNO_BOLCOPY.PDF
    DELIVERYNO_AWB.PDF
    Depending upon the type of file being picked up by PI from the mail box,following needs to be done:
    1.time stamp needs to be added ..
    ex..
    for file SO10162239_123_458_BOLCOPY.pdf--> the file name must be changed to :
    SO10162239_X2100_20101206_123_458_BOLCOPY.pdf.
    Please suggest if this can be done by graphical mapping ?
    Thanks,
    Sushama

    hi,
    I am using following UDF..
    FileName->ParseFile>getNykFilename>concat--
    Current date->                                                                   concat> Trim> FileName
                               concat----
    |
    constatnt[.pdf]--->
    UDF for parse file:
    String[] sarray;
    String regex = "\"";
    String retstring;
    String fname;
    int l= raw.length();
    try {
         sarray = raw.split(regex, 3);
         retstring = sarray[1];
                            fname=sarray[l-1];
            if( fname=="WB")
    raw.concat("_X2100_");
    else if (fname=="BOLCOPY")
    raw.concat("_X2101_");
    else if (fname=="AWB")
    raw.concat("_X2102_");
    } catch (Exception e) {
         retstring = "no_att_name_found.err";
    return retstring;
    UDF for getNykFileName:
    String[] sarray;
    String regex = "[_]";
    String retstring;
    if(!orgName.endsWith(".err")){
    try {
         sarray = orgName.split(regex, 3);
         retstring = sarray[0];
    } catch (Exception e) {
         retstring = "nyk_filename.err";
    return retstring;
    }else{
         return orgName;
    But, its not working..
    Its giving the file name as:
    no_att_name_found.err20101206 for the input file : 801243209_81473641_wb.pdf
    Display queue result for parsefileName:
    "no_att_name_found.err"
    Please suggest.
    Thanks,
    Suahama

  • Email PDF file name issue via output determination - order confirmation etc

    Hi,
    I can email pdf files via output determination. Unfortunately the file name is same as sapscript name. How do I change it to the name I want for example document number.
    Thanks,
    Jai

    Hi Jaideep,
    You can change the mail title at Output determination.
    T/code NACE--> Application > Outputtype> Select O/P --> select Mail title and texts --> specify your text( with language) in "title" .
    Whenever Script send via e-mail the text you have entered will apear as mail title.
    Hope this may help you.
    Lanka

  • Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email a

    Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). When I check the file it shows Zero KB downloaded but the file appears - any suggestions?

    Obviously your download was not successful.
    What is your operating system?  How exactly do you download such files?

  • Symbol at end of file name prevents email recipient from opening PDF

    The special symbol looks like: ˥  However, there is a tiny little arrow that is on the end of the horizontal part that points left. It is located immediately after the file name, but before the .extension. I have been sending out resumes and the ones that appear with this symbol in the shadow box (the file name box that appears if you hover over the icon once it has been attached via email) appear as a blank (but gray) PDF once it is opened by the recipient.
    What is this and how do I stop it?
    Thanks

    Please let me know the following details:
    1. Which version of Adobe Reader are you using (You can check the same from Help > About Adobe Reader)
    2. Which OS are you using?
    3. How exactly are you attaching the PDFs to the emails? Are you using the Attach to Email functionality from within Reader? Or are you attaching them by yourself?

  • Changing the file name of a PDF you send via email

    Hello Support,
    I am trying to find out how to change the file name of the attachment I send via email when I click submit via email. I would like the file to be sent with the file name, not some other file name.
    How can I fix it? This is very urgent! I need HELP!
    Cheers
    Joel
    Message was edited by: J Braden

    Hi,
    you can't.
    Except you save the file under a different name before you send it.

  • Dunning letter - email/pdf problem

    I want to email a dunning letter to a customer.
    I have executed a dunning run.
    I go back to the Recommendation report for the dunning run - when I highlight the row under the customer name and click print preview I can see a preview of the dunning letter I want to email.
    When I click the 'Email' button and click 'Yes' to attach an edited report I thought that would attach the letter to an email as a PDF? (I have send E-Mail via Microsoft Outlook' selected)
    But when I check my Outlook sent box the email has been sent but there is no attachment of the dunning letter - it's just an empty email?
    I tried again and examined the 'Send message' box that appears when I click the 'Email..' button.
    The data tab shows the dunning run listed but the Attachments tab has nothing listed.
    Should the file be listed here if it had correctly attached?
    Incidentally when I click the PDF button this just brings up the same print preview instead of making a PDF of the letter - is this significant i.e is the PDF function not working hence the 'attach edited report' function also cannot work?
    I'd be grateful for advice on emailing dunning letters correctly
    Karen

    Hi Andrew,
    Check this Link
    Re: Email Dunning Report to the BP
    Re: Automatic Dunning By Email
    Regards
    Jambulingam.P

Maybe you are looking for

  • Missing functionality of file conversion by right click in windows

    Previously I was able to right click on a file on the desktop of folder which would bring up a window which had "conver to pdf" and other pdf options.  Due to a crash, I had to reinstall Acrobat Pro 8 but the ability to right click on a file and conv

  • Multiple webtogo instances

    Has anyone used multiple webtogo processes on the same server (1 Prod and 1 Dev). I want to point one port (i.e. 80) to the production repository and port 81 to the development system. I have been unable to locate any information on modifying webtogo

  • Iphone4 in Europe

    Does anyone have experience with using an Iphone4 with Verizon in the UK, Germany and the Netherlands?

  • No Stereo Mix in Audition 3.0 or Windows 7 - How to Fix?

    I'm trying to record the stereo mix from my computer in Audition 3.0, unfortunately there is no "Stereo Mix" option in either Audition's Audio Settings or in the Windows Sound Controls.  I've tried to "Show Disabled Devices" in Windows and yet there

  • HT3529 Not getting pictures with messages

    a friend sent me a message with a picture but i didnt get the the picture, we both have iphone 4s why would i net get it?