gnome-print to stdout




Hello,

What about adding few lines to gnome-print.c

gnome_print_context_open_file:

if ((filename[0] == '-') && (filename[1] == '\0'))
  {
    pc->f = stdout;
    pc->is_pipe = FALSE;
  }

gnome_print_context_close_file:

if (pc->f == stdout)
  return 0

Would be extremely useful for command-line printing

Lauris Kaplinski



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]