using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace TSCLIB_DLL_IN_C_Sharp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
TSCLIB_DLL.openport("\\10.10.30.102\tscta210");
TSCLIB_DLL.setup("149 mm", "38 mm", "3", "8", "0", "0", "0");
TSCLIB_DLL.clearbuffer();
TSCLIB_DLL.printerfont("100", "250", "3", "0", "1", "1", "Print Font Test");
TSCLIB_DLL.windowsfont(100, 300, 24, 0, 0, 0, "ARIAL", "Windows Arial Font Test");
TSCLIB_DLL.printlabel("1", "1");
TSCLIB_DLL.closeport();
}
}
}
My project is label printing (not barcode) with TSC(TSC TA210) Printer. This code snippets is there. And I get a error message "Printer is not been specified." But I describe correctly printer name.I don't understand lack of code or describe, define, syntax and ANOTHER METHOD
What I have tried:
With c# I compile program. And then I get a error message "Printer driver is not been specified." (Visual Studio 2012) Windows Form application