String[] pINs, String[] pUKs, String hardTokenSerialPrefix,
String hardTokenSN, String copyOfHardTokenSN) throws PrinterException{
if(currentService == null
|| currentPrinterName == null
|| !printerName.equals(currentPrinterName)){
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
PrintService printService[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
int i = 0;
String trimemdPrinterName = printerName.trim();
while ( i<printService.length && !trimemdPrinterName.equalsIgnoreCase(printService[i].getName()) ){