Exemplo n.º 1
0
        //tests
        public static void PFTextPrinterTest()
        {
            PFTextPrinter printer = new PFTextPrinter();

            printer.ShowPageNumbers = true;
            printer.Title           = "TEST OUTPUT FROM TESTPROG";
            printer.TextToPrint     = "Test output\r\nPlus a second line.";

            //printer.PrintPreview(true);
            printer.ShowPrintPreview();

            //printer.ShowPrintDialog();
            //printer.Print();

            //printer.ShowPageSettings();
            //printer.Print(true);
            //printer.ShowPrintPreview();
        }