Direct printing, without a print popup dialog
Click one of the two print icons. The left should result in a PDF the right in a JPEG.
Print icons
Print Dialog Example
Print Vector Layers Example