public int Printer_Mapping_Update(PRINTERMAPPING obj)
 {
     try
     {
         return(DataProvider.ExecuteNonquery(DataProvider.ConnectionString, "Printer_Mapping_Update",
                                             obj.Station_ID,
                                             obj.Store_ID,
                                             obj.LocalPort,
                                             obj.NetworkPort,
                                             obj.PrinterName,
                                             obj.Details,
                                             obj.Disabled,
                                             obj.Two_Color_Printing,
                                             obj.CutReceipt,
                                             obj.LineFeedsBeforeCut
                                             ));
     }
     catch
     {
         //throw ex;
         return(-1);
     }
 }