The key to understand printing to Samsung MFP under Linux is using lpr command in all cases when the application allows that. In other cases proper result is not guaranteed.
Take a look to the printing from enumerated applications in Printing from applications topic. May be you will find the way to setup printing process for your desired program.
See also: