Improved the printer so domains.h is a user file
improved the printer so the domains.h file is out of the library