Skip to content

Commit

Permalink
BSD-style printing: remove spaces after -P and -# options.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Mar 21, 2015
1 parent 9451f0b commit e6b51bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_PostScript.cxx
Expand Up @@ -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();
Expand Down

0 comments on commit e6b51bc

Please sign in to comment.