How to change paper size or other printer settings programmatically.

I would like to have a feature where I can design a report for letter-sized paper, but at run time, if the user has set their default printer to legal, or A4 or some other paper size (or changed other settings, like duplex), I would like my program to automatically prepare the report (for viewing on screen and/or printing to a printer) using their current settings. I don't want the user to have to open dialogs to do this each time then print.

How can I do that?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.