print in .NET CF

W

wwbbx

As we all know .NET Compact Framework does not support
print class.

How can I program printing in my application using .NET
Compact Framework?

Use the P/Invoke to call Win32API?

Thanks for your advice!
 
M

Michael Yuan

You have several choices:

1. If you just want to print some simple text, you can
send the print commands (in PCL or PS languages) directly
to the printer server via the TCP/IP network.

2. If you need to print complex graphics, certain HP
bluetooth printers (I forgot the exact model) come with
their own .NET CF print controls (the HP Mobile Print
SDK). You can easily incorporate them into VS.NET as
custom controls.

3. You can rely on 3rd party mobile printing libraries.
An example is PrinterCE from www.fieldsoftware.com

Good luck
Michael
 
S

Shaun Wilde

Or as you say you can use the API.


Michael Yuan said:
You have several choices:

1. If you just want to print some simple text, you can
send the print commands (in PCL or PS languages) directly
to the printer server via the TCP/IP network.

2. If you need to print complex graphics, certain HP
bluetooth printers (I forgot the exact model) come with
their own .NET CF print controls (the HP Mobile Print
SDK). You can easily incorporate them into VS.NET as
custom controls.

3. You can rely on 3rd party mobile printing libraries.
An example is PrinterCE from www.fieldsoftware.com

Good luck
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top