Document-Level PostScript example in 01/04 Spec

I need a little bit of help in understanding the syntax used in the new spec on page 87, for "Document-Level XMP in PostScript". If there's another document that contains the answers to to following, I'd really appreciate knowing where to look.
Firstly (though this is from page 86), where should the %ADO_ContainsXMP comment go? I know that it's supposed to go in the PostScript header, but how does that fit with XMP if it isn't part of the XMP Packet?
Second, I want to much better understand the construction of pdfmark. Is there a particular header file somewhere in the SDK from which I'd be able to glean a better understanding of the construct? I have a similar curiosity about "currentdistillerparams". Is this covered in the PostScript spec by any chance?
Please forgive my lack of clarity, but I really need to better understand what has been written.
Thanks,
Tim

* Huh....it just figures... right after I finally give up and post up a question, I would find the answer. =_=;; http://forums.adobe.com/message/4727325#4727325. 
So, Standard version apparently doesn't have that exalted “Edit Document Javascripts”.  Apparently a way around it is using the Page Open event.  Well, it works - the massive array only shows up once in the editor, and the multiple rows each call the function instead.  Nice. 
Well, I will leave this up in case someone else can use the reference.  Thanks to anyone who read this and was going to answer me. =)
Don't suppose anyone knows how to create a code to add new rows instead of having 15 rows straight off the bat?  Or should I make a new post for that?

Similar Messages

  • Managing Document Status at Original Document Levels

    Hi dms gurus,
    i know that we can manage the document at DIR level through the status, and create new versions of documents where the old version is kept with no change allowed.
    However, in the version how one can esily know what changes been done to the originals ? for example, i'm to release a certain document, but don't know what originals been added, what originals been deleted, and what originals been modified ? unless i refer to the old version and compare, which is not practical specially when a document contains quite large number of originals.
    is there a way to control such ? is there a way to control dms at original doc levels, for example any approved original document can no longer be deleted, etc...

    Hi
    To keep the track of changes made in Original, you can make use of '"Content Version"
    You have to enable this setting in dc10 inside the status of the Doc type.. Everytime you change the original file in that particular status , it shows a Content Version of the same. You can see the different "content Versions" in tab original of DIR.. You even have the option to activate whichever Content Version you want to see by default...
    This is different from normal versioning .. as everything is stored in the same version of the DIR.. for eg.. 00
    Regards
    Aby

  • Document-level javascript quandry

    Ok, completely clueless newbie here whose only coding experience is Access VBA…from a few years ago. Need to write up some Javascript to make this work – that was a month’s worth of a migraine.  I ask for your patience, and would like to ask for forgiveness in advance for any headaches I induce while you try to figure out my problem(s).  Also, I’m not sure how to copy paste images or code examples, but I will do my best.
    So, basic premise:  make a drop-down combo box that will populate another combo box based on whatever was selected in the first box – in this case, 31 items in the ‘Inventory Parts Used’ list, and a total of 427 respective sizes in the other list. 
    YES, I’ve already looked at that http://acrobatusers.com/tutorials/js_list_combo_livecycle1 example, and followed it closely.  Took me forever, but I somehow got it to work. Was very happy.  Only thing I couldn’t figure out was the export value b/c mine wasn’t a number.  But I solved that by putting the CodeID and respective PartSize together (ex: 4-inch Fire Hydrant would show up as "FH-01:  4"). Anyways, I selected that working row and choose the “Place Multiple Fields” option times 15 rows.  Still working.  I’m dancing a jig. Then I tried to check on the code: 
    “Text cannot be displayed in full by the Edit Dialog.  Please use an External Editor.” 
    Uh… So I deleted a row at a time until I could see what my limit was.  I had to pare down 15 rows to a measly 3 rows.  Took me a while but I was able to see where the problem was.  Instead of being written into the Document-Level JS, my array was tied to the first combo box’s Keystroke event on the Field Level.  So when I multiplied the rows, that humongous list essentially had diarrhea.
    I’ve tried to delete that header and keep it to Document Level.   It basically ignored me and keep those lines.  When I did manage to make the <Document-Level> on top, it just didn’t work.
    (    //<AcroForm>
    //<ACRO_source>Row0.InvPart:Keystroke</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: AcroForm:Row0.InvPart:Keystroke ***********/    )
    I’ve searched other forums about the Document-level…. I swear I read a lot of forums that said using Advanced>Document Processing>Set Document Actions>Edit All was ok. Clearly it’s not ok, especially after I found this forum: http://answers.acrobatusers.com/Where-I-enter-document-level-javascript-adding-FormRouter- Calendar-q55527.aspx. 
    So I guess my question(s) is this:  IS that “Edit Document Javascripts” really necessary?  B/c I’ve looked and I don’t have it. I’m using Adobe Acrobat 9 Standard, ver 9.5.5 (and I’m using Windows XP Pro ver 2002 , if that matters).  Is this JS editor only available to the Pro version?  Would it really be a bad thing to just leave it alone as a keystroke event (aside from the unwieldy large, duplicated codes it vomits as a result)? Or maybe, is there a way to code a new row on instead?  I remember seeing an example where you can add more lines as needed, but I can’t for the life of me find it again.
    Thank you in advance for all your assistance.

    * Huh....it just figures... right after I finally give up and post up a question, I would find the answer. =_=;; http://forums.adobe.com/message/4727325#4727325. 
    So, Standard version apparently doesn't have that exalted “Edit Document Javascripts”.  Apparently a way around it is using the Page Open event.  Well, it works - the massive array only shows up once in the editor, and the multiple rows each call the function instead.  Nice. 
    Well, I will leave this up in case someone else can use the reference.  Thanks to anyone who read this and was going to answer me. =)
    Don't suppose anyone knows how to create a code to add new rows instead of having 15 rows straight off the bat?  Or should I make a new post for that?

  • Document Level JavaScript to turn off caching for a PDF?

    I have been trying to find a way to ensure that a fillable PDF leaves no trace of itself on a computer that was used to open it. For example, if a user acceses a fillable PDF via browser or Reader, once they are done and have closed the browser or Reader, I want no trace of the information to remain in any cache on that machine. We don't want to require our users to try to control cache via settings in Reader, so I have been trying to find other ways to do this.
    I came across the following comment from GKaiseril in another thread - is this a way for a PDF to control its own caching? Any details or alternative approaches would be welcome!
    GKaiseril
    Re: Metadata - Can't remove
     You can also use document level JavaScirpts to turn off the auto complete and caching for a given PDF.

    Version 9 and 10 of Reader do not cache form data in a temporary FDF as previous version may have. The nocache document property it not even documented in the latest Acrobat JavaScript reference. If you're concerned about previous versions, you can use set the nocache document property at run-time, but users can disable JavaScript, so that approach is no guarantee.
    For information on controlling autocomplete, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.407.html

  • Document Level Header Scripts

    Hello -
    I am looking for any assistance you may have.  I am working on a project in Acrobat Professional 7.0 that requires me to add the computer username to the header of a pdf file.  I have determined, and implemented this in Excel files using an onopen event.  I need to do the same thing but in a pdf file.  I have absolutely no javascripting experience so the more basic your explanation the better.
    After reading up on the internet, I believe that I need a document level script?  I found an example that is:
    this.addwatermarkfromtext({
    ctext: "Confidential Document",
    ntextalign: 2,
    nhorizalign: 2,
    nvertalign: 0,
    nhorizvalue: -72,
    nvertvalue: -72,
    I entered that under Advanced, Javascript, Document Javascript but I receive an error that says typeerror: this.addwatermarkfromtext is not a function.  Again, I would need to change it to pull the username (I am assuming I can do this with a variable?).  I appreciate any and all help.
    Thanks in advance for your time.

    Thanks for the quick response.  Here is my situation.  The pdf file contains highly confidential information.  I want to email it out and have the username automatically appear in the header or footer so everyone is aware of who printed the copy.
    If, according to your last post, cannot assign that to the document level then must that be applied on everyone's computer?  Please note that I am the only one with Professional.  All users will be using the Reader only.
    Thanks again for all of your assistance.  It is greatly appreciated.

  • Integration of javascript libraries with Acrobat Document Level Javascript

    I have a requirement to build a custom SOAP message and process a PDF document as a SOAP attachment sent to a specific endpoint.
    Document level javascript presents a tool that when coupled with a third party javascript library could be used to capture the PDF document and send it as a custom SOAP message built entirely with Javascript.
    Does document level javascript allow for integration with third party libraries like Dojo or the like?
    Any examples available of document level javascript including known third party javascript/ajax libraries?

    Ajax and other JS libraries can't really be used in Acrobat. You can load them, of course, but they're built for JS that runs in web-browsers and will not be of much use in a PDF.

  • Change Validation to complete document level

    SAP experts,
    In tcode F-65 the business is using account assignment model to post recurring entries by filling in the template. Here it has a validation "Amount is Zero - line item will be ignored" at the Line item level. Business wants this validation to be changed from Line item level to the whole document level (at the time of save).
    The message no. is -- FX090
    "Amount is Zero - line item will be ignored"
    How can I change this validation settings?... please help asap.
    Thanks in advance.

    Dear Sameer,
    You would need to implement it at header level.
    For example in IMG under
    Financial Accounting -> Accounts Receivables and Accounts Payable -> Business Transactions -> Posting with alternative Reconciliation accounts -> Carry out and check document settings -> Validation in Accounting Documents.
    You can see some of the validations are implemented at item level and some at header level.
    Regards,
    Naveen.

  • Deciding collaborator roles at the Document level

    Hi,
    I have created a few collaborator role deifinitions which are reflecting in the drop-down, under the roles in collaborators during document creation.
    But I am unable to understand, which role should appear for which document type.
    for Example, there are a few roles coming during project creation and few others while X-press service request creation.
    Please let me know how can I decide that a particular role should appear in the roles drop-down of project creation only and another role should appear in the X-press service request creation only.
    Thanks,
    Vaishali.

    Hi
    In collaborator role definition, you can specify whether a role is meant for a document or report using Role Usage. Also each collaborator role is assigned an object level security profile which determine the access rights. e.g. a report developer role with role usage: Report would not be available during creation of project.
    Regards
    Mudit Saini

  • Storing custom metadata values at document level

    Hi,
    I want to create a metadata to store values at document level but looks like all custom metadata values are associated with document revision level. for example i want to store Parent document id value as part of the document because if store this value at each revision level then i will have additional overhead to update every time on each versions if parent document id is getting changed.
    Please let me know Can we create custom metadata to store values at the document level?
    Thanks,
    Suresh K

    Hi Srinath,
    I am sorry I think the word document created confusion. Office documents + Desktop integration do not have details.
    I am looking like how to create a custom metadata that can be applied at content level. I had created custom metadata using Admin applets ->configuration manager ->Information fields->Add. Now this metadata is available for each and every version of the content. I could provide value for this metadata while check in the content or select the particular version and content action->update->change custom metadata value and click on submit update .This updates value for particular version.
    I don't want to provide different  value for each versions because as per our use case the value will be same across the content something like Content ID and if the value is changed then it has to be changed for entire content so is this possible to create metadata that will store value at Content level.
    Thanks,
    Suresh K

  • Reporting FAGLFLEXA document level data

    Hi SCN
    my client is reporting GL balances off 0FIGL_C10 fed from 0FI_GL_10 which is reporting FAGLTEXTT and wants document level data.
    Can I use 0FI_GL_4 to deliver this or must I use a newer extractor e.g. 0FI_GL_14?  I don't see 0FI_GL_14 in RSA5 in R3 which is SAP ECC 6 release 700 SP 16 so I assume this extractor would require installing EHPx which I was hoping to avoid for now ....
    regards
    Ian

    Hi Ian,
    Line item reporting on FAGLFLEXA is related to New General Ledger. So you cannot use DataSource 0FI_GL_4 for this purpose (is used for Classic General Ledger).
    However, DataSource 0FI_GL_14 (for the leading ledger) is not available prior to ECC 6 EhP 3. You also have to activate Business Function FIN_GL_CI_1 as part of the Switch Framework. In addition to DataSource 0FI_GL_14 you can also generate DataSources for non-leading ledgers.
    Please refer to SAP Note  1070629 - FAQs: Migration to General Ledger Accounting (new) for relevant information. The relevant information can be found in the Appendix:
    Question 11. Which extractors are available to extract data from the new general ledger to BI (Business Warehouse)?
    In ECC 5.0 (=> mySAP ERP 2004) and ECC 6.0 (=> SAP ERP 6.0), there is an extractor for extracting totals records from the new general ledger to BI: 0FI_GL_10.
    Note the following: As of Enhancement Pack 3 (=> EHP3), business function FIN_GL_CI_1 (=> General Ledger Accounting (new)), you can also use the line item extractor 0FI_GL_14 (=> DataSource: BWBCT_DS_0FI_GL_14). This also allows you to extract single documents of the leading ledger for BI reporting.
    You can also generate extractors for non-leading ledgers (=> transaction code FAGLBW03). The generated extractors are called 3FI_GL_XX_SI, where XX is the name of the ledger.
    For further information, see (for example) the SAP Library under "General Ledger (New): Line Items of Leading Ledger" or the documentation for the FIN_GL_CI_1 Business Function (=> transaction code SFW5).
    Question 18. New developments within new General Ledger Accounting, delivered with SAP Enhancement Packages - listed as bullet points:
    EhP3 - Business Function FIN_GL_CI_1 (=> New General Ledger Accounting):
    Line item extractor - see FAQ 11 in this appendix.
    Best regards,
    Sander

  • Delivery completion flag at delivery document level

    Hello Tean
    we have developed one inbound interface and Now the interface is working fine.. I am able to do the GR against inbound delivery and the PO status and delivery completion flag is also set at the PO level but now my FO is asking to me to set the delivery completion flag at inbound delivery document level and updation of history also. so i request you to please check and help me to find the solution.
    Technical details which i have used for developing the interface
    IDOC type: MBGMCR03
    Message type: MBGMCR
    Post Goods Movements with MB_CREATE_GOODS_MOVEMENT (ie bapi_goods_mvt_create )
    Please check and let me know the solution.
    Regards
    Raj

    use T code SQVI. here you can join tables having atleast one key field among.
    SQVI> give table name> press create> pop up will come> give the details > select table join from the drop down> click insert table> in pop up give table name > table details will appear> again press insert table> give next table name and so on. this way you can join many tablesd with key field. if key field is not there. it will not allow.  after joing all the required tables press back button.
    now from left side pane you can select the fields from ech table and decide which should come as input ( for eg company code , date etc)  and the outputs from each table.  Then save.
    now you can execute this in the same screen. or else you can use it later on also.  go to SQVI. give the Quickveiw name you have selected. and exceute.  it will act a  report with the inputs and outputs you have selected.
    if you want to restructure the report . it is possible.  change the input and output fields.  and save

  • T-code FAGLB03 drilldown to document level cant view the field cleared/open

    Hi everyone,
    It is my first time to post a thread here.
    Currently i using ECC 5.0 GL Balance displayed through FAGLB03:
    when i drill down to documet level and i need to create my own layout i cant see
    the field "cleared/open items symbol". But if i using  t-code FS10N, when i drilldown to document level i can select the field "cleared/open items symbol", or
    i can select local currency3.
    hope anyone can help on this

    Hi Christoph
    thank you to reply my message,
    Support package is upto 5 in our company. Below is our package information :-
    EA-APPL             500   0005     N       SAP R/3 Enterprise PLM, SCM, Financials
    EA-DFPS             500   0005     N       SAP R/3 ENTERPRISE DFPS
    EA-FINSERV     500     0005     N       SAP R/3 Enterprise Financial Services
    EA-GLTRADE    500     0005     N       SAP R/3 Enterprise Global Trade
    EA-HR             500     0005     N       SAP R/3 Enterprise HR Extension
    EA-IPPE             300     0004     P       EA-IPPE 300: Add-On Installation
    EA-PS             500     0005     N       SAP R/3 Enterprise Public Services
    EA-RETAIL        500     0005     N       SAP R/3 Enterprise Retail
    P          2004_1_500     0014     P       PI 2003_1_470 : Add-On Delta Upgrade
    PI_BASIS     2005_1_640 0010     X        Basis Plug-In (PI_BASIS) 2005_1_640
    SAP_ABA              640  0009     S        Cross-Application Component
    SAP_APPL        500     0005     R        Logistics and Accounting
    SAP_BASIS       640     0020     S        SAP Basis Component
    SAP_BW              350     0009     W       SAP_BW 350
    SAP_HR              500     0005     R        Human Resources
    ST-A/PI  01I_ECC500     0000     C        Application Servicetools for ECC 500
    ST-PI     2005_1_640     0005     X        SAP Solution Tools Plug-In
    VIRSANH     510_640     0000     C        RTA 5.1 Installation package for HR and
    If my company using package 5, so can we apply this note 862523 ? when i refer this note in our system didnt exist this 2 report which are FAGL_CORR_0001  and FAGL_CORR_0002  , how can i apply this ?
    Hope you can guide me on this . thank you

  • Total amount of all the items of invoice at document level to present ....

    We have two cubes one is sales document count cube (header data) and other one is sales transation cube (item level data) . Invoice net val is there in sales document count cube and profit center, principal and item category is ther in sales transation cube.
    our requirement is ,total amount of all the items of invoice at document level to present along with principal, profit center & item category.
    This has to be done in the document count cube and not the transaction cube.
    note: multi provider is not solution. There any solution at query level?

    hi
    If your using 2 ODS one for header and one for Item to 2 Cubes.....
    Then just create a update rule between Item data ODS to Document CUbe mapping the new keyfigure ( Net value of total of all items in sales order )
    If not tel me how the cubes and ODS are fed the data
    Assign points if useful
    Regards
    N Ganesh

  • How do I validate a certificate (not visible) at the document level?

    I am using Acrobat XI Pro running in Windows 8.
    I created a PDF document with form fields (type: button) and JavaScript codes (field-level and document-level). Before I certify (not visible) and save the document, I want to add a document-level script that checks if the certificate is valid. If the certificate is valid, I would like to  schedule an interval object to update some of the icons in the fields. Is this possible? If so, how do I get the “certificate (not visible) field” and check that it is valid
    Thanks. - john

    I am using Acrobat XI Pro running in Windows 8.
    I created a PDF document with form fields (type: button) and JavaScript codes (field-level and document-level). Before I certify (not visible) and save the document, I want to add a document-level script that checks if the certificate is valid. If the certificate is valid, I would like to  schedule an interval object to update some of the icons in the fields. Is this possible? If so, how do I get the “certificate (not visible) field” and check that it is valid
    Thanks. - john

  • Document-level Javascript as Object

    I created a document level script called Utility.
    I want to create methods within this script rather than coding each one separately.
    function Utility()
    this.getFormattedDateOnly=function(pDate) {
      if (typeof pDate == "undefined") {
        pDate = new Date();
      var retval = util.printd("m/dd/yyyy",pDate);
      return retval;
    this.getFldsOnPagenum = function(pPageNum, pDoc) {
      /* returns an array of the form fields who are on or start on a page */
      /* zero based return ; however pPageNum is 1 thru numPages, not 0 -> numPages-1 */
      var currPage;
      var currFld;
      var cnt = -1;
      var ARflds = [];
    CPR("# flds=" + pDoc.numFields+" Type of pDoc:"+ (typeof pDoc));
      for (var i = 0; i < pDoc.numFields; i++) {
        currFld = pDoc.getNthFieldName(i);
        if (typeof currFld.page == "number") {
    CPR("page="+(1*currFld.page+1));
          if ((1*currFld.page+1) == pPageNum) {
            cnt++;
            ARflds.length = cnt + 1;
            ARflds[cnt] = currFld;
    CPR("\n cnt="+cnt);
        } else if ((1*currFld.page[0]+1) == pPageNum) {
          cnt++;
          ARflds.length = cnt + 1;
          ARflds[cnt] = currFld;
      return ARflds;
    var MyUtil = new Utility();
    This is all working fine with the following exceptions:
    1) the methods are not being registered in the Javascript hierarchy listing.
    That's annoying.
    2) "This" is not recognized at the document level....I must pass it as a parameter (pDoc).
    I thought that was strange...I could see it if were at the folder level.
    It appears the document object is out-of-scope !!
    3) currFld = pDoc.getNthFieldName(i);
    The above is failing....sending back a "currFld is undefined" error.
    I don't see the problem....very strange IMHO.
    When I call the getNthFieldName function from the console....no problem.
    What am I doing wrong in the definition here ?
    It appears that what I did has Acrobat functions and document properties out-of-scope.

    I think this would work if you could make the document object a member of the Object being created.
    To do that, a constructor needs to be invoked so that it can instantiate a public property of the Object.
    var MyUtil = new Utility(this);
    inside of Utility I would have:
    this.oPDFdoc =  this;
    thereby transferring a reference to the entire PDF document to my Object.
    Getting this to work would eliminate the need for all of the document-level javascript references.

Maybe you are looking for

  • Goods Receipt (MIGO) outside PO and/or Contract Validity Period ?

    Hi Gurus, Within our PO process, I created a PO which references a contract. Both have a Validy Period Start and End set up in customizing and filled in. But my problem is that I can still enter a Goods Receipt in MIGO to that PO, after validity has

  • How can I do to get excel and words into my IPAD

    How can I do to keep excel an words documents into my IPAD???

  • On new PC and can't transfer MP3's.  Please help.

    Hello all, Pretty new to the iPOD world. Have a 30 gig iPOD video. Had it working no problems on my laptop. Have a new PC that I now connect my iPOD to and I am having problems transferring my own mp3's to the iPOD like I did with the laptop. I would

  • 3KEH and 3KEI

    Dear Sir / Madam, We have different profit center under one company code and we derive different trial balance for these profit centers. Under one company code we have various gl accounts which are used by the various profit centers. The Balance shee

  • Sending all e-mails out of the draft-folder

    Is it possible so send all e-mails in the draftfolders at once? I know is possible with an AVB but do I have to use it also for outlook 2010. thank u