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
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