Catch TypeError exception type 'long' when user selects Custom paper
size on QPrintDialog to PDF.
setup.py
Separate subclasses for Standard and Custom Paper.