如何在星上打印条形码39 tsp未来PRNT



大家好,我正在开发Star TSP100 futurePRNT,有一个打印数据的示例,运行良好。他们使用代码"\x1b\x1d\x61\x1"来对齐居中。需要知道它是哪种编码吗?以及如何在使用Code-39条码时打印?

它是由下面的文档指定的十六进制代码。

作为一个例子,我将解构这个命令:

1B = Ascii Escape Character. This denotes the beginning of the command.
1D = Ascii Group Separator Character. This is part of the command.
61 = Ascii numeral '1'. This is part of the command.
1  = Value. This is the only parameter of the command.

参照链接的规范,1B 1D 61 a是指定位置对齐的命令。a是参数。此命令专门设置中心水平对齐(第3-32页)。

指定条形码的命令可在第3-43页至第3-46页找到。它遵循类似的格式,会有一个指定任务的代码,然后是一些变量参数来选择正确的格式,最后你会发送你的数据。

最新线路模式规范:http://www.starasia.com/%5CDownload%5CManual%5Cstarline_cm_en.pdf

最新更新