Sha256: 6df5eb5db528261ce2176fdbd69140bbc2c75cde7fa694758f34f9a05aca5caf

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 Bytes

Contents

module Extface
  class Driver::StarScp700 < Extface::Driver::StarTsp200
    NAME = 'Star SCP700 (Receipt only)'.freeze
    GROUP = Extface::PRINT_DRIVER
    
    DEVELOPMENT = true #driver is not ready for production (not passing all tests or has major bugs)
    
    # Select driver features
    RAW = true  #responds to #push(data) and #pull
    PRINT = true #POS, slip printers
    FISCAL = false #cash registers, fiscal printers
    REPORT = false #only transmit data that must be parsed by handler, CDR, report devices    
    
    def autocut(partial = true)
      print "\r\n\r\n\r\n"
      print partial ? "\x1B\x64\x31" : "\x1B\x64\x30"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
extface-0.1.4 app/models/extface/driver/star_scp700.rb
extface-0.1.3 app/models/extface/driver/star_scp700.rb