printing with the webbrowser control on windows CE and .net compact framework 2.0

F

Fehly

I'm searching for an possibility for printing html pages on a Windows
CE System using C#. I know there is the 'PrinterCE.NetCF.dll' for
printing, but I don't wanna hard code all the layout. I just wanna
print a html page.

I found a printing function in the Webbrowser control on .net 2.0
(http://msdn2.microsoft.com/en-us/library/
system.windows.forms.webbrowser.print(vs.80).aspx)
It looks pretty good, but my webbrowser control does not implement
this method :-(
I read the msdn page and it says it is supported on 2.0 and also on
Widnows Mobile and Windows CE with .net 2.0 and that's exactly what I
got.
As the webbrowser class is located in the System.Windows.Forms
namespace, I checked the version of the dll I included and it's
2.0.0.0. I think it should work, but there is no function print().

Could anyone please help me? Or does anyone know another possibility
for printing a html page programmatically on WindowsCE?

Thanks,
Felix
 
G

Guest

I've used the FiledSoft library to print html pages in the past, and it
worked pretty good. The only problem was FieldSoft requires a fee per device.

Rick D.
Contractor
 
P

Paul G. Tobey [eMVP]

Even if there was a print method, the device doesn't have support for any
printers. That's why you need to either target your printing for a specific
device and write your code for that device or use something like FieldSoft
which attempts to add back into Windows CE the wide range of printer support
that isn't in the OS itself.

Paul T.
 
F

Fehly

Thanks for the tips.
I tried the PocketHTMLprint_NetCF SDK from Fieldsoftware and it works
fine :)

Felix
 

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