using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using printremin.printaa;
namespace printremin
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
private void button2_Click(object sender, EventArgs e)
{
serialPort1.PortName = "COM2";//终端打印口
serialPort1.BaudRate = 9600;
serialPort1.Open();
//byte[] data = Encoding.Unicode.GetBy