different textwidth between 'PRINTDIRECT=false' and 'true'

Please discuss general Delphi programming topics here.

different textwidth between 'PRINTDIRECT=false' and 'true'

Postby e.schmidtlein » November 29th, 2007, 5:22 pm

HI,
for a centered text i need the TEXTWIDTH. If i use 'PRINTDIRECT=false' the TEXTWIDTH ist not correct, but then showed text is OK.
What is the reason?
Thank you for help
Attachments
TextWidth_PrintPreView.jpg
TextWidth_PrintPreView.jpg (104.72 KiB) Viewed 1327 times
e.schmidtlein
Member
Member
 
Posts: 2
Joined: November 29th, 2007, 5:04 pm

Postby Kambiz » December 1st, 2007, 3:32 am

PixelsPerInch is the same for with and without direct print. I guess there is something wrong in your code.

Anyway, it is possible to have different text width. But I need to have your code, PrintPreview's properties, and printer settings to see whether the difference is logical or not. For example, check whether the printer's paper size is as same as PrintPreview's paper size.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 10 guests

cron