XCODE problems to pritn on Zebra Printer

I have iMZ320 Zebra printer, I downloed the sdk and the examples from Zebra page, the example works fine on Ipad and I can send to print.

Now, I work on my project and I have this issue, I have one error when execute the line

self.printer = [ZebraPrinterFactory getInstance:self.connection error:&error];

This the error

@"ZSDK_API_ERROR_DOMAIN" - code: 3  

The line original to do the connection is

self.connection = [[[MfiBtPrinterConnection alloc] initWithSerialNumber:self.connectivityViewController.bluetoothPrinterLabel.text] autorelease];

But I don't have any


So I change by

 EAAccessoryManager *manager = [EAAccessoryManager sharedAccessoryManager]; self.bluetoothPrinters = [[NSMutableArray alloc] initWithArray:manager.connectedAccessories]; EAAccessory *accessory = [self.bluetoothPrinters objectAtIndex:0]; NSString *printer = accessory.name; self.connection = [[MfiBtPrinterConnection alloc] initWithSerialNumber:printer];

Any ideas?