undo echo
This commit is contained in:
parent
687bb6bdf1
commit
ee305d2804
2
main.rb
2
main.rb
|
@ -131,5 +131,5 @@ post '/api/1/print/:id' do
|
||||||
temp = Tempfile.new('labelmaker')
|
temp = Tempfile.new('labelmaker')
|
||||||
temp.write(render_label(params["id"]))
|
temp.write(render_label(params["id"]))
|
||||||
temp.close
|
temp.close
|
||||||
system("echo lpr -P DYMO_LabelWriter_450 #{temp.path}")
|
system("lpr -P DYMO_LabelWriter_450 #{temp.path}")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue