Datamax-O’Neil Windows .NET C# SDK for Windows Desktop/ CE, Mobile 5.0+
- Create a new project or open an existing C# project in Visual Studio 2008. Expand the References group in Solution Explorer. Under Browse Tab, navigate to the provided DatamaxONeilSDK_CS_WD.dll (or DatamaxOneilSDK_CS_WM.dll for Win CE/Mobile project) and InTheHand.Net.Personal.dll and add them to your project.
- For Windows Desktop, copy the provided libmudpf.dll in the Reference Library folder to your project location.
- Right-click on your project inside Visual Studio and click Properties. Go to Build Events, and add the below to Post-build event. {LOCATION_OF_LIBMUDF } is to be replaced with the location of your libmupdf.dll inside your project. (eg. Reference Library\libmupdf.dll).
xcopy /y "$(ProjectDir){LOCATION_OF_LIBMUDF }" "$(ProjectDir)$(OutDir)"
-
- On 64-bit machines, change the CPU platform of your .NET project from Any CPU to x86. If you do not see x86, go to the Configuration Manager and add it to your project.
- In the source code of your project (eg. DOPrint!_WD.cs), add the following namespaces to your project. This will allow you to call our SDK APIs in your application.
using Honeywell.Connection;
using Honeywell.Printer;
using Honeywell.Printer.Configuration.DPL;
using Honeywell.Printer.Configuration.EZ;
using Honeywell.Printer.Configuration.ExPCL;