LInk OS Multiplatform SDK / Issues with connecting using PrinterUtil Class / VB.Net

B Brett Spengler 1 year 6 months ago
55 0 0

Can someone give me the syntax for CONNECTION_STRING using the PrinterUtil Class from the Link OS Multiplatform SDK (Zebra.Printer.SDK 2.15.2634) in Visual Studio 2022 running under Windows 10, VB.Net.  Nothing I try works.  No examples I can find on https://techdocs.zebra.com work.   Some examples there seem to tie to a different SDK than what I have.  Appreciate any help.  Printer is a ZT610 hooked / TCP-IP connected / 172.16.8.33.  Note, the SDK does work with the PrinterStatus Class but options there are not what I want.   I need to get the PrinterUtil Class working.

       

 Public CONNECTION_STRING As String

 CONNECTION_STRING = "TCP:172.16.8.33:9100"
 Dim filesOnE As String() = PrinterUtil.ListFiles(CONNECTION_STRING, "*.*")

Error for above line:  System.ArgumentException: 'Builder not correctly implemented'.

CONTACT
Can’t find what you’re looking for?