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
DLL Load Error
.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
|
Using
PrinterCE in eVB Programs
- Download
& install PrinterCE on your device & desktop PC (see instructions
on Download page)
- Download
"PrinterCE.BAS" definitions file to add to your eVB app.
- In eVB, select "Tools" menu -> Remote
Tools -> Control Manager. Click on the "+" next to your WinCE
platform and you should see three
selections: Emulation, Device and Desktop. Select each of these in
turn and choose "Control" menu -> Add New Control. Browse
to the appropriate directory where you saved that version of the PrEngineCE.DLL and select it to add it to the Control Manager. You
must follow this step for each of the three parts of your platform:
the Emulator, Device and Desktop (adding in the three different
PrEngineCE.DLL variants downloaded from the table above).
-
You can use "CreateObject()" in your eVB
code
(or AddObject in NS Basic) to create the PrinterCE control (see example code here)
or you can add the control to your control bar by selecting
Project->Components and checking PrinterCE. Place the control
on your form (it will be invisible at run-time) and start using it.
- If you are going to use PrinterCE in
emulation mode, download the Emulation
version from the download table and use Empfile to copy it to your device emulator. From the
emulator, register the control (From the emulator, select Start->Run and type
regsvrce.exe \Windows\PrEngineCE.dll ). Note that printing from
the emulator is generally not functional and thus limits the
usefulness of PrinterCE emulation.
eVB Examples
Click on any output image below to
see it full-sized.
Example:
Hello World
Not much to look at, but this traditional "first try"
program demonstrates the simplicity of using PrinterCE - create the
PrinterCE object and add just three lines of eVB code print out "Hello World":
See full size printed output
See eVB
code
|
|
Example:
Form
Test
Demonstrates the capabilities of positioning text,
changing text justification and drawing lines and rectangles to
create a form. Combining this approach with ADOCE database
capabilities would allow for powerful form printing functionality.
See full size printed output
See eVB code
|
|
Example:
Thumbnails
Demonstrates image printing capabilities by printing
"thumbnails" of all BMP and JPG images found in /Images
directory. This example was printed Landscape (sideways) to
demonstrate that PrinterCE automatically adjusts all printing for
Portrait or Landscape
See full size printed output |
See eVB code
|
|
Example:
Image Wheel
Similar to "Image Rotation" example, but
shows added power of "justification" for images... the (x,y)
coordinate given to "draw" an image is adjusted according
to user-selected horizontal (Left, Center, Right) and vertical (Top,
Center, Bottom) justification.
See full size printed output
See eVB code
|
|
|