Thread.sleep(10000);
	public void print() throws Exception{	   if(printservice != null){	   	  PrinterJob job = PrinterJob.getPrinterJob();	   	  job.setPrintService(printservice);	   	  PageFormat pf = job.defaultPage();	   	  	   	  Paper paper = new Paper();	   	  paper.setSize(pf.getWidth(), pf.getHeight());	   	  paper.setImageableArea(0.0,0.0,pf.getWidth(), pf.getHeight());	   	  	   	  pf.setPaper(paper);	   	  	   	  job.setPrintable(imagemanipulator.print(userdata,pins,puks,hardtokensn, copyofhardtokensn),pf);	   	  	   	  	   	  job.print();	   	  	   	  	   	  	   	 	   	  		   	  	   	  	   	  Thread.sleep(10000);	   		   }else{	      System.out.println("Error: Couldn't find printer.");		  	   		   }			   	   	}