ImagePrint/ImagePrintEngine/DeviceProtocols/btprotocol/data/btprotocol.rss
branchRCL_3
changeset 21 d59c248c9d36
parent 0 d11fb78c4374
equal deleted inserted replaced
20:159fc2f68139 21:d59c248c9d36
       
     1 /*
       
     2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "imageprint.rh"
       
    20 #include "printcapabilitycodes.h"
       
    21 
       
    22 enum PrinterClass  // should come from ImgPrintKonst.h
       
    23 {
       
    24 	EDefault = 0,
       
    25 	EBigAdaptive = 1,
       
    26 	ESmallAdaptive = 2,
       
    27 	EDesk = 3,
       
    28 	EOPP = 4,
       
    29 	ELinked = 99
       
    30 };
       
    31 
       
    32 RESOURCE RS_CAPABILITIES bt_Capabilities
       
    33 {
       
    34 	capabilities =
       
    35 	{
       
    36 		RS_CAPABILITY
       
    37 		{
       
    38 			printerclass=EDefault;
       
    39 			capabilityid=EPrintCapabPaperSize;
       
    40 			type=1;
       
    41 			defaultvalue=EPrintCapabPaperSize4x6;
       
    42 			low=0;
       
    43 			high=0;
       
    44 			enumcodes={
       
    45 				EPrintCapabPaperSizeLetter,1,
       
    46 				EPrintCapabPaperSizeA4,1,
       
    47 				EPrintCapabPaperSize5x7,4,
       
    48 				EPrintCapabPaperSizeA6,4,
       
    49 				EPrintCapabPaperSize4x6,4,
       
    50 				EPrintCapabPaperSizeSticker,5
       
    51 				};
       
    52 			linkid=0;
       
    53 		},
       
    54 		RS_CAPABILITY
       
    55 		{
       
    56 			printerclass=EBigAdaptive;
       
    57 			capabilityid=EPrintCapabPaperSize;
       
    58 			type=1;
       
    59 			defaultvalue=EPrintCapabPaperSize4x6;
       
    60 			low=0;
       
    61 			high=0;
       
    62 			enumcodes={
       
    63 				EPrintCapabPaperSizeLetter,1,
       
    64 				EPrintCapabPaperSizeA4,1,
       
    65 				EPrintCapabPaperSize5x7,2,
       
    66 				EPrintCapabPaperSizeA6,2,
       
    67 				EPrintCapabPaperSize4x6,2,
       
    68 				EPrintCapabPaperSizeSticker,5
       
    69 				};
       
    70 			linkid=0;
       
    71 		},
       
    72 		RS_CAPABILITY
       
    73 		{
       
    74 			printerclass=ESmallAdaptive;
       
    75 			capabilityid=EPrintCapabPaperSize;
       
    76 			type=1;
       
    77 			defaultvalue=EPrintCapabPaperSize4x6;
       
    78 			low=0;
       
    79 			high=0;
       
    80 			enumcodes={
       
    81 				EPrintCapabPaperSizeA6,2,
       
    82 				EPrintCapabPaperSize4x6,2,
       
    83 				EPrintCapabPaperSizeSticker,5
       
    84 				};
       
    85 			linkid=0;
       
    86 		},
       
    87 		RS_CAPABILITY
       
    88 		{
       
    89 			printerclass=EDesk;
       
    90 			capabilityid=EPrintCapabPaperSize;
       
    91 			type=1;
       
    92 			defaultvalue=EPrintCapabPaperSize4x6;
       
    93 			low=0;
       
    94 			high=0;
       
    95 			enumcodes={
       
    96 				EPrintCapabPaperSizeLetter,1,
       
    97 				EPrintCapabPaperSizeA4,1,
       
    98 				EPrintCapabPaperSize5x7,4,
       
    99 				EPrintCapabPaperSizeA6,3,
       
   100 				EPrintCapabPaperSize4x6,3,
       
   101 				EPrintCapabPaperSizeSticker,5
       
   102 				};
       
   103 			linkid=0;
       
   104 		},
       
   105 		RS_CAPABILITY
       
   106 		{
       
   107 			printerclass=ELinked;
       
   108 			capabilityid=EPrintCapabLayout;
       
   109 			type=1;
       
   110 			defaultvalue=EPrintCapabLayout1UpBorderless;
       
   111 			low=0;
       
   112 			high=0;
       
   113 			enumcodes={
       
   114 				EPrintCapabLayout1UpBorderless,0,
       
   115 				EPrintCapabLayout1Up,0,
       
   116 				EPrintCapabLayout2Up,0,
       
   117 				EPrintCapabLayout4Up,0,
       
   118 				EPrintCapabLayout12Up,0
       
   119 			};
       
   120 			linkid=1;
       
   121 		},
       
   122 		RS_CAPABILITY
       
   123 		{
       
   124 			printerclass=ELinked;
       
   125 			capabilityid=EPrintCapabLayout;
       
   126 			type=1;
       
   127 			defaultvalue=EPrintCapabLayout1UpBorderless;
       
   128 			low=0;
       
   129 			high=0;
       
   130 			enumcodes={
       
   131 				EPrintCapabLayout1UpBorderless,0,
       
   132 				EPrintCapabLayout1UpBorder,0,
       
   133 				EPrintCapabLayout2Up,0,
       
   134 				EPrintCapabLayout4Up,0,
       
   135 				EPrintCapabLayout12Up,0
       
   136 				};
       
   137 			linkid=2;
       
   138 		},
       
   139 		RS_CAPABILITY
       
   140 		{
       
   141 			printerclass=ELinked;
       
   142 			capabilityid=EPrintCapabLayout;
       
   143 			type=1;
       
   144 			defaultvalue=EPrintCapabLayout1UpBorderless;
       
   145 			low=0;
       
   146 			high=0;
       
   147 			enumcodes={
       
   148 				EPrintCapabLayout1UpBorderless,0,
       
   149 				EPrintCapabLayout1UpBorder,0,
       
   150 				EPrintCapabLayout12Up,0
       
   151 				};
       
   152 			linkid=3;
       
   153 		},
       
   154 		RS_CAPABILITY
       
   155 		{
       
   156 			printerclass=ELinked;
       
   157 			capabilityid=EPrintCapabLayout;
       
   158 			type=1;
       
   159 			defaultvalue=EPrintCapabLayout1UpBorderless;
       
   160 			low=0;
       
   161 			high=0;
       
   162 			enumcodes={
       
   163 				EPrintCapabLayout1UpBorderless,0,
       
   164 				EPrintCapabLayout1UpBorder,0,
       
   165 				EPrintCapabLayout2Up,0,
       
   166 				EPrintCapabLayout4Up,0,
       
   167 				EPrintCapabLayout12Up,0
       
   168 				};
       
   169 			linkid=4;
       
   170 		},
       
   171 		RS_CAPABILITY
       
   172 		{
       
   173 			printerclass=ELinked;
       
   174 			capabilityid=EPrintCapabLayout;
       
   175 			type=1;
       
   176 			defaultvalue=EPrintCapabLayout1UpStick;
       
   177 			low=0;
       
   178 			high=0;
       
   179 			enumcodes={
       
   180 				EPrintCapabLayout1UpStick,0,
       
   181 				EPrintCapabLayout4UpStick,0,
       
   182 				EPrintCapabLayout16UpStick,0
       
   183 				};
       
   184 			linkid=5;
       
   185 		},
       
   186 		RS_CAPABILITY
       
   187 		{
       
   188 			printerclass=ELinked;
       
   189 			capabilityid=EPrintCapabLayout;
       
   190 			type=1;
       
   191 			defaultvalue=EPrintCapabLayout1UpBorderless;
       
   192 			low=0;
       
   193 			high=0;
       
   194 			enumcodes={
       
   195 				EPrintCapabLayout1UpBorderless,0
       
   196 				};
       
   197 			linkid=10;
       
   198 		},
       
   199 		RS_CAPABILITY
       
   200 		{
       
   201 			printerclass=EOPP;
       
   202 			capabilityid=EPrintCapabPaperSize;
       
   203 			type=1;
       
   204 			defaultvalue=EPrintCapabPaperSizeAuto;
       
   205 			low=0;
       
   206 			high=0;
       
   207 			enumcodes={
       
   208 				EPrintCapabPaperSizeAuto,10
       
   209 				};
       
   210 			linkid=0;
       
   211 		}
       
   212 	};
       
   213 }
       
   214 
       
   215 //End of file