Sha256: ed2976d66e128e2f6da255ff69aa543e8bdcc50f2edb662497c1ad56aa792488

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

module Languages
  class Zpl2
    class Text
      # TODO Escape seqs

      def initialize(string)
        @string = string
      end
      
      def render
        "^FD#{@string}^FS"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zebra_printer-0.9.0 lib/languages/zpl2/text.rb
zebra_printer-0.8.0 lib/languages/zpl2/text.rb
zebra_printer-0.1.1 lib/languages/zpl2/text.rb