Remove obsolete print/exportAsPdf command line options
(cherry picked from commit 0d5c5fe9a21c30d3a1ee1d877b134c6c09ac5a70)