You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
533 B
C

#ifndef _DEVPRINTER_H_
#define _DEVPRINTER_H_
#include "global.h"
extern "C" {
HRESULT PRN_Init();
HRESULT PRN_UnInit();
HANDLE PRN_CreatePrinter(int nPrnVer,char* sPrintPort, int nColMax, int nLineMax,
int nHeigthAdj, char* sPortAddr, char* sFormat);
HRESULT PRN_Close(HANDLE hHandle);
HRESULT PRN_CheckPrinter(HANDLE hHandle, INT32 &iStatus);
HRESULT PRN_Print(HANDLE hHandle, char *pInfo);
HRESULT PRN_PaperCut(HANDLE hHandle);
char* PRN_GetErrorStr (INT32 ErrorCode);
}
#endif