How to print to a portable printer
from pocket pc using compact framework ?
I will appreciate if someone
can reply to me as soon as possible
thanks
best regards
kengwee
There is a .Net version in beta at this time.
"keng wee" <ken...@syncthesis.com> wrote in message
news:037e01c2d713$8d1e0320$a401...@phx.gbl...
There are several printing products in beta, but if your printing needs are
simple you may not need them. I use PInvoke for serial I/O (CreateFile,
WriteFile, CloseHandle) to just write ascii characters out the serial port to
the printer. Some printers I've used, such as one from Zebra, can handle escape
sequences in the serial output stream to control font, orientation, etc.
--
Ginny Caughey
Windows Embedded MVP
"keng wee" <ken...@syncthesis.com> wrote in message
news:037e01c2d713$8d1e0320$a401...@phx.gbl...
Is it possible to provide some samples
using PInvoke ?
I will appreciate if you canhelp me
thanks
best regards
kengwee
>.
>
Here are some code examples that illustrate using PInvoke for serial
communications:
http://www.innovativedss.com/forums/topic.asp?TOPIC_ID=83
http://ourworld.compuserve.com/homepages/richard_grier/CFSerial.htm
To send code to a simple serial printer, you open the port, set the serial
protocol, and then just write the strings you want to the port, converting the
strings to ascii. Depending on the printer, you may need to delay perhaps 100ms
between each line of code sent. Finally close the handle to the port when you're
done.
--
Ginny Caughey
Windows Embedded MVP
"kengwee" <ken...@syncthesis.com> wrote in message
news:01a001c2ddc4$ae73ac20$a101...@phx.gbl...
I am using the codes
form http://www.innovativedss.com/forums/topic.asp?
TOPIC_ID=83. I have a problem :
What is the port name i should use ?
I will appreciate if you
can help me.
thanks
best regards
kengwee
>-----Original Message-----
>Kengwee,
>
>.
>
The port name will depend on the particular device you're using. For my Symbol
Tech devices, it's "com1:". Notice that you have to include the colon as part of
the port name in CE.
--
Ginny Caughey
Windows Embedded MVP
"kengwee" <ken...@syncthesis.com> wrote in message
news:02de01c2e0b0$9a6d5e80$a401...@phx.gbl...