Add Tabloid paper size to menu_print_page_size array

This commit is contained in:
ManoloFLTK 2024-04-08 11:19:14 +02:00
parent 31170c4731
commit 5b802be52b
2 changed files with 4 additions and 0 deletions

View File

@ -277,6 +277,9 @@ int Fl_Posix_Printer_Driver::begin_job(int pages, int *firstpage, int *lastpage,
case 8:
format = Fl_Paged_Device::DLE;
break;
case 9:
format = Fl_Paged_Device::TABLOID;
break;
default:
format = Fl_Paged_Device::A4;
}

View File

@ -118,6 +118,7 @@ static const Fl_Menu_Item menu_print_page_size[] = {
{"B5", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
{"Com10", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
{"DL", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
{"Tabloid", 0, 0, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
{0,0,0,0,0,0,0,0,0}
};