The other issues is related to the ErrorCode property So when in my StatusUpdate function I need to keep CapRecEmptySensor updated and the RecNearEnd sensor that should solve this problems. Thank you for your answer this is partially what I was looking for. I don't find any documentation on those with regard to PosPrinter. I am not sure what you mean with regard to the Error Result Code and extended Error result code. There is more information about this here. Likewise setting CapRecEmptySensor or RecNearEnd toįalse will also cause RecEmpty to be set to false internally. This might account for why the value you get back isn't expected, as it does depend on CapRecEmptySensor. Otherwise, RecEmpty will return the cached value from. If CapRecEmptySensor returns False, then RecEmpty will automatically return False. It first checks to see what PosPrinterBase.CapRecEmptySensor returns. However, the getter for this property does not just return the internal PosPrinterBase.RecEmpty is a read only property so it cannot be set directly. I looked at how the PosPrinterBase class exposes RecEmpty and how it is used internally. But I am unsure on how to fire an event when The other issue I have is to set the Error ResultCode and the Extended ResultCode so that this can be inquired of in the app and can reflect errors or status that is not directly supported by the OPOS system. POS system but I would need to control this as this is not what the user should have to deal with. There is no indication that any of my code is doing this so I assumed that this is done by the underlying TriggerStatusUpdateEvent() the RecEmpty property is reset which in turn seems to be causing the paper OK status in the app. So the issue I am having is that each time the SO is getting into ObjPOSPrinter_StatusUpdateEvent() and as it turns out you are also correct there is no StatusPaperOK so this must have been implemented by the previous developer but is not connected to anything in POS for. to true or false which in turn fires the event and is received in the App's TriggerStatusUpdateEvent() and this is checking the physical printer status and then setting Yes you are right the StatusReceiptPaperOK is a constant that will appear in an app when the respective event is fired. I am developing or better continue to develop a SO for our printers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |