From ee305d2804c7bc0718d5a28791ca34c39c87b606 Mon Sep 17 00:00:00 2001 From: Wiktor Przybylski Date: Sun, 22 May 2022 00:58:41 +0200 Subject: [PATCH] undo echo --- main.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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