DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PrintPreview Question

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
rhartl
Member


Joined: 12 Jun 2006
Posts: 7

PostPosted: 06/07/06 16:08    Post subject: PrintPreview Question Reply with quote

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
View user's profile Send private message
Sina
Member


Joined: 29 Aug 2005
Posts: 24
Location: Shiraz - Iran

PostPosted: 06/07/06 18:49    Post subject: Reply with quote

You may post your request @ delphi area products forum ...
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1044
Location: Tehran, Iran

PostPosted: 07/07/06 16:23    Post subject: Reply with quote

Probably you didn't set the correct value for Units property.
_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rhartl
Member


Joined: 12 Jun 2006
Posts: 7

PostPosted: 17/07/06 18:03    Post subject: One more question. Reply with quote

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
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1044
Location: Tehran, Iran

PostPosted: 04/08/06 13:33    Post subject: Reply with quote

Yes, I think it's more flexible for a developer to handle key events as he/she whishes.
_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rhartl
Member


Joined: 12 Jun 2006
Posts: 7

PostPosted: 14/08/06 18:36    Post subject: papertye wrong? Reply with quote

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
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1044
Location: Tehran, Iran

PostPosted: 14/08/06 20:21    Post subject: Reply with quote

You have to consider printer's printable area.
_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group