How use two templantes with only one job ?

I have two templantes and want use with only one job.I use with input one xml data file !!
Is this possible?
Please Help!!
Thanks,
Bruno.

I probably missed this one earlier or felt that since it referenced an XML data file that I couldn't provide a definitive answer. I'm still not sure I can because we don't use XML for our data files, but use the "field nominated format".<br /><br />An expansion on Tammy's information:<br /><br />1. use a multi-step job with each <br />b task<br />calling a different MDF.<br />With this correction, it assumes that you either have access to set up the tasks/jobs yourself or can convince your Central administrator to do so. What happens is that TASKA is set up to reference FORMA and TASKB is set up to reference FORMB. Then a job is set up that causes both TASKA & TASKB to be ran. This will likely result in two different print files being sent to the printer. That may or may not be desirable, depending on whether your printer is set up to do something special between each print file (insert separator page, offset, whatever). Personally, I don't recommend this as it can quickly cause an unnecessary proliferation of tasks and jobs (we print 100's of differing form combinations with a single job definition).<br /><br />2. I can't really address this as I didn't even know that a single form could cause another to be called. I would expect that unless the "base" form (say it is FORMA) is to always print with the secondary form (FORMB) it is restrictive and has the potential to cause a proliferation of FORMA files for the various combinations that are to be printed. Maybe it is possible to have logic to check the value of a data field to control what forms get called.<br /><br />3. If you pass the XML file through a translation step and then through the transformation agent (maybe it can be done in a single step) this should work. It does add another step to the job as well as requiring learning to use the transformation agent. Depending on the combination of forms to be printed, you might need a different translation definition for each one, or at the very least have a data field that you can check the value of to determine what ^form commands to put in the output file.<br /><br />4. My recommendation is based on assuming an XML data file has the same capabilities as a field nominated file. Within a field nominated file are various print agent commands, including references to data as well as which forms are to be printed (and a whole bunch of other commands). An XML file should have the same features - I just can't say what they might look like. If your current data file has no "form" reference but depends on the job/task definition you might have to stick with option 1. If it has a "form" reference, then you just need to insert additional references for additional forms. Then it is up to the source of your data (or a transformation agent step) to specify which forms are to be printed. For example, in field nominated format, the file might look like:<br /><br />^job XYZ additional parameters<br />^form FORMA.MDF<br />^field FIELD1<br />data<br />^field FIELD2<br />data<br />^form FORMB.MDF<br />^field FIELD1<br />data<br />^field FIELD3<br />data<br /><br />or it might look like the way our files look:<br /><br />^job XYZ additional parameters<br />^global FIELD1<br />data<br />^global FIELD2<br />data<br />^global FIELD3<br />data<br />^form FORMA.MDF<br />^form FORMB.MDF<br /><br />As you can see in the first example, there is a reference to the form followed by all fields that go on it followed by another form reference with the fields that go on it. This particular method, using all "^field" commands for defining the data requires that data duplicated between the forms be duplicated. (Or, the use of some ^global commands like the following.)<br /><br />In the second example, all data is defined first using the "^global" command followed by all of the form references. This allows for the data to be defined only once. If there is something unique regarding a particular form the field can be ^global at the beginning or it can be ^field <br />b after<br />the ^form reference (similar to the first example).<br /><br />As previously mentioned, the XML file should have the same capability but in XML notation, something like the following (forgive me as it has been years since I took the XML class and don't use it in my daily work so the actual format could be wrong, not to mention the actual labels):<br /><br /><job name=XYZ,option=aaaa,option=bbbbbbb><br />  <form name=FORMA.MDF><br />    <field name=FIELD1, value=xxxxxxxxxxx></field><br />    <field name=FIELD2, value="xxxxxxxxxxxxx"></field><br />  </form><br />  <form name=FORMA.MDF><br />  etcetera<br /></job><br /><br />or maybe:<br /><br /><job name=XYZ,option=aaaa,option=bbbbbbb><br />  <global name=FIELD1,value=xxxxxxxxxxxx></global><br />  <global name=FIELD2,value="xxxxxxxxxxxxx"></global><br />  etcetera<br />  <form name=FORMA.MDF></form><br />  <form name=FORMB.MDF></form><br /></job><br /><br />or even (but I doubt it):<br /><br /><job name=XYZ,option=aaaa,option=bbbbbbb><br />  <globals><br />    name=FIELD1,value=xxxxxxxxxxxxxxxx,<br />    name=FIELD2,value="xxxxxxxxxxxxxxx"<br />  </globals><br />  <forms><br />    name=FORMA.MDF,<br />    name=FORMB.MDF<br />  </forms><br /></job>

Similar Messages

  • Using a queue with only one consumer

    Hello,
              I would like to know how I can setup a system with a JMS Queue and only one
              consumer.
              I think I can create a MDB and specify in the DD that I want only one
              instance of the EJB so that I can have only one consumer.
              Can anyone confirm this assertion ?
              regards,
              Dom
              

              Dominique Jean-Prost wrote:
              > Hello,
              >
              >
              > I would like to know how I can setup a system with a JMS Queue and only one
              > consumer.
              >
              > I think I can create a MDB and specify in the DD that I want only one
              > instance of the EJB so that I can have only one consumer.
              >
              > Can anyone confirm this assertion ?
              Yes.
              For more information on configuring MDB concurrency see
              the JMS Performance Guide white-paper here:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              >
              > regards,
              >
              > Dom
              >
              >
              

  • Two ipods with only one account..is this possible?

    My wife and i both have nanos. I would like to share the same itunes account with both ipods, yet when i plug hers into my itunes account i'm not able to load in the songs on my playlist to her nano? Can some one give me a hand with this. Thank you
    dell 4600   Windows XP  

    Welcome to Apple Discussions.
    Check this: Using Multiple iPods with one computer

  • How do I print with only one cartridge that has ink?

    I have windows 7 and HP Officejet Pro 8600 n911a Printer.  When the color inks depleted I could still print w/black tho had to click on permission stuff.  Now that the black ran out and I have replaced it with a new cartridge it will not print in black only.  These are expensive inks (what else is new????) so cannot afford to replace all at once.  Instructions say in one place that I can print with one or more empty cartridges. another place says I cannot do this.  I was able to print just black only as stated above but now I cannot do so after replacing the black cartridge and the 3 color are empty.   How do I print now with just the black ink only??????  Otherwise I have to wait a month or more before affording the color replacement cartridges.
    Thank you.

    traci610 wrote:
    If anyone has a better solution then buying the color cartridges just to print in black, please let me know.
    "In HP IIC systems, all supplies are required to be installed in the printer for the printer to function."  This information comes from the document on how ink is used in HP inkjet printers, found here.  Alas, there is no other solution.
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • How to share folder with only one person one same Mac

    Could someone please remind me how I share a folder with one person I share my Mac with but not the others (we all have different profiles on the same machine...)
    Thanks,
    Michael

    EddyS45 wrote:
    My wife &amp; I use the same iMac with different user accounts.  How do we share one iTunes account on that computer.  I tried moving the iTunes folder in music on my user account to shared user
    Then hold Option and launch iTunes.
    Select Choose library... and select the iTunes folder in /Users/Shared/ folder.

  • On opening 2 browser Tabs are displayed doubling the infomation how can I start with only one browser Tab?

    each time I access firefox 2 tabs are created each with the same information. To retrieve the information I must manually close the second tab else the info will not display properly. I am wondering is there something I can do to stop this from happening? It happens with direct open or from a link and if allready on a web page and open another via link 2 more Tabs are created it can become very crowded and hard to know which was first tab created. I do hope you understand what is happening and hopefully there is a cure. Thanking you Graham Rice

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How can I play different videos with only one MediaPlayer?

    I want to play two videos with only one MediaPlayer:
    private static MediaPlayerBuilder mpB;
    private static Media mLogo;
    private static Media mSaludo;
    private static MediaPlayer mpLogo;
    private static MediaView mvLogo;
    private static Group gLogo;
    public void start(final Stage stage) {
    mLogo = MediaBuilder.create().source(myGetResource(VIDEOLOGO_PATH)).build();
    mSaludo = MediaBuilder.create().source(myGetResource(VIDEOSALUDO_PATH)).build();
    mpB = MediaPlayerBuilder.create();
    mpLogo = mpB.media(mLogo).build();
    mvLogo = MediaViewBuilder.create().mediaPlayer(mpLogo).build();
    gLogo.getChildren().add(mvLogo);
    sActual = new Scene(gPozos, WIDTH, HEIGHT, Color.BLACK);
    stage.setScene(sActual);
    stage.show();When I want to play mLogo:
    sActual.setRoot(gLogo);
    mpLogo.play();Then, when I want to play mSaludo I do this:
    mpLogo = mpB.media(mSaludo).build();
    sActual.setRoot(gLogo);
    mpLogo.play();or this:
    mpB.media(mSaludo).applyTo(mpLogo);
    sActual.setRoot(gLogo);
    mpLogo.play();or this:
    mpB.media(mSaludo);
    sActual.setRoot(gLogo);
    mpLogo.play();But is impossible to change the Media. It doesn't work. Sometimes I play mLogo video and sometimes (depends on the code) the video mLogo doesn't start and I see an image of the first keyframe and nothing else. I have no exceptions, no errors, nothing.
    I want to play mLogo and then mSaludo. How can I do this?
    Thanks
    Noelia

    Ok, I understand, if I have 100 videos I have to build 100 MediaPlayers but only one MediaView.
    Here I post my code with only two videos, I included all the asynchronous errors.
    package pruebafx;
    import java.util.logging.FileHandler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.media.Media;
    import javafx.scene.media.MediaErrorEvent;
    import javafx.scene.media.MediaPlayer;
    import javafx.scene.media.MediaView;
    import javafx.stage.Stage;
    * @author Solange
    public class PruebaFX extends Application {
        private static final Logger logger = Logger.getLogger("pruebafx.pruebafx");
        private static final String MEDIA_PATH = "/images/";
        private static final String VIDEOLOGO_PATH = MEDIA_PATH + "logo.flv";
        private static final String VIDEOSALUDO_PATH = MEDIA_PATH + "saludo.flv";
        private static Group root;
        private static Scene scene;
        private static MediaPlayer mpLogo;
        private static MediaPlayer mpSaludo;
        private static Media mLogo;
        private static Media mSaludo;
        private static MediaView mediaView;
         * @param args the command line arguments
        public static void main(String[] args) {
            Application.launch(args);
        @Override
        public void start(Stage primaryStage) {
            try {
                FileHandler fh = new FileHandler("DisplayManagerlog-%u-%g.txt", 100000, 100, true);
                // Send logger output to our FileHandler.
                logger.addHandler(fh);
                // Request that every detail gets logged.
                logger.setLevel(Level.ALL);
                // Log a simple INFO message.
                logger.info("Starting PruebaFX");
            } catch (Exception e) {
                System.out.println(e.getMessage());
            primaryStage.setTitle("Change Videos");
            root = new Group();
            mLogo = new Media(myGetResource(VIDEOLOGO_PATH));
            mSaludo = new Media(myGetResource(VIDEOSALUDO_PATH));
            mpLogo = new MediaPlayer(mLogo);
            mpSaludo = new MediaPlayer(mSaludo);
            mediaView = new MediaView(mpLogo);
            mpLogo.setOnEndOfMedia(new Runnable() {
                public void run() {
                    mpLogo.stop();
                    mediaView.setMediaPlayer(mpSaludo);
                    mpSaludo.play();
            mpSaludo.setOnEndOfMedia(new Runnable() {
                public void run() {
                    mpSaludo.stop();
                    mediaView.setMediaPlayer(mpLogo);
                    mpLogo.play();
            mLogo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en Media mLogo");
            mSaludo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en Media mSaludo");
            mpLogo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en MediaPlayer mpLogo");
            mpSaludo.setOnError(new Runnable() {
                public void run() {
                    logger.severe("Error en MediaPlayer mpSaludo");
            mediaView.setOnError(new EventHandler<MediaErrorEvent>() {
                public void handle(MediaErrorEvent t) {
                    logger.severe("Error en MediaView mediaView");
                    logger.severe(t.getMediaError().getMessage());
            root.getChildren().addAll(mediaView);
            scene = new Scene(root, 300, 250);
            primaryStage.setScene(scene);
            primaryStage.show();
            mpLogo.play();
        public String myGetResource(String path) {
            return (this.getClass().getResource(path).toString());
    }My video saludo.flv hangs up.
    Here is the content of the log file:
    <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    <!DOCTYPE log SYSTEM "logger.dtd">
    <log>
    <record>
    <date>2011-12-12T12:03:53</date>
    <millis>1323702233578</millis>
    <sequence>0</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>INFO</level>
    <class>pruebafx.PruebaFX</class>
    <method>start</method>
    <thread>12</thread>
    *<message>Starting PruebaFX</message>*
    </record>
    <record>
    <date>2011-12-12T12:04:06</date>
    <millis>1323702246109</millis>
    <sequence>1</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>SEVERE</level>
    <class>pruebafx.PruebaFX$6</class>
    <method>run</method>
    <thread>12</thread>
    *<message>Error en MediaPlayer mpSaludo</message>*
    </record>
    <record>
    <date>2011-12-12T12:04:06</date>
    <millis>1323702246109</millis>
    <sequence>2</sequence>
    <logger>pruebafx.pruebafx</logger>
    <level>SEVERE</level>
    <class>pruebafx.PruebaFX$4</class>
    <method>run</method>
    <thread>12</thread>
    *<message>Error en Media mSaludo</message>*
    </record>
    </log>
    Do you know when will be available the 2.0.2 version???
    I have to finish my application!!!
    Thanks.
    Noelia

  • HT1203 Two iTunes libraries, only one account!

    My iTunes library on my PC is somehow different from my MAC library. How can this happen with only one iTunes account? How can I merge them?

    1. The contents of the library are stored on the computers and are separate from what's recorded as associated with your Apple ID on Apple's servers.
    2. Move the song files from one computer to the other.
    (110730)

  • We have two iphones and only one ipad.  We want to be able to use "find my iphone" for both phones, which have separate apple ids.  How do we get our ipad to accept this?

    We have two iphones and only one ipad - no mac.  We want to be able to use "find my iphone" for both phones.  How do we get the ipad to accept two iphone accounts?  icloud is enabled on all three devices. 

    Also, be aware of the following:
    The "Find my..." function is pretty much useless if the device is in the hands of a thief.  All that is necessary is for the thief to connect to any computer with iTunes and "Restore as new."
    The only real protection you have is with the personal information on the device rather than the physical device itself.  Something as small as an iPod/iPhone should have a strong 8-digit (or longer) password AND be configured for automatic wipe in the event of ten consecutive incorrect password entries.

  • Hi, I use two email addresses within one account with gmx.  I created one account with the first email address now. How do I add the second one to this account? Now it looks like this. One account was opened with address A. I receive in this account email

    Hi, I use two email addresses within one account with gmx.
    I created one account with the first email address now. How do I add the second one to this account?
    Now it looks like this.
    One account was opened with address A.
    I receive in this account emails for address A and B.
    But I can only write and answer with address A.

    Hi Rudegar,
    Sorry for my late reply.
    It s not the amount of accounts I'm struggling with.
    When I create now for both email addresses one account, then I receive the same emails two times.
    That is not what I want.
    Because on gmx the two email addresses have the same inbox and outbox.
    E.g. I can login to my gmx account either with email A or B. It doesn't matter.
    Now I want to have the same on my ipad.
    One account with both email addresses.

  • I want to make a video clip using two still pictures, placing side by side.  I am able to make with only one at a time.

    I want to make a video clip using two still pictures, placing side by side.  I am able to make with only one at a time.  Also, I am able to move the picture using Transform.  But unsuccessfull in making with two stills in same clip.  Thank you for reply.

    If you want a Picture in Picture effect, stack one still on top of the other with a connect edit. Use Transform to scale and reposition the top image.
    Russ

  • How to use Mac Mini Server as NAT with only one port??

    How to use Mac Mini Server as NAT with only one ethernet port??

    But why did apple sell me this server that does NAT with one port? I don't get it.

  • HT204088 How how can I synch my ipod + iphone music to my new computer? I get the same error  "my ipod or iphone is synched with another itunes library.An Ipod can be synched with only one itunes library at a time. What would I like to do Erase and Synch

    How can I synch my ipod & iphone music (purchased from itunes on my old laptop) to my new laptop? I keep getting the same message on my itunes on my new laptop: " The ipod/Iphone is synched with another itunes library. An ipod/iphone can be synched with only one itunes library at a time. What would you like to do - Erase and Synch or Transfer Purchases?" What do I do?
    A couple of other items:
    1) I am guessing Apple does not keep a history of all my music purchases? As I did not have my entire library backed-up anywhere, and relying on the music I have on my ipod and my iphone as my only source of itunes music....I have lost over 500 songs!!!
    2) I used to have an Apple account under another account name, and since have switched to a new account name. Is there anyway to find the history of purchases from my old Apple account name and transfer these over to my new account name and onto my new laptop?
    I hope someone can help, I am having a very difficult time trying to obtain answers. Angie

    The iphone/ipod is NOT a storage/backup device.  Not maintaining a backup copy is a big mistake.
    You can transfer itunes purchases from your iphone/ipod to your computer:
    Authorize your computer for all accounts and then click  File>Transfer Purchases

  • How to make 1D Array but with only one element filled in Real Time

    Hi folks,
    here I am with another question. I want to implement an prediction discrete state space observer which is going to run on a CRIO real time target. I am going to do it just like in the example which comes with LV.
    I have some questions regarding the input and outputs which in the example those are "dummy".
    My model is a SISO model, but the function "Construct SS model" returns parameters (A,B,C,D Matrices) as 2D arrays, so once you connect the cluster model into the Discrete Observer model, it takes y and u as 1D arrays despite of the fact that there is a SISO model.
    I realized that the function I am using in the simulations, uses 1D arrays but with only one element filled:
    Does anyone knows how to implement such 1D arrays in Real Time? I guess the way to do it is preallocating one array of zeros of size 1, and then recirculating it through some SR, and replacing the element with my real input and output, but at the dummy.vi, they are using a simple "build array"
    function.

    Ok, I did it that way. But I am facing another problem right now...
    At some point the Discrete Observer return a NAN array, you will see the code in the code snippet?
    I get rid of that component by component, but the observer gets "stuck" in it. So my Control law is zero... but the state stimate is NAN.
    Also I am attaching the VI.
    I do not know why, since in the simulation program all runs well. any thoughts? Maybe the internal numeric precision of the State Space Model?
    Attachments:
    RT - Pole Placement + Complete Observer.vi ‏40 KB

  • How to evolve a graph with only one loop

    1. how to continue to add new nodes to a graph with only one loop
    would like to use graph traversal like my previous post to traversal a binary tree, but this time, it can 
    loop forever, i mean it traverse all nodes in whole graph in the meanwhile it add new nodes too
    assume maximum number of joint is 2 or 3
    computing nightmare

    I just realised that you weren't talking about cyclic graphs (in the case of 1 cycle) here, but meant a single pass traverse and mutate.
    What you don't specify is how the new nodes are being supplied.  If they are supplied up front, then the loop will of course terminate once all the inputs are addressed, rather than going on forever.  If they are being supplied from time-to-time,
    then you need to have some sort of event-wait on input.  The traversal could have a move-next something like this
    If at end of tree with no new nodes, wait for input
    If at end of tree, with input, reset to start
    If at insertion point for new node at top of input queue, insert that
    Move to next node in tree
    This seems the sort of thing that would naturally be coded in a functional language as a tail recursion rather than an iteration.

Maybe you are looking for

  • Purchase to Order Scenario - Partial Confirmation Issue

    Hello Team, We are using Item Category with Purchase to Order Scenario. When the Sales Order is booked, Purchase Requisition is Created. Sales Order Line is linked to the Purchase Requision/Purchase Order. In this scenario, we are getting confirmatio

  • MUSE FORM PUBLISHED IN DREAMWEAVER

    My problem is this: I have made a web site Muse which has a form when I edit the page in Dreamweaver to insert you to form a jQuery UI datepicker does not work. However when I go into the source code and you remove the following scrip, if it works. <

  • Using Direct Input mode: UTF-8 character encoding assumed

    When I validate a web page in dreamweaver CS5 (using Jeffrey Zeldman's Web Standards Advisor ) I receive the following warning; Using Direct Input mode: UTF-8 character encoding assumed. However if I validate using W3C either as a file upload or via

  • 10.6.2 Causing Browsers to Freeze on Pages w/Flash?

    Every time I navigate to a page that has Flash elements into it (e.g. YouTube), Safari hangs and my computer beach balls. I can't view any pages with Flash elements in them (or at least pages that have multiple Flash elements) without Safari freezing

  • PDF Generator multithreading

    Hello, One question about windows environment for LiveCycle PDF Generator 9.0.0.2. We have installed this module on Windows 2008 Server/JBoss 4.2.1 machine. Now it doesn't convert MS word documents in multithreaded mode. All settings are done exactly