IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/queueprint.c

    r4703 r7917  
    66
    77  if (argc != 2) {
    8     fprintf (stderr, "USAGE: queueprint (name)\n");
     8    gprint (GP_ERR, "USAGE: queueprint (name)\n");
    99    return (FALSE);
    1010  }
     
    1212  queue = FindQueue (argv[1]);
    1313  if (queue == NULL) {
    14     fprintf (stderr, "ERROR: queue %s not found\n", argv[1]);
     14    gprint (GP_ERR, "ERROR: queue %s not found\n", argv[1]);
    1515    return (FALSE);
    1616  }
    1717
    18   PrintQueue (GetOutfile(), queue);
     18  PrintQueue (queue);
    1919  return (TRUE);
    2020}
Note: See TracChangeset for help on using the changeset viewer.