Added 'mode' setting to print_settings variable which controls the printer resolution
Corrected documentation of margin variable in print_settings