app/models/extface/pos_print_driver.rb in extface-0.0.8 vs app/models/extface/pos_print_driver.rb in extface-0.1.0
- old
+ new
@@ -7,12 +7,12 @@
def print_test_page(times = 1)
device.session("Print Test Page") do |s|
times.times do |t|
s.notify "Printing Test Page #{t}"
- s.print "******************************\r\n"
- s.print "* Extface Print Test Page *\r\n"
- s.print "******************************\r\n"
+ s.print "******************************\r\n*"
+ s.print "Extface Print Test #{t}".center(28)
+ s.print "*\r\n******************************\r\n"
s.notify "Printing driver information"
s.print "\r\nDriver:\r\n"
s.print "------------------------------\r\n"
s.print "#{self.class::NAME}".truncate(30)