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/libkapa/src/KiiConvert.c

    r5852 r10802  
    3737}
    3838
    39 int KiiPS (int fd, int scale, int raw, char *filename) {
     39int KiiPS (int fd, int scale, int raw, int newpage, char *filename) {
    4040
    4141  char buffer[20];
     
    4949    goto name;
    5050  }
    51   if (!raw && !scale) {
    52     KiiSendCommand (fd, 4, "PSIT");
     51  if (newpage) {
     52    KiiSendCommand (fd, 4, "PSNP");
    5353    goto name;
    5454  }
     55  /* the default operation */
     56  KiiSendCommand (fd, 4, "PSIT");
    5557
    5658name:
Note: See TracChangeset for help on using the changeset viewer.