JournalPrintJob.Print メソッド

定義

オーバーロード

Print(String)

指定したテキストをジャーナル・プリンター・ステーションに印刷するための命令を印刷ジョブに追加します。

Print(String, PosPrinterPrintOptions)

ジャーナル・プリンター・ステーションで指定されたテキストとオプションを印刷するための命令を印刷ジョブに追加します。

Print(String)

指定したテキストをジャーナル・プリンター・ステーションに印刷するための命令を印刷ジョブに追加します。

public:
 virtual void Print(Platform::String ^ data) = Print;
void Print(winrt::hstring const& data);
public void Print(string data);
function print(data)
Public Sub Print (data As String)

パラメーター

data
String

Platform::String

winrt::hstring

ジャーナル・プリンターに印刷するテキスト。

実装

M:Windows.Devices.PointOfService.IPosPrinterJob.Print(System.String) M:Windows.Devices.PointOfService.IPosPrinterJob.Print(Platform::String) M:Windows.Devices.PointOfService.IPosPrinterJob.Print(winrt::hstring)

注釈

ClaimedPosPrinter.IsCharacterSetMappingEnabled が true の場合、テキストは ClaimedPosPrinter.CharacterSet で指定されているプリンターのフォントにマップされます。 ClaimedPosPrinter.IsCharacterSetMappingEnabled が false の場合、ドライバーまたはプロバイダーは、各 Unicode 文字の下位バイトをプリンターに逐語的に送信します。

こちらもご覧ください

適用対象

Print(String, PosPrinterPrintOptions)

ジャーナル・プリンター・ステーションで指定されたテキストとオプションを印刷するための命令を印刷ジョブに追加します。

public:
 virtual void Print(Platform::String ^ data, PosPrinterPrintOptions ^ printOptions) = Print;
void Print(winrt::hstring const& data, PosPrinterPrintOptions const& printOptions);
public void Print(string data, PosPrinterPrintOptions printOptions);
function print(data, printOptions)
Public Sub Print (data As String, printOptions As PosPrinterPrintOptions)

パラメーター

data
String

Platform::String

winrt::hstring

ジャーナル・プリンターに印刷するテキスト。

printOptions
PosPrinterPrintOptions

ジャーナル・プリンターで印刷するテキストの印刷オプション。

Windows の要件

デバイス ファミリ
Windows 10, version 1903 (10.0.18362.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v8.0 で導入)

適用対象