Android Question Bit operations to define Printer charactersize

DonManfred

Expert
Licensed User
Longtime User
Working with Bits is not my strong part. So i am asking for a bit of help here :)

Given the Documentation of my Printer is like this:
printercharsize005.png


I now need to define ONE Value with the Bits 0 to 3 used for the Characterwidth and the Bits 4 to 7 for the Heigth.

Can anyone give me some hints on how i would realize this?
 
Top