UniPRT SDK v2.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode Class Reference

Represents a Maxicode barcode that can be printed. More...

Inheritance diagram for LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode:
LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode LabelMaker.Interfaces.IBarcode2D.IStartPoint LabelMaker.Interfaces.IBarcode2D.IPositionRuler

Public Member Functions

 __init__ (self, Optional[IPoint] start=None, Optional[IMaxicodeData] data=None)
 Initializes a new instance of the MaxicodeBarcode class with the specified start point and data.
 
str __str__ (self)
 Returns a string that can be sent to the printer.
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 __init__ (self, Optional[IPoint] start=None, Optional[IMaxicodeData] data=None)
 
str __str__ (self)
 Constructs the string representation of the Maxicode barcode data for printing.
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBcdMaxicode.IMaxicodeBarcode
str __str__ (self)
 Returns the string that can be sent to printer.
 

Public Attributes

 rotation = RotateEnum.NONE
 
bool zipper_pattern = False
 
- Public Attributes inherited from LabelMaker.Interfaces.IBcdMaxicode.AMaxicodeBarcode
 start = start
 
 data = data
 
 ruler = None
 

Detailed Description

Represents a Maxicode barcode that can be printed.

This class provides functionality for creating and managing a Maxicode barcode with specified settings and data.

Constructor & Destructor Documentation

◆ __init__()

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.__init__ ( self,
Optional[IPoint] start = None,
Optional[IMaxicodeData] data = None )

Initializes a new instance of the MaxicodeBarcode class with the specified start point and data.

Parameters
startThe starting point of the barcode.
dataThe data to be encoded in the barcode.

Member Function Documentation

◆ __str__()

str LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.__str__ ( self)

Returns a string that can be sent to the printer.

This method generates a string representation of the MaxicodeBarcode instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing.

Returns
A string description of the MaxicodeBarcode instance.

Member Data Documentation

◆ rotation

LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.rotation = RotateEnum.NONE

◆ zipper_pattern

bool LabelMaker.PGL.BcdMaxicode.MaxicodeBarcode.zipper_pattern = False

The documentation for this class was generated from the following file: