Made complete redesign of printing code. Now the code check printer's dpi and
calculate scale factor. Instead of printing with QImage buffer the code print
directly on printer. Help avoid limitations of QImage class.
Also removed menu option "Save as PDF". The option duplicate option "Export As"
and also mislead a user about purpose of option "Print preview".
--HG--
branch : develop