trichview.com

trichview.support




Re: Page setup


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/09/2002 11:29:22


In your application, you just need to assign ***MarginMM properties of

TRVPrint.

You can create your own form for entering 4 values for margins.


Delphi does not include standard Windows page setup dialog.

But you can search for third party components.

For example,  Delphi Free Stuff Package by Brad Stowers has

TdfsPageSetupDialog:

http://www.torry.net/vcl/packs/interfacemiddle/dfs.zip


When I tested it last time, it has a problem - exception on creation if no

printers available.

If this bug still exists, you can create it at run-time only if

Printer.Printers.Count>0.



> How to make the page setup with margins







Powered by ABC Amber Outlook Express Converter