|
| __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) |
|
| 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) |
|
| CreateDataMatrixBarcodes (self, start_x, start_y, content, scale, xdim, Rotation, UseRectangle, MatrixMultiLine, CtrlChar1, CtrlChar2, row, col) |
|
| CreateQRBarcodes (self, start_x, start_y, content, scale, xdim, Mask, dataManuallyEncoded, errEnum, modelEnum, rotation) |
|
| ToHexString (self, input_str) |
|
| CreateRfidEncode (self, a32BitField, a16BitField, a6CharAsciiString, MemBlock, iOffsetFromStart, _10BytesUserData, _4BytesHexUserData, PasswordEnum, Password) |
|
| LabelToString (self, str) |
|
| CloseLabel (self) |
|
LabelMakerSDK.LabelMakerSDK.CreateAztecBarcodes |
( |
| self, |
|
|
| start_x, |
|
|
| start_y, |
|
|
| content, |
|
|
| scale, |
|
|
| xdim, |
|
|
| CodeType, |
|
|
| iFixedErrCorrection, |
|
|
| iLayers, |
|
|
| rotation ) |
Create aztec barcodes in a Label
Param:
start_x: start point for x coordinate
start_y: start point for y coordinate
content: aztec content
scale: set a scale (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
xdim: set a cellsize for x coordinate
CodeType: set a code type (e.g. AztecCodeTypeEnum.Compact)
iFixedErrCorrection: set the FixedErrCorrection (e.g. AztecCodeTypeEnum.FixedErrCorrection)
iLayers: set the layers
rotation: set a rotation (RotateEnum.None/RotateEnum.ClockWise/RotateEnum.CounterClockWise/RotateEnum.Inverted)
Return: None
Sample:
CreateAztecBarcodes(0.25, 2.25, "Mr. AirTraveler, seat A, flight 200", ScaleEnum.Inch, 0.025, AztecCodeTypeEnum.Compact, NON_USED, 4, RotateEnum.None)
LabelMakerSDK.LabelMakerSDK.CreateBarcode1D |
( |
| self, |
|
|
| start_x, |
|
|
| start_y, |
|
|
| content, |
|
|
| scale, |
|
|
| narrowBar, |
|
|
| wideBar, |
|
|
| Height, |
|
|
| BcdTyp, |
|
|
| PrintHumanReadable, |
|
|
| rotation, |
|
|
| PdfLocTop ) |
Create barcode 1D in a Label
Param:
x_start: start point for x coordinate
y_start: start point for y coordinate
content: barcode 1D content
scale: set a scale (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
narrowBar: text content
wideBar: set a scale (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
Height: set a font size unit (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
BcdTyp: set a barcode type (e.g. BarcodeTypeEnum_1D.Code_128)
PrintHumanReadable: a flag to set PrintHumanReadable
rotation: set a rotation (RotateEnum.None/RotateEnum.ClockWise/RotateEnum.CounterClockWise/RotateEnum.Inverted)
PdfLocTop: set a flag to print human-readable data above the barcode. (Default value is below)
Return: None
Sample:
CreateBarcode1D(0.5, 1.0 + 1.5 + 1 / 4 + 1.2, "Code 128", ScaleEnum.Inch, 0.015, 0.015 * 4.1, 1.2, BarcodeTypeEnum_1D.Code_128,
True, RotateEnum.None, False)
LabelMakerSDK.LabelMakerSDK.CreateDataMatrixBarcodes |
( |
| self, |
|
|
| start_x, |
|
|
| start_y, |
|
|
| content, |
|
|
| scale, |
|
|
| xdim, |
|
|
| Rotation, |
|
|
| UseRectangle, |
|
|
| MatrixMultiLine, |
|
|
| CtrlChar1, |
|
|
| CtrlChar2, |
|
|
| row, |
|
|
| col ) |
Create data matrix barcodes in a Label
Param:
start_x: start point for x coordinate
start_y: start point for y coordinate
content: data matrix content
scale: set a scale (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
xdim: set a cellsize for x coordinate
Rotation: set a rotation (RotateEnum.None/RotateEnum.ClockWise/RotateEnum.CounterClockWise/RotateEnum.Inverted)
UseRectangle: set a flag to use rectangle
MatrixMultiLine: set a multiline string
CtrlChar1: set a CtrlChar1
CtrlChar2: set a CtrlChar2
row: set the number of rows can be used to limit the height of the barcode.
col: set the number of columns can be used to limit the width of the barcode.
Return: None
Sample:
CreateDataMatrixBarcodes(2.25, 0.25, "Line 1 DataMatrix", ScaleEnum.Inch, NON_USED, RotateEnum.None, False, "Line 2 content/r/nLine 3 content", 0x0D, 0x0A, 0, 0)
LabelMakerSDK.LabelMakerSDK.CreateMaxicodeBarcodes |
( |
| self, |
|
|
| iMaxicodeTyp, |
|
|
| mode, |
|
|
| postalCode, |
|
|
| countryCode, |
|
|
| serviceClass, |
|
|
| remainingMsg, |
|
|
| year, |
|
|
| primaryMsg, |
|
|
| start_x, |
|
|
| start_y, |
|
|
| scale, |
|
|
| ZipperPattern, |
|
|
| rotation ) |
Create Maxicode barcodes in a Label
Param:
iMaxicodeTyp: select a maxicode type (e.g. _MaxicodeMsgStructured)
mode: set a maxicode (e.g. MaxicodeModeEnum.MODE_2)
postalCode: set a postal code string
countryCode: set a country code string
serviceClass: set a service class string
remainingMsg: set a remaining message string
year: set a year string
primaryMsg: set a primary message string
start_x: start point for x coordinate
start_y: start point for y coordinate
scale: set a scale (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
ZipperPattern: set a flag for zipper pattern or not
rotation: set a rotation (RotateEnum.None/RotateEnum.ClockWise/RotateEnum.CounterClockWise/RotateEnum.Inverted)
Return: None
Sample:
CreateMaxicodeBarcodes(_MaxicodeMsgStructured, MaxicodeModeEnum.MODE_2, "902557317", "800", "200", "Maxicode Carrier Standard", "", "", 0.5, 0.5, ScaleEnum.Inch, False, RotateEnum.None)
LabelMakerSDK.LabelMakerSDK.CreateTexts |
( |
| self, |
|
|
| x_start, |
|
|
| y_start, |
|
|
| fontsize_x, |
|
|
| fontsize_y, |
|
|
| data, |
|
|
| scale, |
|
|
| FontSizeUnit, |
|
|
| FontStyle, |
|
|
| Alignment, |
|
|
| fontName, |
|
|
| rotation ) |
Create texts in a Label
Param:
x_start: start point for x coordinate
y_start: start point for y coordinate
fontsize_x: font size for x coordinate
fontsize_y: font size for y coordinate
data: text content
scale: set a scale (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
FontSizeUnit: set a font size unit (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
FontStyle: set a font style (FontSizeUnitsEnum.Ruler/FontSizeUnitsEnum.Points/FontSizeUnitsEnum.Percent)
Alignment: set a alignment for text (ScaleEnum.Dot/ScaleEnum.MM/ScaleEnum.Inch)
fontName: set font name
rotation: set a rotation (RotateEnum.None/RotateEnum.ClockWise/RotateEnum.CounterClockWise/RotateEnum.Inverted)
Return: None
Sample:
CreateTexts(2.0, 1.25 + 7 / 16, 3 / 16, 7 / 16, "MY MAGIC", ScaleEnum.Inch, FontSizeUnitsEnum.Ruler,
(FontStyleEnum)NON_USED, AlignEnum.Center, "93952.sf", RotateEnum.None)