| View previous topic :: View next topic |
| Author |
Message |
rhartl Member
Joined: 12 Jun 2006 Posts: 7
|
Posted: 06/07/06 16:08 Post subject: PrintPreview Question |
|
|
This is probably a hopelessly simple question, but bear with me.
I am trying to use TPrintPreview to preview a document generated by some fairly complex code. The code produces the correct printed output, but the printpreview display has a very small representation of the printed output in the upper left corner. Is there a property change I need to make to fix this problem?
-- Rich
Last edited by rhartl on 06/07/06 19:14; edited 1 time in total |
|
| Back to top |
|
 |
Sina Member
Joined: 29 Aug 2005 Posts: 24 Location: Shiraz - Iran
|
Posted: 06/07/06 18:49 Post subject: |
|
|
| You may post your request @ delphi area products forum ...
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 07/07/06 16:23 Post subject: |
|
|
Probably you didn't set the correct value for Units property.
_________________ Kambiz |
|
| Back to top |
|
 |
rhartl Member
Joined: 12 Jun 2006 Posts: 7
|
Posted: 17/07/06 18:03 Post subject: One more question. |
|
|
The solution you suggested worked, thanks. I was kind of mislead by the change in output I got switching back and forth between PrinterPort and the printer driver.
Is there a reason for not surfacing the Keyup, Keydown, KeyPress events in TPrintPreview?
-- Rich
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 04/08/06 13:33 Post subject: |
|
|
Yes, I think it's more flexible for a developer to handle key events as he/she whishes.
_________________ Kambiz |
|
| Back to top |
|
 |
rhartl Member
Joined: 12 Jun 2006 Posts: 7
|
Posted: 14/08/06 18:36 Post subject: papertye wrong? |
|
|
I am using the default papertype pA4 for the control and the text ending up off the screen. The proporions of the text and graphics all appear well enough, there is just this one problem in that text at the right and on the bottom of the screen is being clipped. Any suggestions? Thanks.
-- Rich
|
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 14/08/06 20:21 Post subject: |
|
|
You have to consider printer's printable area.
_________________ Kambiz |
|
| Back to top |
|
 |
|