Sha256: af8218f6d7da069dac6db8898492f33f8b9b930eab1fc8a419f94be67a3e2e4d

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

require 'active_support/concern'
module Extface
  module Driver::Epson::EscPos
    
    def autocut(partial = true) # (Function B)
      # <GS> 'V' 0x65 x - Full-cut command
      # <GS> 'V' 0x66 x - Partial-cut command
      push partial ? "\x1D\x56\x65\x03" : "\x1D\x56\x66\x03"
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
extface-0.1.9 app/models/extface/driver/epson/esc_pos.rb
extface-0.1.8 app/models/extface/driver/epson/esc_pos.rb
extface-0.1.7 app/models/extface/driver/epson/esc_pos.rb
extface-0.1.6 app/models/extface/driver/epson/esc_pos.rb
extface-0.1.5 app/models/extface/driver/epson/esc_pos.rb