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 (104.72 KiB) Viewed 1327 times
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.