kyocera printing, cant set MM_LOMETRIC

I have a c++/mfc program that sets MM_LOMETRIC mode to enable exact positioning for printing.  This works fine on almost all printers, but for some reason I cant set that mode on Kyoceras (new and old) - the call fails and they remain on the default MM_TEXT.  Is there some special handling for kyoceras that I should know about?

Thanks.
tekwiniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nietodCommented:
It is posible that the scale for the low metric unit is causing a overflow.  Does this printer have higher resolution than the other printers you have been working with?  

(If that is the case try using MM_ANISOTROPIC and setting the scale yourself using SetWindowExt and SetViewPortExt(), but specifiy the smallest possible values to these functions.  i.e you can generate a 1:2 scale using 1 and 2 or using 1000 and 2000.  You want to use small numbers to prevent an overflow.)

If you are under windows NT you can try calling GetLastError() to find out exactly what the problem is.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tekwiniAuthor Commented:
thanks.  that sorted it out :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.