Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

print to a portable printer

0 views
Skip to first unread message

keng wee

unread,
Feb 18, 2003, 1:04:09 AM2/18/03
to
Hi,

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

rob

unread,
Feb 18, 2003, 2:32:04 AM2/18/03
to
www.fieldsoftware.com

There is a .Net version in beta at this time.

"keng wee" <ken...@syncthesis.com> wrote in message
news:037e01c2d713$8d1e0320$a401...@phx.gbl...

Ginny Caughey [MVP]

unread,
Feb 18, 2003, 11:41:34 AM2/18/03
to
Kengwee,

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

kengwee

unread,
Feb 26, 2003, 1:27:12 PM2/26/03
to
Hi Ginny Caughey,

Is it possible to provide some samples
using PInvoke ?

I will appreciate if you canhelp me

thanks
best regards
kengwee

>.
>

Ginny Caughey [MVP]

unread,
Feb 26, 2003, 2:14:35 PM2/26/03
to
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...

kengwee

unread,
Mar 2, 2003, 6:41:02 AM3/2/03
to
Hi Ginny Caughey,

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

>.
>

Ginny Caughey [MVP]

unread,
Mar 6, 2003, 10:58:17 AM3/6/03
to
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...

0 new messages