Printing support in WinCE 4.2 and C#

M

minimega

Hello to all NG,

I'm triying to understand how print from my C# application running in
WinCE 4.2 environment (x86). I've found 2 commercial .NET components
but they only works with ARM, and the free HP tool too. So, I have two
choices:

1) implement in my software the LJ, PCL or ESCP/2 language and send
commands directly to the printer attached port (and it can be easy for
COM or BT printer, but how send data to LPT or USB port?)

2) use WinCE printing support and use the printers who has CE driver
support.

I've added all the needed components to my CE image and I'm able to
printing from CE Microsoft WordPad, with fonts, colors and so on.

Then, I've found the article: (please take a look)
http://support.microsoft.com/default.aspx?scid=kb;en-us;139652

and create a new eVC4 project with that code (taht includes some
errors) and it works fine, so now I want to "translate" C++ code to C#
code, including API calls, structures and so on.

Is anobody able to help me in this conversion, or has some good C# code
that let me print some text?

Many thanks,
Massimo
 
M

minimega

Just made! ;-)

However, very strange that the "only" valid product to quick and well
develop application unser PPC/CE (we are talking about VS and CF)
hasn't any kind of managed support for printing.. printing is a so
strange thing?

Massimo
 
C

Chris Tacke, eMVP

When you consider the number of devices out there - a vast majority are
PPC/WM. A a vast majority of them aren't used for printing. So when the
decision makers at MS say "do we work on Printing or do we work on
Notification Broker" it becomes an easy decision. They expect and encourage
3rd parties to fill in the gaps, and in fact they generate lots of niche
markets in doing so. I'm sure Field Software hopes they never get around to
doing printing support.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 

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