New to C# coding.
Does the LinkOS SDK provide any help for printing directly to the serial port?
I have found the GitHub code samples that covers USB and TCPIP printing but before i doing all the code for sending the ZPL to the serial port, i thought i would see if i could use the SDK.
Thanks
Hi George
In the linkos sdk directory there are many samples.
I believe you need to take a look at UsbDiscoverer class.
Alexander Palchikov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies
Points: 0
You voted ‘up’
Thanks but I don't think the UsbDiscoverer class covers the serial port.
I have created my own classes for it using the c# SerialPort Class
Points: 0
You voted ‘up’
Hi George, That's probubly your best option. The SerialPort Class works well and is easy to use.
Points: 0
You voted ‘up’
Hi George
I agree, You would need to access the serial port natively from C# using SerialPort Class or any other library separate from the Zebra SDK. While your application probably requires serial port access I would recommend using USB rather as you have access to all the LinkOS features.
I am not sure if set get commands work via Serial but if they do you could probably implement your own rough LinkOS like SDK like I have done for some legacy models via TCP/IP.
Kind regards
Points: 0
You voted ‘up’