FieldSoftware
Home
PrinterCE
SDK
General
Info
Download
Purchase & Pricing
Developer Info
eVC MFC
eVC C/C++
eVB
Special Features
AsciiCE
PrintDC
BarcodeCE
Documentation
PrinterCE SDK
AsciiCE
PrintDC
BarcodeCE
Special Topics
Supported
Printers
Bluetooth Printing
Network Printing
.Net CF C# or VB.Net:
PrinterCE.NetCF
SDK
-----------------------------
Software Developers
PrinterCE SDK
PrinterCE.NetCF
SDK
PocketHTMLprint SDK
Printing Utilities
PrintPocketCE
PIEprint
PocketPixPrint
PocketShot
PocketClipPrint
Arcade Games
SockOut
MazeCraze
Contact Info
|
The
AsciiCE2 control is included with PrinterCE SDK and provides
for sending and
receiving ASCII text strings and blocks of data or control functions
directly from Windows CE / Pocket PC devices to Ascii printers. When used with
certain printers that also feature magnetic card readers or smart card
readers, the AsciiCE2 control provides methods to read the data from those
readers (see below)..
AsciiCE2
provides basic high-speed text output to ASCII
printers,
direct printer control and reading data sent from the printer, but loses
the sophisticated graphics, TrueType font, object drawing and barcode
printing capabilities of PrinterCE. AsciiCE2 and PrinterCE can be used
simultaneously to a limited degree. AsciiCE2
functions can be accessed from eVB, and eVC (MFC/CE and C/C++).
Note:
AsciiCE2 extends PrinterCE's original AsciiCE control. AsciiCE will
continue to be found in PrinterCE unchanged, so all existing applications
using AsciiCE will work as before. However AsciiCE2 provides every method
and property of AsciiCE plus many more.
The
PrinterCE demo program (PrCEDemo -
download here) contains two demos of AsciiCE2 in addition to the
PrinterCE demos. You can download the C++ source code and eVC project
files for PrCEDemo here.
"Hello World"
eVB example using
AsciiCE2:
This demo demonstrates the simplicity of using AsciiCE.
It creates an instance of AsciiCE2, selects the infrared port, prints out
"Hello World" and "Second Line", then formfeeds and
closes the infrared port.
Dim AscPr, success
Set AscPr = CreateObject("PrEngineCE.AsciiCE2")
'Select Ascii Printer port values
success = AscPr.SelectPort(PORT_IR, S_DONTCARE,
S_DONTCARE)
If (success = True) Then
AscPr.Text "Hello World" & vbCrLf & "Second Line"
AscPr.FormFeed
End If
AscPr.ClosePort ' Done with the port for
now
#1.
Special AsciiCE2 Topic:
[Intermixing PrinterCE and AsciiCE2]
#2.
Special AsciiCE2 Topic:
[Reading
Data from Special-Purpose Printers]
|