0 Replies Latest reply on Oct 2, 2007 3:19 PM by Bob Saggot

    Can you programmically create and Print an item?

    Bob Saggot
      Example to clarify:

      var newjob:PrintJob = new PrintJob();
      var newbox:hbox = new Hbox();
      var newlabel:Lable = new Label();
      newlabel.text = SWEET!"
      newbox.addchild(newlabel);

      newjob.start();
      newjob.addpage(newbox);
      newjob.send();

      i keep trying this and it won't work, only when i hardcode in the information will it work! ahhhh

      Thank you.