I use CDC::TextOut() to print something at x,y co-ords (MM_TEXT mode). On 90% of printers its fine, but on old HP4's and some others the x and y positioning is way off.
It's a dialog-based app and all I want is a method of applying the same positioning wherever its printed. As it is now, the same x co-ord produces output at different leftmargin-offsets of the page depending on the printer selected. y-offsets have a similar problem.
Example : textout(0,0,"stringone"); textout(500,0,"stringtwo");
produces: "stringone stringtwo" on a lexmark 1020
produces: "stringone stringtwo" on a hp4
...although the text itself appears the same on both printers (font size etc is ok). Im trying to write a label app so positioning is important.
Documentation in this area is pretty fuzzy.