Allow str or unicode for printer name with printerid