EPSON — Sample Program

Chapter 3 Application Development Information Sample Program Refer to TM-C3400BK sample program to develop the application using this product. You can use the sample program in the following environment. c34smp_xxe.msi: 64-bit/32-bit OS c34smp_xxe.exe: 32-bit OS Conditions to using TM-C3400BK sample program Use Die-cut Label (108 Ч 174.8 mm). Change settings to [Detect Margin Between Labels] on [Media position detection Setting] of the printer driver. Some sample programs use SNMP TRAP. The Trap function of the printer is set with EpsonNet SDK when installing. Therefore, enable the Trap function before installing the EpsonNet SDK. For details, see "EpsonNet SDK" on page 129 .

Languages of C++, C#, VB6.0, VB.NET are provided for the TM-C3400BK sample program. The TM-C3400BK sample program cannot be used for other printers. Operation is checked for the sample program using the EpsonNet SDK; however, Epson- Net SDK does not support C#, VB6.0 and VB.NET officially. Combination with each lan- guage is not 100% confirmed. 3 Structure of TM-C3400BK sample program The following is the structure, model and language to use for TM-C3400BK sample program. 127 Level Program name Specification Printer Model Language USB Ethernet C++ C# VB.NET VB6.0 Basic Step 1 Printing  characters Basic print program.

   —  — Step 2 Printing  bar codes Sets barcode font to use in advance for print program    —  — Step 3 Printing bit map data Includes bit map data       Step 4 Requesting the printer status from the application Checks the printer condition before printing and executes error handling —   —  —