summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-03-21 08:45:42 +0000
committerManolo Gouy <Manolo>2015-03-21 08:45:42 +0000
commite6b51bc3c91de9ab314bb5c095f894b8566c04bd (patch)
treee72c685d8551f20b5337be9227b0961614027e2e
parent9451f0b8889b438aa96be297cf32ef75d200b858 (diff)
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
-rw-r--r--src/Fl_PostScript.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx
index c5ef92528..de7de89c9 100644
--- a/src/Fl_PostScript.cxx
+++ b/src/Fl_PostScript.cxx
@@ -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();