处理设备字段类型相关缺陷

This commit is contained in:
qihao.gong@jikimo.com
2024-03-05 16:50:08 +08:00
parent 8a2d6df43b
commit 1a50a8220e
6 changed files with 63 additions and 43 deletions

View File

@@ -8,7 +8,7 @@ class Common(models.Model):
_description = u'公用类'
def print_zpl(self, zpl_str):
WinDll_path = "D://桌面//pythonZPL//tsc_python_sdk_example//TSC_Python_SDK_Example//tsc_sample//libs//TSCLIB.dll"
WinDll_path = "D://桌面//pythonZPL//zebra_zpl//libs//TSCLIB.dll"
try:
tsclibrary = ctypes.WinDLL(WinDll_path)
tsclibrary.openportW("USB")