I have a Bitmap object that i want to print using Casio IT 9000 hand terminal (The reason we are using Compact Framework)
I can print the bitmap but for some reason it scales up at different devices. I have found a 'Vertical Resolution' setting at some test program which fixes this but i couldn't find how to use this value.
Internet tells me to use
Bitmap.SetResolution
function but SetResolution does not exists at Compact Framework 3.5.
Another workaround i have found is resizing the Bitmap but our original Bitmap creates a 4 MB object in memory. We are at the limit of memory usage so i can not allocate another Bitmap object without getting 'Out Of Memory Exception' device consistently throws.
So my current options i can think of are, 1 set the bitmap resolution somehow or 2 resize the bitmap without allocation another.
Is there any other way to do this, or how can i use the Vertical Resolution setting