35
35
UI_MENU_DEFINE_TOGGLE(IECDevice4)
36
36
UI_MENU_DEFINE_TOGGLE(IECDevice5)
37
UI_MENU_DEFINE_TOGGLE(IECDevice6)
38
39
ui_menu_entry_t printeriec_plus4_settings_menu[] = {
39
40
{ N_("Printer #4 emulation"), UI_MENU_TYPE_TICK,
64
65
(ui_callback_t)uiprinter_formfeed, (ui_callback_data_t)1, NULL,
65
66
KEYSYM_5, UI_HOTMOD_META },
66
67
{ "--", UI_MENU_TYPE_SEPARATOR },
68
{ T_("Printer #6 emulation"), UI_MENU_TYPE_TICK,
69
NULL, NULL, uiprinter_set_printer6_type_submenu },
70
{ T_("Printer #6 enable IEC device"), UI_MENU_TYPE_TICK,
71
(ui_callback_t)toggle_IECDevice6, NULL, NULL },
72
{ T_("Printer #6 driver"), UI_MENU_TYPE_NORMAL,
73
NULL, NULL, uiprinter_pr6_driver_submenu },
74
{ T_("Printer #6 output"), UI_MENU_TYPE_NORMAL,
75
NULL, NULL, uiprinter_pr6_output_submenu },
76
{ T_("Printer #6 text output device"), UI_MENU_TYPE_NORMAL,
77
NULL, NULL, uiprinter_pr6_device_submenu },
78
{ T_("Printer #6 formfeed"), UI_MENU_TYPE_NORMAL,
79
(ui_callback_t)uiprinter_formfeed, (ui_callback_data_t)2, NULL,
80
KEYSYM_6, UI_HOTMOD_META },
81
{ "--", UI_MENU_TYPE_SEPARATOR },
67
82
{ N_("Printer text device 1"), UI_MENU_TYPE_DOTS, (ui_callback_t)uiprinter_set_printer_exec_file,
68
83
(ui_callback_data_t)"PrinterTextDevice1", NULL },
69
84
{ N_("Printer text device 2"), UI_MENU_TYPE_DOTS, (ui_callback_t)uiprinter_set_printer_exec_file,