A free open source IT asset/license management system
add Config getter for TZe_241
Godfrey M57788ac44118
diff --git a/app/Models/Labels/Tapes/Brother/TZe_241.php b/app/Models/Labels/Tapes/Brother/TZe_241.phpindex df8e606ad7..564c8b5215 100644--- a/app/Models/Labels/Tapes/Brother/TZe_241.php+++ b/app/Models/Labels/Tapes/Brother/TZe_241.php@@ -54,6 +54,38 @@ class TZe_241 extends TZe_18mmreturn false;}+ public function getLabelSize(): float+ {+ return self::LABEL_SIZE;+ }++ public function getLabelMargin(): float+ {+ return self::LABEL_MARGIN;+ }++ public function getFieldSize(): float+ {+ return self::FIELD_SIZE;+ }++ public function getFieldMargin(): float+ {+ return self::FIELD_MARGIN;+ }++ protected function getContentEditorConfig(): array+ {+ return [+ 'field_label_font_size' => 4,+ 'field_label_margin' => $this->getLabelMargin(),++ 'field_value_font_size' => 4,+ 'field_value_margin' => -2.2,++ 'text_render_mode' => 'block',+ ];+ }public function preparePDF($pdf) {}public function write($pdf, $record)