UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.Interfaces.ILabel.ILabel Class Reference

Label is the container for other objects that are printed. More...

Inheritance diagram for LabelMaker.Interfaces.ILabel.ILabel:
LabelMaker.PGL.Label.Label LabelMaker.TSPL.Label.Label

Public Member Functions

None add_object (self, object add_object)
 Add object that can be converted to printer language syntax.
 
None add_raw_content (self, str raw_content)
 Raw content added to label for cases where custom content needs to be added.
 
str __str__ (self)
 Returns the string that can be sent to printer.
 

Static Public Attributes

str name
 

Detailed Description

Label is the container for other objects that are printed.

Member Function Documentation

◆ __str__()

str LabelMaker.Interfaces.ILabel.ILabel.__str__ ( self)

Returns the string that can be sent to printer.

Reimplemented in LabelMaker.PGL.Label.Label, and LabelMaker.TSPL.Label.Label.

◆ add_object()

None LabelMaker.Interfaces.ILabel.ILabel.add_object ( self,
object add_object )

Add object that can be converted to printer language syntax.

Reimplemented in LabelMaker.PGL.Label.Label, and LabelMaker.TSPL.Label.Label.

◆ add_raw_content()

None LabelMaker.Interfaces.ILabel.ILabel.add_raw_content ( self,
str raw_content )

Raw content added to label for cases where custom content needs to be added.

Adding raw content allows adding of printer language commands or other features that may not be available.

No formatting of content is done. Caller responsible for making sure content follows printer language syntax.

Reimplemented in LabelMaker.PGL.Label.Label, and LabelMaker.TSPL.Label.Label.

Member Data Documentation

◆ name

str LabelMaker.Interfaces.ILabel.ILabel.name
static

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