A class representing an RFID write operation for TSPL. More...
Public Member Functions | |
| __init__ (self, Optional[RfidMemBlockEnum] mem_block=None, Optional[str] data=None) | |
| Initializes a new instance of the RfidWrite class. | |
| str | __str__ (self) |
| Returns a string that can be sent to the printer. | |
Public Member Functions inherited from LabelMaker.Interfaces.IRfid.ARfidWrite | |
| __init__ (self, RfidMemBlockEnum mem_block=RfidMemBlockEnum.EPC, str data="") | |
| str | __str__ (self) |
| Subclasses should implement this method. | |
Additional Inherited Members | |
Public Attributes inherited from LabelMaker.Interfaces.IRfid.ARfidWrite | |
| memory = mem_block | |
| password_type = RfidPasswordTypeEnum.NONE | |
| str | password = "" |
| data = data | |
| int | offset_from_start = 0 |
A class representing an RFID write operation for TSPL.
This class inherits from ARfidWrite and provides functionality for initializing and describing an RFID write operation in TSPL.
| LabelMaker.TSPL.RfidWrite.RfidWrite.__init__ | ( | self, | |
| Optional[RfidMemBlockEnum] | mem_block = None, | ||
| Optional[str] | data = None ) |
| str LabelMaker.TSPL.RfidWrite.RfidWrite.__str__ | ( | self | ) |
Returns a string that can be sent to the printer.
This method generates a string representation of the RfidWrite instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing in TSPL.