Re: zebra cameo 2 printer by Ginny
Ginny
Fri Jan 12 16:05:02 CST 2007
Rick,
You can use either C# or vc++. If you use C#, use the
System.IO.Ports.SerialPort class. If you use vc++ use CreateFile, WriteFile,
CloseHandle, etc.
--
Ginny Caughey
Device Application Development MVP
"Rick" <zatankloz@gmail.com> wrote in message
news:uJYrFRpNHHA.780@TK2MSFTNGP03.phx.gbl...
> Ginny, just one more question, from my wince c# app can i send to print
> my data? or should i use other programming language like vc++?
>
>
> Regards.
> Rick
>
>
> "Ginny Caughey [MVP]" <ginny.caughey.online@wasteworks.com> escribió en el
> mensaje news:elrtV8ZNHHA.3268@TK2MSFTNGP04.phx.gbl...
>> Rick,
>>
>> You use a serial port to send data to the printer. You may need to
>> Sleep() a bit after each line, and you may also need to delay closing the
>> port until all the text has been sent. Also make sure that each line you
>> send to the printer is terminated with a carriage return-line feed pair.
>> If you're sending something more than simple text, then the printer
>> control language comes into play to control formatting, fonts, etc.
>> Finally, I usually write several empty lines at the end of my text to
>> advance the paper so I can read whatever I just sent.
>>
>> --
>> Ginny Caughey
>> Device Application Development MVP
>>
>>
>> "Rick" <zatankloz@gmail.com> wrote in message
>> news:%23GC5r0ZNHHA.1240@TK2MSFTNGP03.phx.gbl...
>>> Hi guys!!
>>>
>>> Im new in this pocket wonderful world, im begging to develop under
>>> windows ce 5.0, now i have to send to print text from a handheld (wince
>>> 5) to a bluetooht zebra cameo 2 printer, i dont know how to begin, i've
>>> downloaded some pdfs from zebra's site, i wonder if someone can guide me
>>> with this.
>>>
>>> As a simple sample i want to send the text "hello world" to the printer,
>>> i've read about CPCL, its simple but i dont have idea how to send that
>>> code to the printer, does someone has an example that shows how to do
>>> this?
>>>
>>>
>>> Regards.
>>> Rick
>>>
>>>
>>
>>
>>
>
>
>