Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
binary data from a bitmap or pcx
I need to convert a bitmap file to a binary file containing nothing but 1's and 0's for each on/off bit, so it can be downloaded to a special purpose POS printer which requires only 1's and 0's in a string of download data. So far I haven't been able to figure out how to do this. Does anybody know of a utility program that does such a thing? Or can anyone point me to specs that define these (say BMP) file formats so I can try go flail my way to a solution?