--- np2/macosx/commng.cpp 2003/11/28 17:44:19 1.3 +++ np2/macosx/commng.cpp 2004/01/05 03:59:11 1.4 @@ -1,6 +1,8 @@ #include "compiler.h" +#include "np2.h" #include "commng.h" #include "cmver.h" +#include "cmjasts.h" // ---- non connect @@ -52,8 +54,19 @@ COMMNG commng_create(UINT device) { COMMNG ret; ret = NULL; - if (device == COMCREATE_MPU98II) { - ret = cmvermouth_create(); + switch(device) { + case COMCREATE_PRINTER: + if (np2oscfg.jastsnd) { + ret = cmjasts_create(); + } + break; + + case COMCREATE_MPU98II: + ret = cmvermouth_create(); + break; + + default: + break; } if (ret == NULL) { ret = (COMMNG)&com_nc;