diff --git a/src/main/kotlin/info/mking/k2zpl/builder/Extensions.kt b/src/main/kotlin/info/mking/k2zpl/builder/Extensions.kt index 31ec5f8..f3e40e7 100644 --- a/src/main/kotlin/info/mking/k2zpl/builder/Extensions.kt +++ b/src/main/kotlin/info/mking/k2zpl/builder/Extensions.kt @@ -11,9 +11,7 @@ import info.mking.k2zpl.command.FieldSeparator import info.mking.k2zpl.command.Font import info.mking.k2zpl.command.FontAt import info.mking.k2zpl.command.GraphicField -import info.mking.k2zpl.command.LabelHome import info.mking.k2zpl.command.LabelLength -import info.mking.k2zpl.command.LabelShift import info.mking.k2zpl.command.MediaDarkness import info.mking.k2zpl.command.PrintQuantity import info.mking.k2zpl.command.PrintRate @@ -25,14 +23,6 @@ import info.mking.k2zpl.command.options.ZplPrintSpeed import info.mking.k2zpl.command.options.ZplTextAlignment import info.mking.k2zpl.command.options.ZplYesNo -/** - * Sets the label shift. - * @param shift The shift amount. - */ -fun ZplBuilder.labelShift(shift: Int) { - command(LabelShift(shift = shift)) -} - /** * Sets the font for text fields. * @param font The font to use. diff --git a/src/main/kotlin/info/mking/k2zpl/command/LabelShift.kt b/src/main/kotlin/info/mking/k2zpl/command/LabelShift.kt deleted file mode 100644 index bcf8f6c..0000000 --- a/src/main/kotlin/info/mking/k2zpl/command/LabelShift.kt +++ /dev/null @@ -1,6 +0,0 @@ -package info.mking.k2zpl.command - -internal data class LabelShift(val shift: Int) : ZplCommand { - override val command: CharSequence = "^LS" - override val parameters: LinkedHashMap = linkedMapOf("s" to shift) -} \ No newline at end of file