126
Sample Program
Refer to the TM-C3400 sample program to develop applications using this printer.
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 for using the 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 it is installed. Therefore, enable the Trap function before installing the
EpsonNet SDK. For deta
ils, see "EpsonNet SDK" on page 128.
•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
—
√ √
—
√
—