Specifications

124
Sample Program
Refer to TM-C3400 sample program to develop the application using this printer.
Conditions to using TM-C3400 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 Epson-
Net SDK when installing. Therefore, enable the Trap function before installing the Epson-
Net SDK. For details, see
"EpsonNet SDK" on page 126.
•Languages of C++, C#, VB6.0, VB.NET are provided for the TM-C3400 sample program.
The TM-C3400 sample program cannot be used for other printers than this printer.
Structure of TM-C3400 sample program
The following is the structure, model and language to use for TM-C3400 sample program.
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.
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