/// <summary> /// Reinstalls the device. /// </summary> /// <returns></returns> public Boolean Reinstall() { WriteToTrace("#### Method :: Reinstall ####"); // Close com port Bixolon.CloseFpCtrl(); // Open com port if (Bixolon.OpenFpCtrl(comPort)) { WriteToTrace("Reinstall :: Com port " + comPort + " reopened"); return(true); } else { WriteToTrace("Reinstall :: Com port" + comPort + " not opened"); if (!Bixolon.CheckFPrinter()) { PStatus = Bixolon.GetPrinterStatus(); WriteToTrace("Install :: Error, printer status error code: " + PStatus.PrinterErrorCode); WriteToTrace("Install :: Error, printer status error description " + PStatus.PrinterErrorDescription); return(false); } return(false); } }
public void CerrarPuerto() { fiscal.CloseFpCtrl(); }