I wish to remove all unnecessary packages and services from Ubuntu 12.04. I was not clear whether samba is required for things other than sharing folders and printing. I don't do either of these tasks.
No, it is not required. Note that "shared folders" also covers "mapped drives."