:sign0098:
Thank you Erel.
CableGuy,
Actualy before the forum restore you've posted a request for a printer libraryl based on the artice of the following link
http://www.codeproject.com/netcf/CFPrinterClass.asp which is for the compact framework.
My answer was the following.
It is easy to print ASCII characters to a serial, IR, or Bluetooth line (or even page) printer (as the class you mentioned above does) from your device.
You need only to open a serial connection to your printer using serial library (with the right BaudRate etc.) and then send strings followed by CRLF to change line. When you are finished with your page send a form feed character (ASCII character 12) to change page. Then close the serial connection.
Send escape sequences (look to your printer's technical guide) for bold, italics, condensed, emphasized etc. characters.
It is that simple.
But this method prints only ASCII character (0-127) and Extended ASCII (128-255).
If you need to print graphics, barcodes or unicode strings then you must do much more because it is printer depended.
You should go deep into your printer as there is not a printing engine (as there is for Desktop Windows) for Windows Mobile with printer drivers etc. or use a third party control.
I personally to print to thermal label printers, I use from
www.fieldsoftware.com it's PrinterCE.NetCF SDK. It is a commercial product and supports only concrete printers.