private void toolDraw_Click(object sender, EventArgs e)
        {
            if (txtTemplateID.Text.Trim() != "")
            {
                CardPrinter = new Signature.Card.CardPrinter();
                CardPrinter.Clear();
                CardPrinter.Add("ABCDEFGHIJKLMNOPQRSTUWXYZ01234");
                CardPrinter.Add("ABCDEFGHIJKLMNOPQRSTUWXYZ01234");
                CardPrinter.Add("ABCDEFGHIJKLMNOPQRSTUWXYZ01234");


                CardPrinter.PaperSize = oCardTemplate.PaperSize;
                CardPrinter.Copies    = 1;
                CardPrinter.UpperCase = true;

                // if (cbBold.Checked)
                CardPrinter.Point = oCardTemplate.Point;
                // else
                // CardPrinter.Point = new PointF((float)(txtPointX.Number * 100), (float)(txtPointY.Number * 100));
                CardPrinter.Rotation = (short)oCardTemplate.Rotation;
                CardPrinter.TestMode = true;

                CardPrinter.Font      = new Font(oCardTemplate.FontName, oCardTemplate.FontSize, oCardTemplate.Bold ? FontStyle.Bold : FontStyle.Regular);
                CardPrinter.PrintType = Signature.Card.CardPrintType.Image;
                CardPrinter.Print();
            }
        }
        private void toolStripPrint_Click(object sender, EventArgs e)
        {
            //CardPrinterPrinterSettings.PrinterName = "IS700C";
            //CardPrinter.PrinterSettings.PrinterName = "RISO RZ 9 Series";
            // CardPrinter.PrinterSettings.PrinterName = "RICOH HQ9000 RPCS";
            //CardPrinter.PrinterSettings.PrinterName = "RISO RN2550(ADVANCE)";
            //CardPrinter.PrinterSettings.PrinterName = "Send To OneNote 2007";
            if (txtTemplateID.Text.Trim() != "")
            {
                CardPrinter = new Signature.Card.CardPrinter();
                CardPrinter.Clear();
                CardPrinter.Add("ABCDEFGHIJKLMNOPQRSTUWXYZ01234");
                CardPrinter.Add("ABCDEFGHIJKLMNOPQRSTUWXYZ01234");
                CardPrinter.Add("ABCDEFGHIJKLMNOPQRSTUWXYZ01234");


                CardPrinter.PaperSize = oCardTemplate.PaperSize;
                CardPrinter.Copies    = 1;
                CardPrinter.UpperCase = true;

                // if (cbBold.Checked)
                CardPrinter.Point = oCardTemplate.Point;
                // else
                // CardPrinter.Point = new PointF((float)(txtPointX.Number * 100), (float)(txtPointY.Number * 100));
                CardPrinter.Rotation = (short)oCardTemplate.Rotation;
                CardPrinter.TestMode = true;

                CardPrinter.Font      = new Font(oCardTemplate.FontName, oCardTemplate.FontSize, oCardTemplate.Bold ? FontStyle.Bold : FontStyle.Regular);
                CardPrinter.PrintType = Signature.Card.CardPrintType.Text;
                CardPrinter.Print();
            }
        }