Added constructor for printer