You need to write the code to the Netum G5 printer so that you can be printing the barcode from Unity from the script to C# is SDK from the manufacturer with the JAR library but it’s something that doesn’t work possible you need it to recover or I’m not faithful code written for its connection to Unity
My code
AndroidJavaClass unityClass1 = new AndroidJavaClass("com.dothantech.lpapi.LPAPI$Factory");
AndroidJavaObject unityActivity = new AndroidJavaObject("com.dothantech.lpapi.LPAPI");
unityActivity = unityClass1.CallStatic("createInstance");
object[] param1 = new object[1];
param1[0] = “B8:50:44:03:54:FE”;
bool yest = unityActivity.Call(openports1, param1);
Debug.Log of the West
object[] param = new object[3];
Param [0] = 48.0
param[1] = 24.0;
Param[2] = 0
unityActivity.Call (Startdruk, param)
double x = 9.0;
double y = 13.0;
double width = 34.22;
double height = 6.67;
double textHeight = 3.0
object[] param2 = new object[7];
param2[0] = “8697480242703”;
Param2[1] = 60
param2[2] = x;
param2[3] = y;
param2[4] = width
param2[5] = height
param2[6] = textHeight;
unityActivity.Call(sendcommand, param2)
unityActivity.Call (CommitJob)
My code
AndroidJavaClass unityClass1 = new AndroidJavaClass("com.dothantech.lpapi.LPAPI$Factory");
AndroidJavaObject unityActivity = new AndroidJavaObject("com.dothantech.lpapi.LPAPI");
unityActivity = unityClass1.CallStatic("createInstance");
object[] param1 = new object[1];
param1[0] = “B8:50:44:03:54:FE”;
bool yest = unityActivity.Call(openports1, param1);
Debug.Log of the West
object[] param = new object[3];
Param [0] = 48.0
param[1] = 24.0;
Param[2] = 0
unityActivity.Call (Startdruk, param)
double x = 9.0;
double y = 13.0;
double width = 34.22;
double height = 6.67;
double textHeight = 3.0
object[] param2 = new object[7];
param2[0] = “8697480242703”;
Param2[1] = 60
param2[2] = x;
param2[3] = y;
param2[4] = width
param2[5] = height
param2[6] = textHeight;
unityActivity.Call(sendcommand, param2)
unityActivity.Call (CommitJob)
Applications 1
Application viewing is only available registered users.
Current freelance projects in the category C#
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 10 days 21 hours back ∙ 2 proposals |
Creation of a plugin for integration with the POS system Syrve, C#Develop a plugin for the Syrve POS system (on-premise), which is installed on the establishment's server. The plugin must: (1) transmit data to our server in real-time — orders, table statuses, payments, receipts; (2) receive commands from Reservble — booking confirmations,… C#, Web Programming ∙ 13 days 18 hours back ∙ 15 proposals |