Developing Applications 2-7
Programming Notes
♦ Include the Ultra.dll import file in all your applications. Without it, you
are not able to access any scanner or printing functions.
For example,
Imports Ultra ‘ for VB.NET
Using Ultra; // for C#
♦
Test your application once you have loaded it into the printer.
♦ The libraries included in this SDK are designed to support Microsoft®
Visual Basic® 2003 and 2005; therefore, some function names
changed. Visual Basic and Visual Studio® 2005 are case insensitive.
Visual C#® is case sensitive. Many developers use the same name
for Type Defines and functions, just by varying the case. However,
varying the case creates a new name and your application may not
function as designed.
♦ Train the end users (operators) and/or their supervisor (system
administrator) on the application. They also must know how to
perform procedures (loading supplies, for example) that may vary from
the generic descriptions in the Operator’s Handbook.
♦ When a file is saved in RAM, it is lost when the charge in the main
battery and backup battery has been depleted. A file saved in the
Onboard Flash folder or SD (Secure Digital) memory card is saved
even when both batteries have been depleted.
♦ For Socket programming, refer to your standard Microsoft Windows
documentation.
♦ When you are finished writing the application, select Build
Application to build and Deploy Application to download the
application. In addition, you can also Build a cab file. Refer to your
Microsoft® Visual Studio® .NET documentation for more information.
♦ To lock access to functions, such as the display, video, control panel,
refer to your standard Microsoft Windows documentation.