Sha256: 69119247485c62f51d16651360ed3b7b3c53e05e1cde6b72faee3db377bdbff2

Contents?: true

Size: 757 Bytes

Versions: 2

Compression:

Stored size: 757 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)

    CAN_RECEŠ”VE_DATA = true #pull from server
    CAN_TRANSMIT_DATA = true #push to server
    
    # 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.2 app/models/extface/driver/star_scp700.rb
extface-0.1.1 app/models/extface/driver/star_scp700.rb