Label is the container for other objects that are printed. More...
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 |
Label is the container for other objects that are printed.
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.
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.
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.
|
static |
Reimplemented in LabelMaker.PGL.Label.Label, LabelMaker.TSPL.Label.Label, LabelMaker.PGL.Label.Label, and LabelMaker.TSPL.Label.Label.