printing a document on the printer