none
Xamarin UWP Project Silent Text Printing on USB giving Printer Error. RRS feed

  • Question

  • I created a Xamarin project where I need to print text (receipt) silently on USB Printer. I used winspool.drv interface and it works absolutely fine in debug mode. But when I release the build and upload it on Windows Store I get this Error. Can someone please help me with this. I would greatly appreciate any help that I can get. We are stuck on this for last one week and are not able to release the app due to this error. We cant find any help online anywhere.

    Supported API test

    FAILED
    Supported APIs
    Error Found: The supported APIs test detected the following errors:
    API ClosePrinter in winspool.drv is not supported for this application type. XXX.UWP.dll calls this API.
    API EndDocPrinter in winspool.drv is not supported for this application type. XXX.UWP.dll calls this API.
    API EndPagePrinter in winspool.drv is not supported for this application type. XXX.UWP.dll calls this API.
    API OpenPrinterA in winspool.drv is not supported for this application type. XXX.UWP.dll calls this API.
    API StartDocPrinterA in winspool.drv is not supported for this application type. XXX.UWP.dll calls this API.
    API StartPagePrinter in winspool.drv is not supported for this application type. XXX.UWP.dll calls this API.
    API WritePrinter in winspool.drv is not supported for this application type. XXX.UWP.dll calls this API.
    Impact if not fixed: Using an API that is not part of the Windows SDK for Microsoft Store apps violates the Microsoft Store certification requirements.

    • Moved by CoolDadTx Tuesday, March 26, 2019 1:57 PM Third party product
    Tuesday, March 26, 2019 8:42 AM

All replies