added a pdf printer and a image viewer