int result = EPOS2_SUCCESS;
result = [printer connect:@"TCP:192:168.192.168", timeout:EPOS2_PARAM_DEFAULT]; if (result != EPOS2_SUCCESS) {
//Displays error messages
}
We did everything we could including updating info.plist and applying an entitlement.
Post
Replies
Boosts
Views
Activity
Thanks for you reply. The code is the below.
//Starts searching
Epos2FilterOption *filterOption = nil;
filterOption = [[Epos2FilterOption alloc] init];
filterOption.porttype = EPOS2_PORTTYPE_ALL;
filterOption.broadcast = @"255.255.255.255";
filterOption.deviceModel = EPOS2_MODEL_ALL;
filterOption.deviceType = EPOS2_TYPE_ALL;
result = [Epos2Discovery start:filterOption Delegate:self];
if (result != EPOS2_CODE_SUCCESS) {
//Displays error messages
}
PORTYE is tcpip