Printer p = (Printer)
     ctx.lookup("speedy");

 p.print(instream);