User manual - GUIライブラリマニュアルver.1.01(2012年3月29日)
31
3.2.17 CpSetBarcodeType
裏面バーコードの読取方式を設定します。
[C++]
int CpSetBarcodeType(
HWND
hPrinter
,
DWORD
dwType
)
[Visual Basic]
Declare Function CpSetBarcodeType(
ByVal
hPrinter
As Int32, _
ByVal
dwType
As Int32 _
) As Int32
[C#]
Int32 CpSetBarcodeType(
Int32
hPrinter
,
Int32
dwType
,
)
解説
本関数は、裏面バーコードの読取方式を設定します。
パラメータ
hPrinter
プリンタのハンドルを指定します。
dwType
裏面バーコードの読取に使用する方式を指定します。
0
: 無効(デフォルト)
1
: 6 桁読取
2
: 15 桁読取
戻り値
関数が正常終了した場合は正の値を、それ以外の場合は CP_ERROR を返します。