公開方法(Public Methods) | |
| __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) | |
| 在標籤中創建 PDF417 條碼。 | |
| 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 | : 設置 CtrlChar2 |
| [in] | row | : 設定行數以限制條碼的高度 |
| [in] | col | : 設定列數以限制條碼的寬度 |
| LabelMakerSDK.LabelMakerSDK.CreateLabel | ( | self, | |
| iPrintLanguageTyp, | |||
| LabelName, | |||
| dotsPerUnit, | |||
| unit ) |
建立標籤。
| [in] | iPrintLanguageTyp | : 設定 TSPL 或 PGL |
| [in] | LabelName | : 設定標籤名 |
| [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 ) |
在標籤中創建 PDF417 條碼。
| [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 | : 設定字體名稱 |
| [in] | rotation | : 設定旋轉角度 (RotateEnum::None/RotateEnum::ClockWise/RotateEnum::CounterClockWise/RotateEnum::Inverted) |
| LabelMakerSDK.LabelMakerSDK.LabelToString | ( | self, | |
| str ) |
使用 TSPL 或 PGL 創建標籤。
| [out] | str | : TSPL 或 PGL 字串 |
\~Chinese @brief 使用 TSPL 或 PGL 创建标签。
\~Chinese @param[out] str : TSPL 或 PGL 字符串
\~Chinese @return None
\~Chinese @par 程序代码
\~Chinese @code
LabelToString(LabelString);
@endcode
| 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 |