commands for finding and removing MFC installation

If some one attempted a command line install of an MFC scanner driver but something went wrong such as maybe USB in stead of Network or visa versa and then later tried to install with Synaptic How would one go about removing all prior installs in order to attempt it again?