/// <summary>
        /// Gets the printer.
        /// </summary>
        /// <param name="printerId">The printer id.</param>
        /// <returns></returns>
        public static Printer GetPrinter(int printerId)
        {
            Printer printer = null;

            try
            {
                DataAccessProvider dataAccessProvider = DataAccessProvider.Instance();

                if (dataAccessProvider != null)
                {
                    printer = CBO <Printer> .FillObject(dataAccessProvider.GetPrinter(printerId));

                    return(printer);
                }
                else
                {
                    throw new DataProviderException("Null Provider Instance");
                }
            }
            catch (Exception ex)
            {
                if (ExceptionPolicy.HandleException(ex, "Business Logic"))
                {
                    throw;
                }
            }
            return(printer);
        }