User manual - プリンタライブラリマニュアルver.1.06(2014年6月13日)

30
3.16 PRNGetPrinterProperty
プリンタの各種設定状態を取得します。
[C++]
DWORD PRNGetPrinterProperty(
DWORD *
dwPaperType
,
DWORD *
dwDepth
,
DWORD *
dwSpeed
,
DWORD *
dwAutoloading
,
DWORD *
dwAutoloadingLength
,
DWORD *
dwPreheat
,
DWORD *
dwPrintContinuation
)
[Visual Basic]
Public Shared Function PRNGetPrinterProperty( _
ByRef
dwPaperType
As Int32, _
ByRef
dwDepth
As Int32, _
ByRef
dwSpeed
As Int32, _
ByRef
dwAutoloading
As Int32, _
ByRef
dwAutoloadingLength
As Int32, _
ByRef
dwPreHeat
As Int32, _
ByRef
dwPrintContinuation
As Int32 _
) As Int32
[C#]
public static Int32 PRNGetPrinterProperty(
ref Int32
dwPaperType
,
ref Int32
dwDepth
,
ref Int32
dwSpeed
,
ref Int32
dwAutoloading
,
ref Int32
dwAutoloadingLength
,
ref Int32
dwPreHeat
,
ref Int32
dwPrintContinuation
);
パラメータ
dwPaperType
現在の用紙種類設定を格納するエリアへのポインタ
dwDepth
現在の印字濃度設定を格納するエリアへのポインタ
dwSpeed
現在の印字速度設定を格納するエリアへのポインタ
dwAutoloading
現在のオートローディング設定を格納するエリアへのポインタ