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

  • Thread starter Thread starter Fehly
  • Start date Start date
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
 
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
 
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.
 
Thanks for the tips.
I tried the PocketHTMLprint_NetCF SDK from Fieldsoftware and it works
fine :-)

Felix
 
Back
Top