// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (fa367e41). // // PrEngineCE.tlh // // C++ source equivalent of Win32 type library ..\PrEngineCE\PrEngineCE.tlb // compiler-generated file created 06/11/03 at 10:20:54 - DO NOT EDIT! #pragma once #pragma pack(push, 8) #include // // Forward references and typedefs // struct /* coclass */ PrinterCE; struct __declspec(uuid("5642fb84-113d-11d3-9fba-00a0cc275e38")) /* dual interface */ IPrinterCE; struct /* coclass */ BarcodeCE; struct __declspec(uuid("25ed2f20-3940-11d3-90ff-00a0cc275e38")) /* dual interface */ IBarcodeCE; struct /* coclass */ AsciiCE; struct __declspec(uuid("4e353865-cee3-4044-8787-c6beb4294bf4")) /* dual interface */ IAsciiCE; struct /* coclass */ AsciiCE2; struct __declspec(uuid("bf03f317-6033-4e3e-89d8-d7cc62d47d6b")) /* dual interface */ IAsciiCE2; // // Smart pointer typedef declarations // _COM_SMARTPTR_TYPEDEF(IPrinterCE, __uuidof(IPrinterCE)); _COM_SMARTPTR_TYPEDEF(IBarcodeCE, __uuidof(IBarcodeCE)); _COM_SMARTPTR_TYPEDEF(IAsciiCE, __uuidof(IAsciiCE)); _COM_SMARTPTR_TYPEDEF(IAsciiCE2, __uuidof(IAsciiCE2)); // // Type library items // struct __declspec(uuid("417b40a5-0eba-11d3-9fa7-00a0cc275e38")) PrinterCE; // [ default ] interface IPrinterCE struct __declspec(uuid("5642fb84-113d-11d3-9fba-00a0cc275e38")) IPrinterCE : IDispatch { // // Raw methods provided by interface // virtual HRESULT __stdcall DrawLine ( float x1, float y1, float x2, float y2, VARIANT * color = &vtMissing, VARIANT * boxfill = &vtMissing ) = 0; virtual HRESULT __stdcall EndDoc ( ) = 0; virtual HRESULT __stdcall KillDoc ( ) = 0; virtual HRESULT __stdcall NewPage ( ) = 0; virtual HRESULT __stdcall SelectPrinter ( ) = 0; virtual HRESULT __stdcall DrawCircle ( float x, float y, float radius, VARIANT * color = &vtMissing, VARIANT * aspect = &vtMissing ) = 0; virtual HRESULT __stdcall DrawRect ( float x1, float y1, float x2, float y2, VARIANT * color = &vtMissing ) = 0; virtual HRESULT __stdcall DrawRoundedRect ( float x1, float y1, float x2, float y2, float corner_width, float corner_height, VARIANT * color = &vtMissing ) = 0; virtual HRESULT __stdcall DrawEllipse ( float x1, float y1, float x2, float y2, VARIANT * color = &vtMissing ) = 0; virtual HRESULT __stdcall DrawText ( BSTR string, VARIANT * x = &vtMissing, VARIANT * y = &vtMissing, VARIANT * count = &vtMissing ) = 0; virtual HRESULT __stdcall get_ScaleMode ( long * pVal ) = 0; virtual HRESULT __stdcall put_ScaleMode ( long pVal ) = 0; virtual HRESULT __stdcall get_DrawStyle ( long * pVal ) = 0; virtual HRESULT __stdcall put_DrawStyle ( long pVal ) = 0; virtual HRESULT __stdcall get_DrawWidth ( float * pVal ) = 0; virtual HRESULT __stdcall put_DrawWidth ( float pVal ) = 0; virtual HRESULT __stdcall get_FontBold ( long * pVal ) = 0; virtual HRESULT __stdcall put_FontBold ( long pVal ) = 0; virtual HRESULT __stdcall get_FontItalic ( long * pVal ) = 0; virtual HRESULT __stdcall put_FontItalic ( long pVal ) = 0; virtual HRESULT __stdcall get_FontBoldVal ( long * pVal ) = 0; virtual HRESULT __stdcall put_FontBoldVal ( long pVal ) = 0; virtual HRESULT __stdcall get_FontName ( BSTR * pVal ) = 0; virtual HRESULT __stdcall put_FontName ( BSTR pVal ) = 0; virtual HRESULT __stdcall get_FontSize ( long * pVal ) = 0; virtual HRESULT __stdcall put_FontSize ( long pVal ) = 0; virtual HRESULT __stdcall get_FontStrikethru ( long * pVal ) = 0; virtual HRESULT __stdcall put_FontStrikethru ( long pVal ) = 0; virtual HRESULT __stdcall get_FontUnderline ( long * pVal ) = 0; virtual HRESULT __stdcall put_FontUnderline ( long pVal ) = 0; virtual HRESULT __stdcall get_TextX ( float * pVal ) = 0; virtual HRESULT __stdcall put_TextX ( float pVal ) = 0; virtual HRESULT __stdcall get_TextY ( float * pVal ) = 0; virtual HRESULT __stdcall put_TextY ( float pVal ) = 0; virtual HRESULT __stdcall get_Rotation ( long * pVal ) = 0; virtual HRESULT __stdcall put_Rotation ( long pVal ) = 0; virtual HRESULT __stdcall get_JustifyHoriz ( long * pVal ) = 0; virtual HRESULT __stdcall put_JustifyHoriz ( long pVal ) = 0; virtual HRESULT __stdcall get_JustifyVert ( long * pVal ) = 0; virtual HRESULT __stdcall put_JustifyVert ( long pVal ) = 0; virtual HRESULT __stdcall get_ForeColor ( unsigned long * pVal ) = 0; virtual HRESULT __stdcall put_ForeColor ( long pVal ) = 0; virtual HRESULT __stdcall get_IsColor ( long * pVal ) = 0; virtual HRESULT __stdcall DrawPicture ( BSTR picture, float x, float y, VARIANT * width = &vtMissing, VARIANT * height = &vtMissing, VARIANT * keepaspect = &vtMissing ) = 0; virtual HRESULT __stdcall DrawPoint ( float x, float y, VARIANT * color = &vtMissing ) = 0; virtual HRESULT __stdcall get_FillStyle ( long * pVal ) = 0; virtual HRESULT __stdcall put_FillStyle ( long pVal ) = 0; virtual HRESULT __stdcall get_FillColor ( unsigned long * pVal ) = 0; virtual HRESULT __stdcall put_FillColor ( long pVal ) = 0; virtual HRESULT __stdcall get_PgIndentTop ( long * pVal ) = 0; virtual HRESULT __stdcall put_PgIndentTop ( long pVal ) = 0; virtual HRESULT __stdcall get_PgIndentLeft ( long * pVal ) = 0; virtual HRESULT __stdcall put_PgIndentLeft ( long pVal ) = 0; virtual HRESULT __stdcall get_GetStringWidth ( BSTR string, float * pVal ) = 0; virtual HRESULT __stdcall get_GetStringHeight ( BSTR string, float * pVal ) = 0; virtual HRESULT __stdcall get_PrPgWidth ( float * pVal ) = 0; virtual HRESULT __stdcall get_PrPgHeight ( float * pVal ) = 0; virtual HRESULT __stdcall get_PrOrientation ( long * pVal ) = 0; virtual HRESULT __stdcall put_PrOrientation ( long pVal ) = 0; virtual HRESULT __stdcall get_PrLeftMargin ( float * pVal ) = 0; virtual HRESULT __stdcall put_PrLeftMargin ( float pVal ) = 0; virtual HRESULT __stdcall get_PrTopMargin ( float * pVal ) = 0; virtual HRESULT __stdcall put_PrTopMargin ( float pVal ) = 0; virtual HRESULT __stdcall get_PrRightMargin ( float * pVal ) = 0; virtual HRESULT __stdcall put_PrRightMargin ( float pVal ) = 0; virtual HRESULT __stdcall get_PrBottomMargin ( float * pVal ) = 0; virtual HRESULT __stdcall put_PrBottomMargin ( float pVal ) = 0; virtual HRESULT __stdcall get_PrPaperSelection ( long * pVal ) = 0; virtual HRESULT __stdcall put_PrPaperSelection ( long pVal ) = 0; virtual HRESULT __stdcall get_PrPrintQuality ( long * pVal ) = 0; virtual HRESULT __stdcall put_PrPrintQuality ( long pVal ) = 0; virtual HRESULT __stdcall PrSetDefaults ( ) = 0; virtual HRESULT __stdcall get_StatusCheck ( long * pVal ) = 0; virtual HRESULT __stdcall put_SetErrorLevel ( long _arg1 ) = 0; virtual HRESULT __stdcall PrDialogBox ( long Operation, long * Status ) = 0; virtual HRESULT __stdcall PrDialogBoxText ( BSTR MainText, BSTR TitleText, BSTR CancelBtnText ) = 0; virtual HRESULT __stdcall ConvertCoord ( float val, long fromscalemode, long toscalemode, float * pVal ) = 0; virtual HRESULT __stdcall get_GetVersion ( long * pVal ) = 0; virtual HRESULT __stdcall get_About ( BSTR * pVal ) = 0; virtual HRESULT __stdcall Init ( BSTR RegID, long * pSuccess ) = 0; virtual HRESULT __stdcall get_Capabilities ( long * pVal ) = 0; virtual HRESULT __stdcall put_SetReportLevel ( long _arg1 ) = 0; virtual HRESULT __stdcall SetupPrinter ( long Printer, long Port, long Baudrate, long * pSuccess ) = 0; virtual HRESULT __stdcall SetupPaper ( long PaperSize, long Orientation, float PaperWidth, float PaperHeight, float LeftMgn, float TopMgn, float RightMgn, float BottomMgn, long * pSuccess ) = 0; virtual HRESULT __stdcall SetupPrinterOther ( long FFSetting, float FFScroll, long Density, long Handshake, long AutoSpeed, long Compressed, long Dither, long DraftMode, long * pSuccess ) = 0; virtual HRESULT __stdcall SetupNetPath ( BSTR NetPath, long * pSuccess ) = 0; }; struct __declspec(uuid("3aba8790-3940-11d3-90ff-00a0cc275e38")) BarcodeCE; // [ default ] interface IBarcodeCE struct __declspec(uuid("25ed2f20-3940-11d3-90ff-00a0cc275e38")) IBarcodeCE : IDispatch { // // Raw methods provided by interface // virtual HRESULT __stdcall DrawPostnet ( BSTR bcstr, float x, float y, long withtext, float * wd ) = 0; virtual HRESULT __stdcall Draw2of5 ( BSTR bcstr, float x, float y, long withtext, long type2of5, long fit, float * wd ) = 0; virtual HRESULT __stdcall DrawCode39 ( BSTR bcstr, float x, float y, long withtext, long type39, long fit, long extended, float * wd ) = 0; virtual HRESULT __stdcall DrawCodabar ( BSTR bcstr, float x, float y, long withtext, long typecodabar, long fit, float * wd ) = 0; virtual HRESULT __stdcall DrawCode128 ( BSTR bcstr, float x, float y, long withtext, long type128, long fit, float * wd ) = 0; virtual HRESULT __stdcall DrawCode93 ( BSTR bcstr, float x, float y, long withtext, long fit, long extended, float * wd ) = 0; virtual HRESULT __stdcall DrawMSI ( BSTR bcstr, float x, float y, long withtext, long typeMSI, long fit, float * wd ) = 0; virtual HRESULT __stdcall DrawUPC ( BSTR leftstr, BSTR rightstr, BSTR xtrastr, float x, float y, long withtext, long typeUPC, long UPCsystem, long fit, float * wd ) = 0; virtual HRESULT __stdcall get_BarCodeHeight ( long BarcodeType, long withtext, float * pVal ) = 0; }; struct __declspec(uuid("77821295-e7c0-4bc9-a456-90af9e8b8000")) AsciiCE; // [ default ] interface IAsciiCE struct __declspec(uuid("4e353865-cee3-4044-8787-c6beb4294bf4")) IAsciiCE : IDispatch { // // Raw methods provided by interface // virtual HRESULT __stdcall CrLf ( ) = 0; virtual HRESULT __stdcall Char ( long ch ) = 0; virtual HRESULT __stdcall RepeatChar ( long ch, long repeatcnt ) = 0; virtual HRESULT __stdcall FormFeed ( ) = 0; virtual HRESULT __stdcall SelectPort ( long Port, long Baudrate, long Handshake, long * ErrVal ) = 0; virtual HRESULT __stdcall Init ( BSTR RegID, long * pSuccess ) = 0; virtual HRESULT __stdcall ClosePort ( ) = 0; virtual HRESULT __stdcall Text ( BSTR TextString ) = 0; virtual HRESULT __stdcall get_Capabilities ( long * pVal ) = 0; }; struct __declspec(uuid("c37aea60-a7ca-40be-a2e6-935eb3993bbe")) AsciiCE2; // [ default ] interface IAsciiCE2 struct __declspec(uuid("bf03f317-6033-4e3e-89d8-d7cc62d47d6b")) IAsciiCE2 : IDispatch { // // Raw methods provided by interface // virtual HRESULT __stdcall CrLf ( ) = 0; virtual HRESULT __stdcall Char ( long ch ) = 0; virtual HRESULT __stdcall RepeatChar ( long ch, long repeatcnt ) = 0; virtual HRESULT __stdcall FormFeed ( ) = 0; virtual HRESULT __stdcall SelectPort ( long Port, long Baudrate, long Handshake, long * ErrVal ) = 0; virtual HRESULT __stdcall Init ( BSTR RegID, long * pSuccess ) = 0; virtual HRESULT __stdcall ClosePort ( ) = 0; virtual HRESULT __stdcall Text ( BSTR TextString ) = 0; virtual HRESULT __stdcall get_Capabilities ( long * pVal ) = 0; virtual HRESULT __stdcall get_Peek ( long * pVal ) = 0; virtual HRESULT __stdcall get_StatusCheck ( long * pVal ) = 0; virtual HRESULT __stdcall put_SetErrorLevel ( long _arg1 ) = 0; virtual HRESULT __stdcall put_SetReportLevel ( long _arg1 ) = 0; virtual HRESULT __stdcall get_GetVersion ( long * pVal ) = 0; virtual HRESULT __stdcall get_About ( BSTR * pVal ) = 0; virtual HRESULT __stdcall PrDialogBox ( long Operation, long * Status ) = 0; virtual HRESULT __stdcall PrDialogBoxText ( BSTR MainText, BSTR TitleText, BSTR CancelBtnText ) = 0; virtual HRESULT __stdcall SelectPortEx ( long Port, long Baudrate, long Handshake, long ReadBufferSize, long * ErrVal ) = 0; virtual HRESULT __stdcall ReadChar ( short * bval ) = 0; virtual HRESULT __stdcall ReadString ( long nMaxChars, long nLastChar, long nModeFlags, long nTimeToWait, long * lpResultFlags, long * lpCharsRead, BSTR * lpString ) = 0; virtual HRESULT __stdcall Read ( long nMaxBytes, long nLastChar, long nModeFlags, long nTimeToWait, long * lpResultFlags, long * lpBytesRead, unsigned char * lpBuffer ) = 0; virtual HRESULT __stdcall ReadVar ( long nMaxBytes, long nLastChar, long nModeFlags, long nTimeToWait, VARIANT * lpResultFlags, VARIANT * lpBytesRead, VARIANT * lpBuffer ) = 0; virtual HRESULT __stdcall ReadStringVar ( long nMaxChars, long nLastChar, long nModeFlags, long nTimeToWait, VARIANT * lpResultFlags, VARIANT * lpCharsRead, BSTR * lpString ) = 0; virtual HRESULT __stdcall Write ( unsigned char * lpBuffer, long nNumberOfBytesToWrite, long * lpNumberOfBytesWritten ) = 0; virtual HRESULT __stdcall WriteVar ( VARIANT * lpBuffer, long nNumberOfBytesToWrite, VARIANT * lpNumberOfBytesWritten ) = 0; }; #pragma pack(pop)