Sha256: 980e102dd749eb73693c42c4d3a23ca122543f30b957e9c7f393aa3a9194cd70

Contents?: true

Size: 335 Bytes

Versions: 8

Compression:

Stored size: 335 Bytes

Contents

module Extface
  class Driver::StarScp700 < Extface::Driver::StarTsp200
    NAME = 'Star SCP700 (Receipt only)'.freeze
    
    alias_method :print, :push
    
    def autocut(partial = true)
      print "\r\n\r\n\r\n"
      print partial ? "\x1B\x64\x31" : "\x1B\x64\x30"
    end
    
    def autocutter?
      true
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
extface-0.1.0 app/models/extface/driver/star_scp700.rb
extface-0.0.8 app/models/extface/driver/star_scp700.rb
extface-0.0.7 app/models/extface/driver/star_scp700.rb
extface-0.0.6 app/models/extface/driver/star_scp700.rb
extface-0.0.5 app/models/extface/driver/star_scp700.rb
extface-0.0.3 app/models/extface/driver/star_scp700.rb
extface-0.0.2 app/models/extface/driver/star_scp700.rb
extface-0.0.1 app/models/extface/driver/star_scp700.rb