react-native-star-prnt icon indicating copy to clipboard operation
react-native-star-prnt copied to clipboard

Unable to know which connected printer the event comes from

Open joarwilk opened this issue 4 years ago • 2 comments

Hi,

is there any way to know which connected printed the event comes from? I have multiple printers connected and right now I cant see which one has sent which event.

Thanks

joarwilk avatar Dec 04 '19 15:12 joarwilk

I guess you can identify printers by the portName, if the model is the same you can change it on the printer settings.

infoxicator avatar Jan 05 '20 18:01 infoxicator

@infoxicator But the events are not connected to the portName. Its just the event name and nothing else. Here is the iOS code:

-(void)didPrinterCoverOpen {
        [self sendData:@"printerCoverOpen" data:nil];
}

There is no printer metadata attached

joarwilk avatar Feb 14 '20 09:02 joarwilk