Patiencer / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
0 stars 0 forks source link

Allow to change page orientation in TMetaFilePrinter #254

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
TMetaFilePrinter should allow to change the page orientation for printing.

This could be done by adding a new property "Orientation", which has 
TPrinterOrientation as value and affects Printer.Orientation.
Another solution would be to allow setting "PageWidth" and "PageHeight" of the 
underlying ThtPrinter properties, which should affect Printer.PageHeight and 
Printer.PageWidth.

Which version of the product are you using? Which compiler version are you
using? On which operating system?
r425, Delphi XE, Win7

Original issue reported on code.google.com by sebastia...@gmail.com on 15 Jul 2013 at 9:48

GoogleCodeExporter commented 9 years ago
Thanks for this idea.

In which situation do you miss this property?

Do you expect to change the orientation of already printed metafiles or change 
orientation for the next page within a print job?

Original comment by OrphanCat on 23 Jul 2013 at 9:17

GoogleCodeExporter commented 9 years ago
What I want is to be able to change the orientation already while being inside 
the print preview like it's done in many programs in Firefox for example. (see 
the attache screenshot)
Does that answer your question?

Sebastian

Original comment by sebastia...@gmail.com on 23 Jul 2013 at 9:39

Attachments:

GoogleCodeExporter commented 9 years ago
There is a "Setup printer" button in the preview dialog. Or would you like to 
have extra buttons?

Original comment by OrphanCat on 23 Jul 2013 at 10:30

GoogleCodeExporter commented 9 years ago
I built my own print preview based on the existing PreviewForm.pas and 
PrintStatusForm.pas code.
But yes, I'd expect extra buttons like it's done in many other programs like 
e.g. Word, Firefox or Chrome.

Sebastian

Original comment by sebastia...@gmail.com on 24 Jul 2013 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by OrphanCat on 25 Jul 2013 at 5:52