I've found that there is no printing interface built into .Net compact, so my question is how can I print? My overall goal is just to send some basic stuff to a wireless label printer that I will connect too via a printer share on our server.
Consider the question limited to sending a 'Hello World' print job. Its a label开发者_如何转开发 printer so i will have to deal with sending it the PLC codes and stuff later.
Configuring and creating proper PCL for printers is a lot of work. Consider a third-party printing solution like PrinterCE or PrintBoy. I've used both for a variety of printers and both work well.
I decided to go the route of sending the data right to the device rather than through the windows printing. (Which makes a lot more sense in this situation)
The label printer comes with a software utility for creating labels and happens to save the labels in the PCL format, so I think I can use that program to make templates and insert the data where necessary.
精彩评论