1 /*________________________________ epson-escpage-cmp.h ______________________________*/ 2 3 /* 1 2 3 4 5 6 7 8 */ 4 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/ 5 /*******************************************|********************************************/ 6 /* 7 * Copyright (c) 2010 Seiko Epson Corporation All rights reserved. 8 * 9 * Copyright protection claimed includes all forms and matters of 10 * copyrightable material and information now allowed by statutory or judicial 11 * law or hereinafter granted, including without limitation, material generated 12 * from the software programs which are displayed on the screen such as icons, 13 * screen display looks, etc. 14 * 15 */ 16 /*******************************************|********************************************/ 17 /* */ 18 /* Epson ESC/Page Compless Functions */ 19 /* */ 20 /*******************************************|********************************************/ 21 22 #ifndef _EPSON_ESCPAGE_COMP_H_ 23 #define _EPSON_ESCPAGE_COMP_H_ 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 28 /*------------------------------------ Includes -------------------------------------*/ 29 /*******************************************|********************************************/ 30 #include "epson-escpr-pvt.h" 31 32 /*----------------------------------- Definitions ------------------------------------*/ 33 /*******************************************|********************************************/ 34 /* Define Compress Mode Constant */ 35 #define EP_COMPRESS0 0 /* not commpress */ 36 #define EP_COMPRESS20 20 37 38 /*--------------------------- Data Structure Declarations ---------------------------*/ 39 /*******************************************|********************************************/ 40 typedef struct tagEPS_BITMAPINFO{ 41 EPS_INT32 biWidth; 42 EPS_INT32 biHeight; 43 EPS_UINT16 biBitCount; 44 } EPS_BITMAPINFO; 45 46 47 /*--------------------------- Public Function Declarations ---------------------------*/ 48 /*******************************************|********************************************/ 49 extern EPS_UINT8* CompressBitImage( 50 EPS_RECT *pRec, 51 EPS_BITMAPINFO *pBitMapInfo, 52 EPS_UINT8 *pRealBits, 53 EPS_UINT32 ulDataFormat, 54 EPS_UINT32 *pulCompressType, 55 EPS_UINT32 *pulImageSize 56 ); 57 58 59 #ifdef __cplusplus 60 } 61 #endif 62 63 #endif /* _EPSON_ESCPAGE_COMP_H_ */ 64 65 /*________________________________ epson-escpage-cmp.h ______________________________*/ 66 67 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/ 68 /* 1 2 3 4 5 6 7 8 */ 69 /*******************************************|********************************************/ 70 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ 71 /***** End of File *** End of File *** End of File *** End of File *** End of File ******/ 72 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ 73