Lexmark to cut 1,700 jobs, stop making inkjets