public PluginPrinter(Component applet,PrintStream stream,int x,int y,int w,int h){
  this.applet=applet;
  this.epsTitle="Java Plugin Applet";
  this.stream=stream;
  bx=x;
  by=y;
  bw=w;
  bh=h;
  width=applet.size().width;
  height=applet.size().height;
  epsPrinter=new EPSPrinter(this,epsTitle,stream,0,0,width,height);
}

public PluginPrinter ( Component applet , PrintStream stream , int x , int y , int w , int h ) { this . applet = applet ; this . epsTitle = "Java Plugin Applet" ; this . stream = stream ; bx = x ; by = y ; bw = w ; bh = h ; width = applet . size ( ) . width ; height = applet . size ( ) . height ; epsPrinter = new EPSPrinter ( this , epsTitle , stream , 0 , 0 , width , height ) ; }
this is called from the java plug - in to print an applet ' s contents as eps to a postscript stream provided by the browser .
