Whitepaper BarTender's NET SDKs
Whitepaper BarTender's NET SDKs
Whitepaper BarTender's NET SDKs
Contents
Try Out the SDKs for Free........................................................................ 6 Installing the BarTender .NET SDKs ........................................................ 6
Requires BarTender version 9.01, Build 2524 or Higher ..........................................6 If the BarTender Suite is not yet installed: ................................................................6 If BarTender Suite is already installed: .....................................................................6
Page 2
Before the BarTender SDKs became available, the only way to programmatically control BarTender from within other software was through BarTenders ActiveX Automation interface. This continues to be a powerful and flexible way to control BarTender. However, .NET programmers now have a faster, easier option. The BarTender .NET Software Development Kits (SDKs) include pre-written source code and extensive documentation that greatly simplify the task of writing code to control BarTender. Now, using either C# or VB.NET, you can seamlessly integrate BarTender functionality into your applications without having to write from scratch the most commonly-needed routines for automated label printing.
Sample applications with source code and Visual Studio project files are included and can be run from the Windows Start menu. Learn by compiling and stepping through each sample application, or copy the code to your application and customize it as desired.
Extensive Documentation
The SDKs include complete, searchable documentation with detailed Getting Started sections. An exhaustive reference to the Application Programming Interface (API) includes a variety of coding examples illustrating different ways to control BarTender. The various sample applications are also thoroughly documented.
Integrated with Visual Studio
Support for Visual Studio integration features includes: Intellisense-assisted typing to speed up the writing of source code. Easy insertion of SDK assembly references into your new .NET projects. All referenced BarTender SDK libraries are automatically copied to your project at compile time, which simplifies the installation and distribution of your software. Although the BarTender .NET SDKs are supported by a truly exhaustive help system, the following sequence demonstrates how the "Intellisense" feature in Microsoft's Visual Studio works with the BarTender SDKs to help you use the available library functions without your having to look them up.
Page 3
The BarTender SDKs work with Microsofts Visual Studio to help you rapidly build your code expressions.
Page 4
At this time, there are two software development kits available for use with BarTender: The Print SDK The Print Server SDK
To use the Print SDK in production, you must have the BarTender Enterprise edition or better installed. (Some functions, such as printing to file or executing BarTender XML Script require the Enterprise Print Server Edition of BarTender. See the SDK documentation for details.)
When you use BarTender stand-alone, you typically sit at a computer and manually execute BarTender tasks such as printing a label format, exporting a label, and running a BarTender XML script. In contrast, when you control BarTender programmatically using the Print Server
Page 5
SDK, your programs submit these tasks to a queue where they wait to be processed by one or more instances of BarTender. The ability of the Print Server SDK to rapidly queue tasks as fast as your applications can create them and then feed them one-by-one to an instance of BarTender as it becomes available is the key to automating high volume label printing using BarTender.
Requires Enterprise Print Server Edition
To use the Print Server SDK in production, you must have the BarTender Enterprise Print Server edition or better installed.
Try Out the SDKs for Free
The BarTender .NET SDKs are downloadable for free as part of the BarTender Trial edition. (Be sure to select one of the "Full BarTender Suite" download options.)
Installing the BarTender .NET SDKs
Requires BarTender version 9.01, Build 2524 or Higher
The BarTender .NET SDKs did not begin shipping with BarTender until build 2524 was released on November 13th, 2008. If you have an older build of version 9.0 or 9.01, you can download a free service release from our web site and use it with your existing Product Key Code. Although BarTenders .NET SDKs are installed using BarTenders regular Installer program, they are not installed by a default or Typical install. Instead, you must use the appropriate Custom install option:
If the BarTender Suite is not yet installed:
1. 2. 3. 4.
Start the BarTender Suite Installation Wizard In the BarTender Setup Type dialog, select Custom. Expand BarTender .NET SDKs. Select This feature, and all subfeatures, will be installed on the local hard drive and complete the BarTender Suite Installation Wizard.
If BarTender Suite is already installed: 1. From the Windows Start menu, open the Control Panel.
2. Select Add or Remove Programs. 3. Select BarTender from the list of installed applications. 4. Click Change to open the BarTender Suite Installation Wizard.
Page 6
5. Select Modify in the BarTender Setup Program Maintenance dialog. 6. Expand BarTender .NET SDKs. 7. Select This feature, and all subfeatures, will be installed on the local hard drive and complete the BarTender Suite Installation Wizard. After installing the BarTender .NET SDKs, you can view the BarTender Print SDK online help and examples of how to use the available classes and methods. You can easily copy and paste any code example in the SDK documentation into your programs.
Building .NET Projects using the BarTender .NET SDKs
After you finish installing your BarTender SDK, please see the Getting Started topics in the accompanying SDK documentation.
Page 7
General White Papers The Advantage of Drivers by Seagull Choosing the Right BarTender Edition BarTender Web Print Server Whats New in the Latest BarTender
Integration White Papers Integration Overview Commander Commander Examples Exporting Printer Code Templates Using BarTender with Terminal Services and Citrix MetaFrame XML Integration with Oracles WMS and MSCA Integration Using ActiveX Getting Started with ActiveX Automation Using C# Getting Started with ActiveX Automation Using VB.NET Getting Started with ActiveX Automation Using VB6 Integration With SAP SAP Integration Methods Reading SAP IDocs SAP Auto Infrastructure Integration with BarTender Miscellaneous White Papers BarTender Enterprise Licensing Printing International Characters Using BarTender BarTender Software Activation Using BarTenders Application Identifier Wizard Optimizing Label Printing Performance Status Monitor Overview Silent Install For downloadable versions, visit: www.seagullscientific.com/aspx/whitepapers.aspx
www.seagullscientific.com
Version: 2008-11-20 18:17 Copyright 2003 - 2008 Seagull Scientific, Inc