lib/zebra/print_job.rb in zebra-epl-0.0.5 vs lib/zebra/print_job.rb in zebra-epl-0.0.6
- old
+ new
@@ -14,15 +14,10 @@
@printer = printer
end
def print(label)
tempfile = label.persist
-
- begin
- send_to_printer tempfile.path
- ensure
- tempfile.close
- end
+ send_to_printer tempfile.path
end
private
def check_existent_printers(printer)