Method: Driver::Base::Print#printize

Defined in:
app/models/extface/driver/base/print.rb

#printize(bill, detailed = false, payments = true) ⇒ Object



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'app/models/extface/driver/base/print.rb', line 88

def printize(bill, detailed = false, payments = true)
  if detailed
    device.session("Fiscal Doc") do |s|
      s.notify "Print Doc Start"
      s.print "******************************\r\n*"
      s.print "Extface Print Bill".center(28)
      s.print "*\r\n******************************\r\n"
      s.notify "Print Sale"
      bill.charges.each do |charge|
      end
    end
  else
    
  end
end