Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

display.h

00001 /* @(#)02       1.3  src/include/pos/display.h, apicode, ptux1.2.0, 20 5/16/01 18:30:53 */
00002 
00003 
00004 /********************************************************************/
00005 /*  <display.h> header file                                         */
00006 /*                                                                  */
00007 /*  Licensed Materials - Property of IBM                            */
00008 /*                                                                  */
00009 /*  IBM Point of Sale Subsystem                                     */
00010 /*  73G0950 (C) Copyright IBM Corporation 1992, 2000                */
00011 /*  All rights reserved                                             */
00012 /*                                                                  */
00013 /*  US Government Users Restricted Rights -                         */
00014 /*  Use, duplication, or disclosure restricted                      */
00015 /*  by GSA ADP Schedule Contract with IBM Corp.                     */
00016 /*                                                                  */
00017 /********************************************************************/
00018 
00019 #ifndef _H_POS_DISPLAY
00020 #define _H_POS_DISPLAY 1
00021 
00022 /********************************************************************/
00023 /* Values for the SUBTYPE field of ONLINE and OFFLINE messages.     */
00024 /********************************************************************/
00025 
00026 #define PosDSP_SUBTYPE_2X20_LCD                 0x01  // Documented LCD DevID
00027 #define PosDSP_SUBTYPE_2X20_LCD_I               0x03  // Observed LCD DevID
00028 #define PosDSP_SUBTYPE_2X20_VFD                 0x06
00029 #define PosDSP_SUBTYPE_2_SIDE_VFD               0x07
00030 #define PosDSP_SUBTYPE_2X20_LCVFD               0xF6  // These are made up since they
00031 #define PosDSP_SUBTYPE_2_SIDE_LCVFD             0xF7  // won't change the DevIDs...
00032 #define PosDSP_SUBTYPE_APA_JAPAN                0x11
00033 #define PosDSP_SUBTYPE_APA_KOREA                0x12
00034 #define PosDSP_SUBTYPE_APA_TRAD_CHINESE         0x13
00035 #define PosDSP_SUBTYPE_APA_SIMP_CHINESE         0x14
00036 
00037 
00038 /*****************************/
00039 /* PosDisplay resource names */
00040 /*****************************/
00041 
00042 #define PosNdisplayCursor               "displayCursor"
00043 #define PosNdisplayCodePage             "displayCodePage"
00044 #define PosNdisplayLightsOn             "displayLightsOn"
00045 #define PosNpixelX                      "pixelX"
00046 #define PosNpixelY                      "pixelY"
00047 #define PosNcharSize                    "charSize"
00048 #define PosNdisplayMode                 "displayMode"
00049 #define PosNdisplayUpsideDown           "displayUpsideDown"
00050 
00051 
00052 
00053 /*******************************/
00054 /* PosDisplay resource classes */
00055 /*******************************/
00056 
00057 #define PosCDisplayCursor               "DisplayCursor"
00058 #define PosCDisplayCodePage             "DisplayCodePage"
00059 #define PosCDisplayLightsOn             "DisplayLightsOn"
00060 #define PosCPixelX                      "PixelX"
00061 #define PosCPixelY                      "PixelY"
00062 #define PosCCharSize                    "CharSize"
00063 #define PosCDisplayMode                 "DisplayMode"
00064 #define PosCDisplayUpsideDown           "DisplayUpsideDown"
00065 
00066 /*******************************/
00067 /* APA display constants       */
00068 /*******************************/
00069 
00070 #define PosDSP_MODE_NORMAL              0x00
00071 #define PosDSP_MODE_LOGO                0x01
00072 #define PosDSP_MODE_APA                 0x02
00073 
00074 #define PosDSP_MODE_SBCS                PosDSP_MODE_NORMAL
00075 
00076 #define PosDSP_CHAR_2x20                0x00
00077 #define PosDSP_CHAR_3x32                0x01
00078 
00079 
00080 #define PosDSP_RIGHT_SIDE_UP            0x00
00081 #define PosDSP_UPSIDE_DOWN              0x01
00082 
00083 /*******************************************/
00084 /* PosNdisplayCodePage resource constants  */
00085 /*******************************************/
00086 
00087 #define PosDSP_CP_US_EUROPE             0x00
00088 #define PosDSP_CP_KATAKANA              0x01
00089 #define PosDSP_CP_MULTILINGUAL_INTL     0x02      /* CP850 */
00090 #define PosDSP_CP_HUNGARY               0x03      /* CP852 */
00091 #define PosDSP_CP_CYRILLIC              0x04      /* CP855 */
00092 #define PosDSP_CP_TURKEY                0x05      /* CP857 */
00093 #define PosDSP_CP_ISRAEL                0x06      /* CP862 */
00094 #define PosDSP_CP_CANADIAN_FRENCH       0x07      /* CP863 */
00095 #define PosDSP_CP_ARABIC                0x08      /* CP864 */
00096 #define PosDSP_CP_NORDIC                0x09      /* CP865 */
00097 #define PosDSP_CP_CYRILLIC_RUSSIA       0x0A      /* CP866 */
00098 #define PosDSP_CP_GREECE                0x0B      /* CP869 */
00099 #define PosDSP_CP_JAPANESE              0x80      /* CP301 */
00100 #define PosDSP_CP_KOREA                 0x90      /* CP951 */
00101 #define PosDSP_CP_TRAD_CHINESE          0xA0      /* CP950 */
00102 #define PosDSP_CP_SIMP_CHINESE          0xB0      /* CP1381 */
00103 
00104 #endif   /* _H_POS_DISPLAY */

 

L.A.B. Project © 2001-2004 LAB Project & DJ Anubis