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
- 裏表紙(他のマニュアル用)

52
wcscpy(szBuff, L"File open error.\r");
bContinuation = FALSE;
break;
case PRN_PARAMETER_ERROR:
wcscpy(szBuff, L"Parameter error.\r");
bContinuation = FALSE;
break;
case PRN_HARDWARE_ERROR:
wcscpy(szBuff, L"Hardware error.\r");
bContinuation = FALSE;
break;
case PRN_PLATEN_OPEN:
wcscpy(szBuff, L"Platen is opened.\r");
bContinuation = FALSE;
break;
case PRN_SUSPEND_OCCURRED:
wcscpy(szBuff, L"Suspend occurred.\r");
bContinuation = FALSE;
break;
case PRN_PAPER_END:
wcscpy(szBuff, L"Paper end.\r");
bContinuation = TRUE;
break;
case PRN_VDETP_OCCURRED:
wcscpy(szBuff, L"VDETP occurred.\r");
bContinuation = TRUE;
break;
case PRN_HEADTEMP_ERROR:
wcscpy(szBuff, L"HeadTemp error.\r");
bContinuation = TRUE;
break;
case PRN_COVER_CLOSE:
wcscpy(szBuff, L"Splash cover is closed.\r");
bContinuation = TRUE;
break;
}
if (bContinuation != TRUE)
{
if (dwRet != PRN_NOTOPEN)
{
PRNTextOut(1, &CAN);
}
wcscat(szBuff, L"Printing was stopped, because Printer can't
continue.\r");
MessageBox(NULL, szBuff, L"Error", MB_OK | MB_ICONERROR);
return FALSE;
}
else
{
wcscat(szBuff, L"Do you want to continue ?\r");
iRet = MessageBox(NULL, szBuff, L"Error", MB_RETRYCANCEL);