IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 17, 2006, 10:09:31 AM (20 years ago)
Author:
eugene
Message:

adding -newpage to kapa capabilities

File:
1 edited

Legend:

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

    r7917 r10802  
    44
    55  char filename[1024];
    6   int N, Source, Nsource, RawImage, NoScale, IsImage;
     6  int N, Source, Nsource, RawImage, NoScale, NewPage, IsImage;
    77 
    88  if ((N = get_argument (argc, argv, "--help"))) goto help;
    99  if ((N = get_argument (argc, argv, "-h"))) goto help;
    1010
     11  /* raw image? */
     12  NewPage = FALSE;
     13  if ((N = get_argument (argc, argv, "-newpage"))) {
     14    remove_argument (N, &argc, argv);
     15    NewPage = TRUE;
     16  }
    1117  /* raw image? */
    1218  RawImage = FALSE;
     
    5460 
    5561  /* tell Ximage/Xgraph to ps the image */
    56   KiiPS (Source, NoScale, RawImage, filename);
     62  KiiPS (Source, NoScale, RawImage, NewPage, filename);
    5763  return (TRUE);
    5864
Note: See TracChangeset for help on using the changeset viewer.