Moin,
Jemand eine Idee wie ich die Druckgeschwindigkeit von PDF-Drucken erhöhen kann?
(ps: ich weiss, es sind keine Try-Catch etc in meinen Programmen enthalten... mache ich ganz am Schluss, wenn das wichtigste läuft )
Jemand eine Idee wie ich die Druckgeschwindigkeit von PDF-Drucken erhöhen kann?
(ps: ich weiss, es sind keine Try-Catch etc in meinen Programmen enthalten... mache ich ganz am Schluss, wenn das wichtigste läuft )
C#-Quellcode
- if (ChkBlatt1.Checked == true)
- {
- int anzahl = 0;
- do
- {
- anzahl++;
- string pdf = "C:\\Users\\admin\\Desktop\\Apps\\Blatt1.pdf";
- string acrobat = "C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe";
- Process process = new Process();
- process.StartInfo.FileName = acrobat;
- process.StartInfo.Verb = "printto";
- process.StartInfo.Arguments = "/p /s /h \"" + pdf + "\"";
- process.StartInfo.CreateNoWindow = true;
- process.StartInfo.RedirectStandardOutput = true;
- process.StartInfo.UseShellExecute = false;
- process.Start();
- process.CloseMainWindow();
- } while (anzahl < int.Parse(TxtBlatt1.Text));
- }
- //#############################################################
- if (ChkBlatt2.Checked == true)
- {
- int anzahl2 = 0;
- do
- {
- anzahl2++;
- string pdf = "C:\\Users\\admin\\Desktop\\Apps\\Blatt2.pdf";
- string acrobat = "C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe";
- Process process = new Process();
- process.StartInfo.FileName = acrobat;
- process.StartInfo.Verb = "printto";
- process.StartInfo.Arguments = "/p /s /h \"" + pdf + "\"";
- process.StartInfo.CreateNoWindow = true;
- process.StartInfo.RedirectStandardOutput = true;
- process.StartInfo.UseShellExecute = false;
- process.Start();
- process.CloseMainWindow();
- } while (anzahl2 < int.Parse(TxtBlatt2.Text));
- }