Adding a variable Watermark

Hi,
We have a  180pp PDF which we need to put a large overprinting tinted number across the middle of each page, i.e. 0001,
we have to print 200 copies of this document and each printed copy needs to have a different number, 0001 to 00200, is there
anyway we can automate this.
thanks in advance.
Paul

A watermark can be added through JavaScript but the contents of the watermark cannot be changed by JavaScript. I would look at creating a form field across each page. You  can then write a short JavaScript to print the PDF multiple times usins a for loop and fill the form field with the value of the print number.

Similar Messages

  • Adding session variable causes Dreamweaver to not recognize recordset

    I have a recordset that I have written in advanced mode, the test checks out fine and dreamweaver reconizes it in "server behaviors" and the code is colorized in "code view". Testing the page in a browser works fine.
    Adding a variable for session username, still checks out with MySQL and saves to the page but is no longer recognized in the "server behaviors" and in "code view" it is no longer colorized. All server behaviors that use a recodset as in repeat regions break and cannot find the recordset. Testing in a browser quickly displays a blank page in firefox and a 500 error in IE.
    This is with a bogus variable, which loads fine.
    mysql_select_db($database_ess, $ess);
    $query_client_bdays = "SELECT clients.clientname, clients.birthmonth, clients.birthday FROM clients WHERE clients.username=username AND CONCAT(YEAR(CURDATE()),'-',birthmonth,'-',birthday) BETWEEN DATE_ADD(CURDATE(), interval 30 day) AND DATE_ADD(CURDATE(), interval 60 day)";
    $client_bdays = mysql_query($query_client_bdays, $ess) or die(mysql_error());
    $row_client_bdays = mysql_fetch_assoc($client_bdays);
    $totalRows_client_bdays = mysql_num_rows($client_bdays);
    Here is with the session
    $varU_client_bdays = "-1";
    if (isset(<?php echo $_SESSION['username']; ?>
      $varU_client_bdays =<?php echo $_SESSION['username']; ?>;
    mysql_select_db($database_ess, $ess);
    $query_client_bdays = sprintf("SELECT clientname,  birthmonth, birthday FROM clients WHERE clients.username=%s AND CONCAT(YEAR(CURDATE()),'-',birthmonth,'-',birthday) BETWEEN DATE_ADD(CURDATE(), interval 30 day) AND DATE_ADD(CURDATE(), interval 60 day)", GetSQLValueString($varU_client_bdays, "text"));
    $client_bdays = mysql_query($query_client_bdays, $ess) or die(mysql_error());
    $row_client_bdays = mysql_fetch_assoc($client_bdays);
    $totalRows_client_bdays = mysql_num_rows($client_bdays);
    I have also included a screen shot of the mess in code view.
    Thanks for any help in advance!

    Found the answer, changing from  <?php echo $_SESSION['username']; ?>  to   $_SESSION['username'];  resolved the issue.

  • Adding environment variables to Runtime.exec()

    Hello,
    I'm trying to use Runtime.getRuntime().exec(command, envp);
    When envp is null the program launches properly. (the doc says that the subprocess inherits the environment settings of the current process).
    I want to add an environment variable, so when I use an array containing only my variable (envp), the process fails. I guess it needs the variables of the current process (as used when using null).
    In that case, How adding a variable instead of replacing the default ??????
    (I did not see any way to retrieve these default variables so I can concatenate with the custom one)
    Thanks !

    Use a wrapper script that is launched with a default environment and first sets the custom variable and goes on with your program.

  • Adding a variable in a Message Popup

    Hi guys, how to get a local variable in a message Popup? I try "string text"+ Runstate.Caller.Locals.foo ... Coz runstate is while program is running, Caller is the calling step and then local variable.
    But this give an error. Where to access my local variables while running?

    First of all, it depends on the data type of the variable. String can be added "similar" to the way you described. Numeric and boolean has to be cast.
    Second, you seem to misunderstand the concept of the RunState-property. If you want to insert a local variable of the sequence you are currently running, the expression should be:
    "My Dialog Text " + Locals.<localname>
    Don't forget type casts if not working with string variables!
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Adding local variable using mfc-application

    Hi.
    I’m looking for a way to add a local variable to a TestStand-Sequencefile (not while the sequence is running) – out of a MFC-application. It’s not the first time this question is asked – I know. But I’m not able to get the other solutions running.
    Thought it should work like this:
    Step SequenceStep;
    TS:ropertyObjectPtr property;
    disPtr = tsEngine.NewStep(TS_SequenceAdapterKeyName, TS_StepType_SequenceCall);
    SequenceStep.AttachDispatch(disPtr);
    SequenceStep.SetName("Sequence");
    //add a local variable to the new created sequence
    property = SequenceStep.AsPropertyObject();
    property->SetValString("Locals.VarToInsert", 1, "Str");
    In TestStand I’m not able to see the
    new variable – but in the Sequencefile the following lines were added:
    [SF.Seq[0].Main[2].Locals]
    VarToInsert = "Str"
    After changing the lines to:
    [DEF, SF.Seq[1].Locals]
    VarToInsert = Str
    everything works fine. Any suggestions what’s wrong with my program?
    Thanks!

    I’ve found a solution (example in the TestStand-folder) for this problem.

  • Adding Three Variables using Standard Action?

    I'm attempting to create an expression using a standard action. However I'm finding that it will only allow me to enter two variables (NOT 3) for the total.  (total 1) + (total 2) = data_targetmonthly (as shown below). I need the expression to be: (total 1) + (total 2) + (total 3) x 1.3  = data_targetmonthly.
    Please see attached. Should I be using an equation at this point instead?

    I've been pulling my hair out on this one and I've gone through the Rapid Learning blog, your site and the Lynda.com training as well as searched throughout youtube and the community forums and still can't find the answer I'm looking for.
    I have four text entry boxes in one column where the student enters in an item they'd like to have. Each item goes into its own TEB.
    EX: Ford Mustang
    In the middle column I have a cost for that item that they enter in (variables labeled as: cost_1, cost_2, cost_3, and cost_4). They manually enter it in - there are no preset values that they enter from a list on the screen or that I can have them select from a drop-down menu or anything.
    EX: $300/mo
    In the third column I calculate how much that item would cost over the course of a year.
    EX: $4680
    The Action to determine the $4680 value would be:
    COST_ITEM1: SUM_ITEM1 = COST_1 * 1.3
    Now if I stopped there with one item - EVERYTHING WORKS GREAT! But here is where I run into trouble....
    I want to follow this procedure for all four items and then create a GRAND TOTAL for the entire list using the same formula as above. But when I do so, the value always comes up as "0".
    I had created a variable called "total_1" and the following action:
    12_TOTAL: total_1 = COST_ITEM1 + COST_ITEM2
    and then created the following as well:
    34_TOTAL: total_2 = COST_ITEM3 + COST_ITEM4
    Then I created an action entitled:
    FINAL_TOTAL > YEARLYCOST: 12_TOTAL + 34_TOTAL
    This gives me the "0" total. Again. It's driving me NUTS. Can you point me to where I'm going wrong? Am I correct in lumping together the FINAL_TOTAL figure as 2 totals? I wish there was a simpler way - by adding multiple totals (more than 2) into one variable.

  • Adding dynamic variables

    I remember reading somewhere how you can add variables building on the fly but can't find any references. What I have is a MovieClip in my library. I will use it to create several Menu Items.
    This is what I have written:
    LessonButton = new mcLessonBtn();
    LessonButton.name = "menuLesson"+i;
    this.addChild(LessonButton);
    Thanks

    I would guess that you are creating as many of them as you expect but you are only seeing the last because they sit atop one another.  Try adding something like the third line I show in the loop below and you should see them all.
    There are probably a few ways to approach this, so here's one.  Declaring the var outside the function isn't going to help you get a handle on anything outside the loop except the last one created, so using the "name" property can work.  But in AS3, the name is just that, a property, it is not the instance name so you cannot target it that way... using the bracket notation won't work as you tried.  You need to use the getChildByName() method to be able to target an instance using its name property.
    But when you create each LessonButton in that loop, you don't need any indirect reference because the one just created is directly accessible by that variable name (see the last line in the loop).
    for(var i=0; i<LessonTitles.length; i++)
         var LessonButton:mcLessonBtn = new mcLessonBtn();
         LessonButton.name = "menuLesson"+i;
         LessonButton.x = i*100; // do this to see all you create (just to see them all)
         this.addChild(LessonButton);
         LessonButton.Lesson_txt.text = LessonTitles[i];
    Another approach to this could be to store the instances in an array.  That way you can access them directly that way. Just as an example, the second loop is just as well done in the first...
    var lessonBtns:Array = new Array();
    for(var i=0; i<LessonTitles.length; i++)
         lessonBtns[i] = new mcLessonBtn();
         this.addChild(lessonBtns[i]);
    // and to manipulate them later on...
    for(var k=0; k<LessonTitles.length; k++)
         lessonBtns[k].x = k*100;
         lessonBtns[k].Lesson_txt.text = LessonTitles[k];

  • Modbus Communication, Adding shared variables, Licenses

    Hello,  I am having trouble communicating with a third party DAQ.  I am receiving data from a thermocouple input module through a modbus library address but I recently purchased a digital I/O module which is giving me trouble.  As soon as I add the shared variables which correspond to the modbus addresses of the digital I/O module channels I am using I get a few different errors.  If I turn off aliasing for one of the thermocouple channels I get Error 1550 "the license for the I/O server type is invalid"....If I turn it back on I get errors for every modbus location saying "invalid value for enable aliasing option"  I am using the student edition and on the opening screen it says the data logging license is expired.  Is that the problem?  I don't think so because I am successfully communicating with the thermocouple module of the same DAQ device.  Is there a simple way to write a new VI that I can try to communicate with just a switch on the digital I/O module and see if it is reading on or off (0 or 1).  Thank you very much for your time

    Hi brade, 
    To clarify where we are at. the behavior you are seeing isn't expected. It is a minor bug that we have seen in R&D but haven't been able to reproduce and fix yet. 
    People have gotten around it by
    1) re-making their projects 
    2) Enabling descriptions, as the engineer in other post.  The problem went away for him on this post: "Aliasing is no longer an error.  (As long as NI Variables (task description) is enabled)."
    We were talking about the aliasing tab you can see on the modbus variables in hte labview project by right-clicking and going to properties; 
    I assume he checked the box on this tab: 
    Can you also post your project? 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • Adding a Variable Value to the cpQuizInfoPointsScored Variable

    I have a variable that I am using to track incorrect responses (clicking incorrect buttons while completing a process) and I want to add the value of the the variable to the value of cpQuizInfoScored. I can create an expression to add the two but I can't select cpQuizInfoePointsScored to receive the total.
    Any help would be appreciated.

    Jimmy.  This might be that you are misunderstanding how the Interactive Master widget works with partial scoring.  Basically you need to specify the score that will be allocated to a slave object using the Scoring section in the Master Widget properties interface.  That's the score that will be reported to the Quiz instead of the default score you've assigned to the interactive widget via the Properties > Report Score section in Captivate.
    Using the preference settings you select, the Master Widget is going to try and work out whether or not the Variable Slave is in a Success or Failure condition, and THEN it will report whatever score you've assigned for that circumstance.
    What you're trying to do is a little different.  You want to have ONE variable slave that can have a score anywhere between 60 to zero.  My suggestion is that you consider using setting up different user variables for each of the interactive objects on the slide that you are tracking and then add each of these variables into the Master widget as Variable Slaves, assigning each one a Success or Failure score in the Scoring screen. 
    For example, if you ahve a number of click boxes on a slide and you are tracking whether or not the user clicks the right ones, you need to set up a user variable with a default value of 0 for each click box and assign that variable a value of 1 if the click box gets clicked.
    The Master Widget will be able to determine for each of these slaves whether they are in a Success or Fail condition based on whether the variable is set to 0 or 1 and then add up the relevant scores allocated for each variable.  This aggregated score is what can be reported to the quiz score, over riding the default score assigned to the widget.

  • Adding a Variable name to a filename in background processing

    Hi All, Currently when I run a background process I am giving it a file name of
      file_name = '/tmp/END_CUST'.
      CONCATENATE file_name '_'  v_dat '_' v_tim '.txt' INTO file_name.
    This works and shows the filename correctly. However before running the background processing, I choose a variant and would like to concatenate that name in to it as well. I am not having luck with this.
    Rewards for helpful answers

    Hi dipesh,
    1. The current variant name is stored in system variable
       <b>SY-SLSET</b>
    2. Hence, you can concatenate it like this for eg.
    file_name = '/tmp/END_CUST'.
    CONCATENATE file_name '_' v_dat '_' v_tim '.txt' INTO file_name.
    <b>concatenate file_name sy-slset into file_name.</b>
    regards,
    amit m.

  • Adding a variable

    Hi,
    I am new to OBIEE and trying to create a variable to be used in the report. In SAP BO, we can right click the variable on the left side and create variables.
    I do not see that kind of option in OBI, any help would be appreciated where i can find this.
    Thanks,
    Arun

    Raj,
    I have to create a variable that can be used on the reports. The variable created will be pulled on to the report as a new column value.
    Any suggestions on how to do it?
    Arun

  • Adding a variable an instance name

    i have a variable that is my flash movie is retreiving (well,
    hopefully....i'm having troubles with the
    loadVariables)....anyweezer, the variable is named "id". i would
    like to add the value of this variable to then end of a text string
    and then use it as reference to an instance name.
    for example, i have movie clip with an instance name of
    TTMO110333. if the ID variable had a value of 110333, how could i
    use that in actionscript to allow me to refer to the latter part of
    the instance name with the variable?
    something to the effect of....
    on(rollOver) {
    this."TTMO"+id._visible = true;
    }

    thanks for your help, but neither solution is working for me.
    i think it may be because i'm using this in a function for a movie
    clip, to make it act as a button. i am also having problems getting
    getURL() to open a blank page inside a function for a movie clip
    like this as well. is there something i need to do differently if
    i'm trying to apply this to a movie clip? here's my AS....
    this.loadVariables("linkCCdisplay.php","POST"); //this gets 3
    variables: url1, title1, and id1
    TTbutton1.onRelease = function() {
    TTbutton1.getURL(url1, _blank);
    }; //the "blank in this doesn't work, it goes to the url,
    just not in a new window
    TTMO110333._visible = false; //this refers to a movie clip
    that is on the same stage with an instance name of TTMO110333
    myInterval = setInterval (TTMO,15);
    function TTMO () {
    TTMO110333._x -= (TTMO110333._x - _xmouse)/10;
    TTMO110333._y -= (TTMO110333._y - _ymouse)/10-2;
    TTbutton1.onRollOver = function() {
    this["TTMO"+id1]._visible = true;
    } //this refers to a movie clip with an instance name of
    TTbutton1, i would like to make the clip visible only while the
    mouse is over the movie clip i'm trying to get to act as a button
    any ideas on how to solve these problems? thanks again for
    your time.

  • Adding a variable to a class causes a WinRT originate error.

    I have a Clock class which causes my game to crash after I add the following line
    public:
    int FrameTimeTicks; // this line will cause the crash
    the error message reads:
    First-chance exception at 0x74B24598 (KernelBase.dll) in HH.exe: 0x40080201: WinRT originate error (parameters: 0x80000013, 0x0000001D, 0x02C3D5E0).
    First-chance exception at 0x74B24598 in HH.exe: Microsoft C++ exception: Platform::ObjectDisposedException ^ at memory location 0x02C3DA80. HRESULT:0x80000013 The object has been closed.
    WinRT information: The object has been closed.
    The program '[8200] HH.exe' has exited with code 0 (0x0).
    This is completely meaningless to me. It's a strange problem.
    Edit: When i step through the program, a breakpoint on the first line of MainPage() isn't reached before the exception is thrown. I can put a breakpoint in Clock constructor which looks like this:
    Clock::Clock()
    QueryPerformanceFrequency(&frequency);
    QueryPerformanceCounter(&pCountAppStart);
    //FrameTimeTicks = {};
    And it will be hit, when i step through from there, execution reaches the end of Clock(), goes to MainPage() open brace, but before it hits the first line I get "Source not available - Source information is missing from the debug information for this
    module ..."
    So has MainPage been disposed ?
    Here is the Clock.h file:
    #pragma once
    #include <Windows.h>
    #include <map>
    #include "Debug.h"
    using namespace std;
    using namespace Platform;
    using namespace Platform::Collections;
    class Clock
    public:
    Clock();
    int64 MarkIn();
    int64 MarkOut();
    //int FrameTimeTicks; // can't add these
    //int FrameTimeMS = 0;
    private:
    LARGE_INTEGER frequency = {};
    LARGE_INTEGER pCountAppStart = {};
    LARGE_INTEGER pCountStt = {};
    LARGE_INTEGER pCountEnd = {};
    //int frameTimeTicks; // can't add these either
    //int frameTimeMS;

    So I think I have found the problem here, and I came to a fix by using Analyze > Run code analysis on solution. Something I've never used before. When i ran it, it gave me 3 issues, one of the issues was that I was using a byte* to pixel data after a
    failed call to
    IBufferByteAccess->Buffer(&pixels);
    I don't know why the call is failing as I call it immediately after creating the WriteableBitmap, and then later in ClearBitmap. Also, the call result never returns a failure. But, nevertheless, by checking for the HRESULT and returning NULL if it fails,
    then checking for NULL in the calling functions. The issue seems to have been resolved and I can add variables to my clock class.
    I guess something weird was happening with memory.

  • Adding a variable to a y position

    Gidday
    I have the following working line:
    moveMC.y = twn.bounceBall01.y
    It successfully gets the y value of bounceBall wthin the MC twn, and applies it to the y value of moveMC
    How do I replace the 01 in bounceBall with the following global variable: globals.data.clk  ?
    I've tried using a way that Ned successfully showed me for a different situation, plus tried some other permutations, but Flash says "no way dude".
    Thanks for your help guys.
    Shaun

    Nevermind guys - stumbled on it.
    Here it is for anyone interested:
    moveMC.y = twn["bounceBall"+[globals.data.clk]].y
    (about time I did something around here).
    Thanks

  • Adding a variable menu for message mapping

    I know that variable menus serve the purpose of a sub-routine in terms of ABAP but I'd like to know if including them will affect the output in ABAP Proxy? I am currently planning optimizing my mapping by defining a variable that has a commong function for my duplicate records. Thanks!

    Hello Richard,
    After a quick review I think you missed the creation of a reversed DNS record (PTR record) for the new IP address. For SMTP traffic it's really important to have a good PTR record.
    Besides that I would invite you to read carefully the topics about "virtual gateways" in you online documentation. Those are a specially created solution for your problem and if I remember right you can even use a secondary IP address on you existing interface for it.
    Good luck!
    PS: kudos for your marketing department, most of the times those guys start their e-mail cannons without even thinking about any possible side effect on the main production mail flow. :-)
    Steven

Maybe you are looking for