BSD-style printing: remove spaces after -P and -# options.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2015-03-21 08:45:42 +00:00
parent 9451f0b888
commit e6b51bc3c9
1 changed files with 1 additions and 1 deletions

View File

@ -1637,7 +1637,7 @@ int Fl_PostScript_Printer::start_job(int pages, int *firstpage, int *lastpage) {
char command[1024];
if (style == SystemV) snprintf(command, sizeof(command), "lp -s -d %s -n %d -t '%s' -o media=%s",
printer, print_collate_button->value() ? 1 : (int)(print_copies->value() + 0.5), "FLTK", media);
else snprintf(command, sizeof(command), "lpr -h -P %s -# %d -T FLTK ",
else snprintf(command, sizeof(command), "lpr -h -P%s -#%d -T FLTK ",
printer, print_collate_button->value() ? 1 : (int)(print_copies->value() + 0.5));
Fl_PostScript_Graphics_Driver *ps = driver();