User manual - プリンタライブラリマニュアルver.1.06(2014年6月13日)
Table Of Contents
- 表紙
- プリンタライブラリ.pdf
- 1. 概要
- 2. 動作環境
- 3. 関数
- 3.1 PRNOpen
- 3.2 PRNClose
- 3.3 PRNInitializePrinter
- 3.4 PRNPrintScreen
- 3.5 PRNPrintWindow
- 3.6 PRNTextOut
- 3.7 PRNImageOut
- 3.8 PRNBarcodeOut
- 3.9 PRNBMPOut
- 3.10 PRNCheckMarker
- 3.11 PRNGetStatus
- 3.12 PRNGetLastError
- 3.13 PRNSetPaperWidth
- 3.14 PRNGetPaperWidth
- 3.15 PRNSetPrinterProperty
- 3.16 PRNGetPrinterProperty
- 3.17 PRNDecodeBarcode
- 3.18 PRNResetDecoder
- 3.19 PRNSetBarcodeType
- 3.20 PRNGetBarcodeType
- 4. プログラミング上の注意点
- 5. ESCコマンド
- 6. DeviceEmulator
- 裏表紙(他のマニュアル用)

27
3.15 PRNSetPrinterProperty
プリンタの各種設定を変更します。
[C++]
DWORD PRNSetPrinterProperty(
DWORD
dwPaperType
,
DWORD
dwDepth
,
DWORD
dwSpeed
,
DWORD
dwAutoloading
,
DWORD
dwAutoloadingLength
,
DWORD
dwPreheat
,
DWORD
dwPrintContinuation
)
[Visual Basic]
Public Shared Function PRNSetPrinterProperty( _
ByVal
dwPaperType
As Int32, _
ByVal
dwDepth
As Int32, _
ByVal
dwSpeed
As Int32, _
ByVal
dwAutoloading
As Int32, _
ByVal
dwAutoloadingLength
As Int32, _
ByVal
dwPreHeat
As Int32, _
ByVal
dwPrintContinuation
As Int32 _
) As Int32
[C#]
public static Int32 PRNSetPrinterProperty(
Int32
dwPaperType
,
Int32
dwDepth
,
Int32
dwSpeed
,
Int32
dwAutoloading
,
Int32
dwAutoloadingLength
,
Int32
dwPreHeat
,
Int32
dwPrintContinuation
);
解説
本関数は、プリンタの各種設定を変更します。
Device Emulatorでは、設定値を内部変数として格納するため、何も動作しません
が、PRNGetPrinterProperty関数を実行することにより、設定値を確認することができます。
パラメータ
dwPaperType
用紙の種類を設定します
DT-9800
0 : F-200U9W6
1 : HS360