lib/sapos/print/printer.rb in sapos-print-1.0.4 vs lib/sapos/print/printer.rb in sapos-print-1.0.5

- old
+ new

@@ -87,10 +87,12 @@ return false end return true when 'windows' - command = "COPY "+'"'+opts[:file].to_s.gsub("/","\\")+'"'+'"\\\\%COMPUTERNAME%\\'+@config.printer + #command = "copy" + ' "' + filename + '" ' + '"\\\\%COMPUTERNAME%\\'+"TM" + filename = opts[:file].to_s.gsub("/","\\") + command = "COPY " + '"' + filename + '" ' + '"\\\\%COMPUTERNAME%\\' + @config.printer #command = "copy #{opts[:file]} "+'"\\\\%COMPUTERNAME%\\'+@config.printer if !system(command) puts "Not executed" return false end \ No newline at end of file