Class: Driver::StarScp700

Inherits:
Extface::Driver::StarTsp200
  • Object
show all
Defined in:
app/models/extface/driver/star_scp700.rb

Constant Summary collapse

NAME =
'Star SCP700 (Receipt only)'.freeze

Instance Method Summary collapse

Instance Method Details

#autocut(partial = true) ⇒ Object



7
8
9
10
# File 'app/models/extface/driver/star_scp700.rb', line 7

def autocut(partial = true)
  print "\r\n\r\n\r\n"
  print partial ? "\x1B\x64\x31" : "\x1B\x64\x30"
end

#autocutter?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/models/extface/driver/star_scp700.rb', line 12

def autocutter?
  true
end