locked
Microsoft POS.NET 1.14 and epson OPOS.NET RRS feed

  • Question

  • I'm trying to upgrade from MS POS.NET 1.12 to 1.14, to migrate my apps to .NET 4.0, but I'm facing something that I'm not being able to solve.

    I use only Epson pos printers, and I have configured epson opos.net ( https://download.epson-biz.com/modules/pos/index.php?page=single_soft&cid=5460&pcat=3&pid=3721) to create the printer, the same as before, with the default name "PosPrinter", and that what it on the code, no change since 1.12, but I get a:

    System.ArgumentNullException: Value cannot be null. Parameter name: device at Microsoft.PointOfService.PosExplorer.CreateInstance(DeviceInfo device)

    As if the device was not created. Any idea on what it could be?

    I'm getting crazy with this for the last week trying to solve it :(

    Thursday, August 31, 2017 10:32 AM

All replies

  • Hi jasb,

    Thank you for posting here.

    Based on m search, here are two situations.

    1. I am not sure what method you use to get the device. If you use the GetDevice method, it seems to be confused by the name "PosPrinter". Have you set the device as default?

    For more details, please refer to the following link.

    https://stackoverflow.com/questions/28394253/posexplorer-getdevice-returns-always-null-in-c-net-windows-form-application

    2. Without the code, assuming that you error caused by GetInstance method.

    You could refer to the following link.

    https://stackoverflow.com/questions/30738167/microsoft-pos-c-sharp-getting-null-value-in-deviceinfo

    Could you provide you code for us.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Sunday, September 3, 2017 3:38 PM
  • Hi jasb,

    EPSON OPOS ADK for.NET Ver.1.12.26E is for POS for.NET Ver.1.12 as indicated by version number.
    Service objects for POS for.NET Ver.1.12 do not seem to be recognized in POS for.NET Ver.1.14.

    It seems that EPSON has not released ADK for POS for.NET Ver.1.14/1.14.1 yet.

    If you want to use POS for.NET Ver.1.14.1 (latest), you have one of the following methods.

    1.Wait for EPSON to release OPOS ADK for.NET corresponding to POS for.NET Ver.1.14.1.
    2.Use EPSON OPOS ADK Ver.2.80E R8 without for. NET instead of OPOS ADK for.NET.
    3.Switch to the POS printer of another vendor offering the service object for POS for.NET Ver.1.14/1.14.1.

    Best Regards,
    Knuif3

    Friday, January 26, 2018 3:00 PM