Terminal Service上のWinFormsプログラムで印刷をかけるとクライアントで実行する数倍遅いという現象に対する調査
前提
プログラム上でプリンタ出力する際
- 出力先プリンタや用紙サイズ、両面印刷、カラー印刷などの印刷オプションは別途選択したものを保存している
- 印刷時に上で保存した設定を使用する。
- RemoteDesktop Easy Printは基本的に使用しない。(一時的に使用する場合もあるがその場合のパフォーマンスは考慮しない)
- ローカル環境で実行した場合印刷は1秒ほどで完了する。サーバー上では十数秒かかることも。
計測
用紙サイズをユーザー定義サイズとして高さ、幅を設定するとそれだけで2秒ほどかかっているようだ。
[以下調査中]
資料
- >よくあるお問い合わせ(FAQ) | OBCNetサービス
- リダイレクトプリンタを使って印刷すると、印刷処理に時間がかかります。
- Remote Desktop Easy Print runs slowly in Windows Server 2012 R2
- Easy print spooler file size and TOO SLOW
- Slow printing with Easy Print
- Printing over Remote Desktop Services (TS) is very slow on 2K8 R2 - Microsoft Remote Desktop Services - Spiceworks
- Setting Windows Server 2008 Terminal Services Display Data Prioritization - Petri
- performance - Find out the bottleneck for windows remote desktop server (Terminal server) - Server Fault
- AR7 very slow with windows server 2012 reemote app | ActiveReports v7+ | ActiveReports | GrapeCity Forums
- Remote desktop protocols A comparison of Spice, NX and VNC