How to display an image on a navigation right bar button

I am trying to display a printer icon next to the share button; the print button works but it doesn't show the image.It's invisible How do I fix this ? It's built using code.