作成日: 2019/01/09 最終更新日: 2019/01/09
文書種別
使用方法
詳細
FlexViewerを使用して印刷を実行する場合、デフォルトでは「通常使うプリンタ(デフォルトプリンタ)」が選択されます。
別のプリンタに変更したい場合は、以下のように記述してください。
◆サンプルコード(VB.NET)
◆サンプルコード(C#)
別のプリンタに変更したい場合は、以下のように記述してください。
◆サンプルコード(VB.NET)
Dim lps As New System.Printing.LocalPrintServer
C1FlexViewer1.Pane.PrintQueue = lps.GetPrintQueue("プリンタ名")
C1FlexViewer1.Pane.PrintQueue = lps.GetPrintQueue("プリンタ名")
◆サンプルコード(C#)
var lps = new System.Printing.LocalPrintServer();
c1FlexViewer1.Pane.PrintQueue = lps.GetPrintQueue("プリンタ名");
c1FlexViewer1.Pane.PrintQueue = lps.GetPrintQueue("プリンタ名");
旧文書番号
83518