Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
1.40/5 (2 votes)
See more:
Hi all

In my application i am printing values from a notepad to paper.
I gave font style and size in the notepad(Lucida Console,reguler,8), it is running fine in winXP or win7, but i tried the same application in winPOSReady2009, that time the font became very big.

Please tell me some solution where the font should remain same for any OS.

Thank you
Posted
Updated 4-Aug-14 20:00pm
v2
Comments
Richard MacCutchan 5-Aug-14 3:23am    
No one can possibly guess what your program is doing. Please show the failing code and explain how you set the font for the output.
[no name] 5-Aug-14 4:13am    
i don't have any code with me.
till now i use to format the text file font and size manually.
but now i am facing problem with difference OS.
So i am looking for some alternate solution.
johannesnestler 5-Aug-14 7:45am    
Have a look at the DPI-Settings of that systems. Most likely thats your problem.
Bernhard Hiller 5-Aug-14 5:56am    
"printing values from a notepad" what's that? Do you use the "print" menu of Notepad?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900