diff --git a/main.rb b/main.rb index 3f531eb..84cf200 100644 --- a/main.rb +++ b/main.rb @@ -131,5 +131,5 @@ post '/api/1/print/:id' do temp = Tempfile.new('labelmaker') temp.write(render_label(params["id"])) temp.close - system("echo lpr -P DYMO_LabelWriter_450 #{temp.path}") + system("lpr -P DYMO_LabelWriter_450 #{temp.path}") end