public int OperateStepMotor() { int nres; int ncmdlen = 13; byte pcmd = 0x40; nres = SmartComm2.SmartCommEx_CmdSend((long)hsmartprinterid, pcmd, ncmdlen); if (nres == SmartComm2.SM_SUCCESS) { } return(nres); }