Public 成员函数 | |
| __init__ (self) | |
| CreateLabel (self, iPrintLanguageTyp, LabelName, dotsPerUnit, unit) | |
| 建立标签。 | |
| CreateTexts (self, x_start, y_start, fontsize_x, fontsize_y, data, scale, FontSizeUnit, FontStyle, Alignment, fontName, rotation) | |
| 建立文字标签。 | |
| CreateBarcode1D (self, start_x, start_y, content, scale, narrowBar, wideBar, Height, BcdTyp, PrintHumanReadable, rotation, PdfLocTop) | |
| 在标签中创建一维条形码。 | |
| CreateLines (self, start_x, start_y, end_x, end_y, lineThickness, scale) | |
| 在标签中创建线条。 | |
| CreateBoxs (self, start_x, start_y, end_x, end_y, lineThickness, scale) | |
| 在标签中创建框。 | |
| CreateMaxicodeBarcodes (self, iMaxicodeTyp, mode, postalCode, countryCode, serviceClass, remainingMsg, year, primaryMsg, start_x, start_y, scale, ZipperPattern, rotation) | |
| 在标签中创建 Maxicode 条形码。 | |
| CreatePdf417Bcodes (self, start_x, start_y, content, scale, xdim, ydim, ErrorCorrection, row, col, rotation) | |
| 在标签中创建一维条形码。 | |
| CreateAztecBarcodes (self, start_x, start_y, content, scale, xdim, CodeType, iFixedErrCorrection, iLayers, rotation) | |
| 在标签中创建 aztec 条形码。 | |
| CreateDataMatrixBarcodes (self, start_x, start_y, content, scale, xdim, Rotation, UseRectangle, MatrixMultiLine, CtrlChar1, CtrlChar2, row, col) | |
| 在标签中创建 data matrix 条形码。 | |
| CreateQRBarcodes (self, start_x, start_y, content, scale, xdim, Mask, dataManuallyEncoded, errEnum, modelEnum, rotation) | |
| 在标签中创建 QR 条形码。 | |
| ToHexString (self, input_str) | |
| CreateRfidEncode (self, a32BitField, a16BitField, a6CharAsciiString, MemBlock, iOffsetFromStart, _10BytesUserData, _4BytesHexUserData, PasswordEnum, Password) | |
| 在标签中创建 RFID。 | |
| LabelToString (self, str) | |
| 使用 TSPL 或 PGL 创建标签。 | |
| CloseLabel (self) | |
| 释放资源。 | |
| LabelMakerSDK.LabelMakerSDK.__init__ | ( | self | ) |
| LabelMakerSDK.LabelMakerSDK.CloseLabel | ( | self | ) |
释放资源。
| LabelMakerSDK.LabelMakerSDK.CreateAztecBarcodes | ( | self, | |
| start_x, | |||
| start_y, | |||
| content, | |||
| scale, | |||
| xdim, | |||
| CodeType, | |||
| iFixedErrCorrection, | |||
| iLayers, | |||
| rotation ) |
在标签中创建 aztec 条形码。
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | content | : 条形码内容 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | xdim | : 設定 x 座標的單元格大小 |
| [in] | CodeType | : 设置代码类型(例如 AztecCodeTypeEnum::Compact) |
| [in] | iFixedErrCorrection | : 设置固定错误更正(例如 AztecCodeTypeEnum::FixedErrCorrection) |
| [in] | iLayers | : 设置层数 |
| [in] | rotation | : 设定旋转角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| LabelMakerSDK.LabelMakerSDK.CreateBarcode1D | ( | self, | |
| start_x, | |||
| start_y, | |||
| content, | |||
| scale, | |||
| narrowBar, | |||
| wideBar, | |||
| Height, | |||
| BcdTyp, | |||
| PrintHumanReadable, | |||
| rotation, | |||
| PdfLocTop ) |
在标签中创建一维条形码。
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | content | : 条形码内容 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | narrowBar | : 窄条宽度 |
| [in] | wideBar | : 宽条宽度 |
| [in] | Height | : 设定高度 |
| [in] | BcdTyp | : 设置条形码类型(例如 BarcodeTypeEnum_1D::Code_128) |
| [in] | PrintHumanReadable | : 设置打印人眼可读的标志 |
| [in] | rotation | : 设定旋转角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| [in] | PdfLocTop | : 设置一个标志将人眼可读的数据打印在条形码的上方。(默认值为下方) |
| LabelMakerSDK.LabelMakerSDK.CreateBoxs | ( | self, | |
| start_x, | |||
| start_y, | |||
| end_x, | |||
| end_y, | |||
| lineThickness, | |||
| scale ) |
在标签中创建框。
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | end_x | : X 坐标的终点 |
| [in] | end_y | : Y 坐标的终点 |
| [in] | lineThickness | : 设置线条粗细 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| LabelMakerSDK.LabelMakerSDK.CreateDataMatrixBarcodes | ( | self, | |
| start_x, | |||
| start_y, | |||
| content, | |||
| scale, | |||
| xdim, | |||
| Rotation, | |||
| UseRectangle, | |||
| MatrixMultiLine, | |||
| CtrlChar1, | |||
| CtrlChar2, | |||
| row, | |||
| col ) |
在标签中创建 data matrix 条形码。
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | content | : 条形码内容 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | xdim | : 设定 x 坐标的单元格大小 |
| [in] | Rotation | : 设定旋转角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| [in] | UseRectangle | : 设置标志以使用矩形 |
| [in] | MatrixMultiLine | : 设置多行字符串 |
| [in] | rotationCtrlChar1 | : 设置 CtrlChar1 |
| [in] | rotationCtrlChar2 | : 设置 CtrlChar1 |
| [in] | row | : 设定行数以限制条形码的高度 |
| [in] | col | : 设定列数以限制条形码的宽度 |
| LabelMakerSDK.LabelMakerSDK.CreateLabel | ( | self, | |
| iPrintLanguageTyp, | |||
| LabelName, | |||
| dotsPerUnit, | |||
| unit ) |
建立标签。
| [in] | iPrintLanguageTyp | : 设定 TSPL 或 PGL |
| [in] | LabelName | : 设定 TSPL 或 PGL |
| [in] | dotsPerUnit | : 设定 DPI (203/300/600) |
| [in] | unit | : 单位设定 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| LabelMakerSDK.LabelMakerSDK.CreateLines | ( | self, | |
| start_x, | |||
| start_y, | |||
| end_x, | |||
| end_y, | |||
| lineThickness, | |||
| scale ) |
在标签中创建线条。
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | end_x | : X 坐标的终点 |
| [in] | end_y | : Y 坐标的终点 |
| [in] | lineThickness | : 设置线条粗细 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| LabelMakerSDK.LabelMakerSDK.CreateMaxicodeBarcodes | ( | self, | |
| iMaxicodeTyp, | |||
| mode, | |||
| postalCode, | |||
| countryCode, | |||
| serviceClass, | |||
| remainingMsg, | |||
| year, | |||
| primaryMsg, | |||
| start_x, | |||
| start_y, | |||
| scale, | |||
| ZipperPattern, | |||
| rotation ) |
在标签中创建 Maxicode 条形码。
| [in] | iMaxicodeTyp | : 选择 MaxiCode 类型(例如 _MaxicodeMsgStructured) |
| [in] | mode | : 设置 maxicode(例如 MaxicodeModeEnum::MODE_2 |
| [in] | postalCode | : 设置邮递区编码字符串 |
| [in] | countryCode | : 设置国家/地区代码字符串 |
| [in] | serviceClass | : 设置服务类字符串 |
| [in] | remainingMsg | : 设置剩余的讯息字符串 |
| [in] | year | : 设置年份字符串 |
| [in] | primaryMsg | : 设置主讯息字符串 |
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | ZipperPattern | : 是否为 zipper pattern 设置标志 |
| [in] | rotation | : 设定旋转角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| LabelMakerSDK.LabelMakerSDK.CreatePdf417Bcodes | ( | self, | |
| start_x, | |||
| start_y, | |||
| content, | |||
| scale, | |||
| xdim, | |||
| ydim, | |||
| ErrorCorrection, | |||
| row, | |||
| col, | |||
| rotation ) |
在标签中创建一维条形码。
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | content | : 条形码内容 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | xdim | 设定 x 坐标的单元格大小 |
| [in] | ydim | : 设定 y 坐标的单元格大小 单元格大小可以视为 PDF417 条形码行中最窄条形元素的宽度和高度。 改变最小元素的尺寸会影响条形码的整体宽度和高度。 |
| [in] | ErrorCorrection | : 设置错误更正级别(例如 Pdf417ErrCorrectionEnum::LEVEL_5) |
| [in] | row | : 设定行数以限制条形码的高度 |
| [in] | col | : 设定列数以限制条形码的宽度 |
| [in] | rotation | : 设定旋转角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| LabelMakerSDK.LabelMakerSDK.CreateQRBarcodes | ( | self, | |
| start_x, | |||
| start_y, | |||
| content, | |||
| scale, | |||
| xdim, | |||
| Mask, | |||
| dataManuallyEncoded, | |||
| errEnum, | |||
| modelEnum, | |||
| rotation ) |
在标签中创建 QR 条形码。
| [in] | start_x | : x 坐标的起始点 |
| [in] | start_y | : Y 坐标的起始点 |
| [in] | content | : 条形码内容 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | xdim | : 设定 x 坐标的单元格大小 |
| [in] | Mask | : 设置屏蔽(例如 QRCodeMaskEnum::Mask_4) |
| [in] | dataManuallyEncoded | : 设置手动编码数据 |
| [in] | errEnu | : 设置错误更正枚举(例如 QRCodeErrorCorrectionEnum::EC_15) |
| [in] | modelEnum | : 设置模型枚举(例如 QRCodeModelEnum::MODEL_1) |
| [in] | rotation | : 设定旋转角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| LabelMakerSDK.LabelMakerSDK.CreateRfidEncode | ( | self, | |
| a32BitField, | |||
| a16BitField, | |||
| a6CharAsciiString, | |||
| MemBlock, | |||
| iOffsetFromStart, | |||
| _10BytesUserData, | |||
| _4BytesHexUserData, | |||
| PasswordEnum, | |||
| Password ) |
在标签中创建 RFID。
| [in] | a32BitField | : 设置 RFID 32 位字段 |
| [in] | a16BitField | : 设置 RFID 16 位字段 |
| [in] | a6CharAsciiString | : 设置 RFID 6 个字符的 ASCII 字符串 |
| [in] | MemBlock | : 设置内存区块(例如 RfidMemBlockEnum::EPC) |
| [in] | iOffsetFromStart | : 设置从起始点的偏移量 |
| [in] | _10BytesUserData | : 设置 RFID 10 字节字符串 |
| [in] | _4BytesHexUserData | : 设置 RFID 4 字节字符串 |
| [in] | PasswordEnum | : 设置密码枚举(例如 RfidPasswordTypeEnum::Lock) |
| [in] | Password | : 设置密码字符串 |

| LabelMakerSDK.LabelMakerSDK.CreateTexts | ( | self, | |
| x_start, | |||
| y_start, | |||
| fontsize_x, | |||
| fontsize_y, | |||
| data, | |||
| scale, | |||
| FontSizeUnit, | |||
| FontStyle, | |||
| Alignment, | |||
| fontName, | |||
| rotation ) |
建立文字标签。
| [in] | x_start | : x 坐标的起始点 |
| [in] | y_start | : Y 坐标的起始点 |
| [in] | fontsize_x | : x 坐标的字体大小 |
| [in] | fontsize_y | : Y 坐标的字体大小 |
| [in] | data | : 文字内容 |
| [in] | scale | : 设置比例 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | FontSizeUnit | : 设定字体大小单位 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | FontStyle | : 设定字体样式 (FontSizeUnitsEnum::Ruler/FontSizeUnitsEnum::Points/FontSizeUnitsEnum::Percent) |
| [in] | Alignment | : 设定文字对齐方式 (ScaleEnum::Dot/ScaleEnum::MM/ScaleEnum::Inch) |
| [in] | fontName | : 设定字体名称 (203/300/600) |
| [in] | rotation | : 设定旋转角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| LabelMakerSDK.LabelMakerSDK.LabelToString | ( | self, | |
| str ) |
使用 TSPL 或 PGL 创建标签。
| [out] | str | : TSPL 或 PGL 字符串 |
| LabelMakerSDK.LabelMakerSDK.ToHexString | ( | self, | |
| input_str ) |

| LabelMakerSDK.LabelMakerSDK.giPrintLanguageTyp |
| LabelMakerSDK.LabelMakerSDK.gpAztecBarcodeType |
| LabelMakerSDK.LabelMakerSDK.gpBarcode1DType |
| LabelMakerSDK.LabelMakerSDK.gpBoxType |
| LabelMakerSDK.LabelMakerSDK.gpCellRect |
| LabelMakerSDK.LabelMakerSDK.gpCellSquare |
| LabelMakerSDK.LabelMakerSDK.gpDataMatrixBarcodeType |
| LabelMakerSDK.LabelMakerSDK.gpLabel |
| LabelMakerSDK.LabelMakerSDK.gpLineType |
| LabelMakerSDK.LabelMakerSDK.gpMexiCodeBarcodeType |
| LabelMakerSDK.LabelMakerSDK.gpPdf417BarcodeType |
| LabelMakerSDK.LabelMakerSDK.gpPrinterResolution |
| LabelMakerSDK.LabelMakerSDK.gpQRBarcodeType |
| LabelMakerSDK.LabelMakerSDK.gpRfidWriteType |
| LabelMakerSDK.LabelMakerSDK.gpRuler |
| LabelMakerSDK.LabelMakerSDK.gpTextType |
| LabelMakerSDK.LabelMakerSDK.ObjCellRectPtr |
| LabelMakerSDK.LabelMakerSDK.ObjCellSquarePtr |
| LabelMakerSDK.LabelMakerSDK.ObjectsPtr |
| LabelMakerSDK.LabelMakerSDK.ObjEndPtr |
| LabelMakerSDK.LabelMakerSDK.ObjRulerPtr |
| LabelMakerSDK.LabelMakerSDK.ObjStartPtr |
| LabelMakerSDK.LabelMakerSDK.ObjTextItemPtr |