Esempio n. 1
0
        public void CreateTestPage()
        {
            IOidCode oidCode             = new TiptoiOidCode();
            var      printerTestPageFile = TestFile("printer-test.html");

            OidSvgWriter.CreatePrinterTestPage(printerTestPageFile);
            Process.Start(printerTestPageFile);
        }
Esempio n. 2
0
 private void printerTestPageToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Task.Factory.StartNew(() =>
     {
         var testPage = Path.Combine(About.LocalApplicationDataDirectory, "tiptoi-printer-test.html");
         PathUtil.EnsureParentDirectoryExists(testPage);
         OidSvgWriter.CreatePrinterTestPage(testPage);
         Process.Start(testPage);
     }, TaskCreationOptions.LongRunning);
 }