The text of a manual · part 17 of 29
MK1200 MicroKiosk for CE .NET 4.2 Product Reference Guide: System Features, pages 129 to 136
Pages 129 to 136 of 232, from MK1200 MicroKiosk for CE .NET 4.2 Product Reference Guide
The original document is the PDF (5.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol MK-1200
Page 129
System Features
Button Remapping - Keycode Values Use the keycode values in Table 7-6 to remap buttons. Table 7-6 Keycode Values
Button Values Function
Value
Function
Value
BACK
0x08
COMMA
0xBC
TAB
0x09
HYPHEN
0xBD
CLEAR
0x0C
PERIOD
0xBE
RETURN
0x0D
SLASH
0xBF
SHIFT
0x10
BACKQUOTE
0xC0
CONTROL
0x11
F1
0x70
ALT
0x12
F2
0x71
CAPITAL
0x14
F3
0x72
ESCAPE
0x1B
F4
0x73
SPACE
0x20
F5
0x74
PRIOR
0x21
F6
0x75
NEXT
0x22
F7
0x76
END
0x23
F8
0x77
HOME
0x24
F9
0x78
LEFT
0x25
F10
0x79
UP
0x26
F11
0x7A
RIGHT
0x27
F12
0x7B
DOWN
0x28
0 thru 9 are the same as ASCII '0' thru '9'
0x30 – 0x39
MULTIPLY
0x6A
A thru Z are the same as ASCII 'A' thru 'Z'
0x41 - 0x5A
ADD
0x6B
SHIFT-TAB
0xC2
SEPARATOR
0x6C
ALT-DOWN
0xC3
SUBTRACT
0x6D
CALIBRATION
0xC4
DECIMAL
0x6E
SYSTEM MENU
0xC5
DIVIDE
0x6F
SIGNAL STRENGTH
0xC6
SEMICOLON
0xBA
TOGGLE SOFTWARE INPUT PANEL (SIP)
0xC7
EQUAL
0xBB
7-9
Page 130
7 - 10 MK1200 MicroKiosk for CE .NET 4.2 Product Reference Guide
Network Time Update: SNTP Client The MK1200 Simple Network Time Protocol (SNTP) client can automatically set and update the MK1200 time and date through the network. Use this feature to set the system time and date after reboots or power outages. This feature also ensures consistent time and date stamping across a fleet of MK1200s. The SNTP Client program queries the specified SNTP server over the network to set the time and date. The SNTP client shipped with MK1200 WinCE 4.20 is the Microsoft default SNTP Client program. (This is a change from the WinCE 4.1 operating system, which had a custom SNTP client). MK1200 allows changing four parameters of the SNTP Client. See Network Time Update on page 3-12.
Memory Management Flash: Nonvolatile (Persistent) Memory The MK1200 has 32 MB of available nonvolatile flash memory. 3.25 MB is committed for platform partition use to install external driver packs such as RF drivers. 7.75 MB is available for developer’s applications within the application partition (folder). The data stored in flash memory persists through cold boot cycles. To increase usable persistent (flash) memory, use TCM to adjust the allocation of memory between the application and platform partitions. Add a PC card to the MK1200 to increase the non-volatile memory available for file storage.
RAM: Volatile (Non-Persistent) Memory The MK1200 has 32 MB of DRAM volatile memory. Developers can automate control of the device’s RAM (volatile) memory allocation (storage vs. memory used to run programs) to persist memory allocation settings through cold boot cycles. Use the Symbol RDM or the System Menu to permanently configure RAM memory allocations (memory used to run programs). (System Configuration > Memory Allocation > SystemStorePercent). NOTE
The RDM/System Menu can only configure unused RAM.
Page 131
System Features 7 - 11
FTP Server The MK1200 supports the minimum implementation of the FTP server defined in RFC 959, which includes configuration values, transfer parameters, and supports only ASCII and image data types. NOTE
You cannot use FTP to update partitions.
CAUTION
Never enable the server in anonymous mode if the MK1200 is accessible from the internet.
The FTP server is enabled by default. Use the RDM utility FTP Server feature (Update/FTP Server) to set up the FTP server. See page 3-19.
FTP Server Registry Parameters • Allow Anonymous - This parameter determines whether to provide anonymous access to users for copying data from MK1200. When enabled, users do not need an account on the local machine.
• Allow Anonymous Upload - Use this parameter to enable/disable anonymous users to copy data to the MK1200.
• FTP Enable Part I - This parameter determines whether the FTP server is loaded/accessible when the MicroKiosk is powered on. Disabling this does not affect the RDM’s ability to load or retrieve mkconfig.reg files using the Push Configuration File and Retrieve Remote Configuration File options respectively.
• FTP Enable Part II - Enabling this parameter allows the RDM to load/retrieve a mkconfig.reg file even if the MicroKiosk FTP server is disabled (FTP Enable Part I = disabled). If both FTP Enable Part I and FTP Enable Part II parameters are disabled, you cannot load the mkconfig.reg file remotely using the RDM or FTP. However, you can load the mkconfig.reg file locally using an ActiveSync connection or a PC card.
• Root Directory - Use this parameter to set the root directory, which could be accessed remotely. If you do not specify the root directory, the default \Temp is set.
• Use Authentication - Use this parameter to enable/disable authorization to connect to the server. If enabled, a valid user account on the local machine is required and the correct ID and password for the account must be specified to the server.
• User Authentication Domain - Valid Windows domain to look for users that are allowed to access FTP service. The FTP server authenticates user password from this Domain Controller.
• User List - Use this parameter when the Use Authentication parameter is enabled to set the list of users that are able to access the FTP server.
Page 132
7 - 12 MK1200 MicroKiosk for CE .NET 4.2 Product Reference Guide
AirBEAM The following AirBEAM parameters are not viewable on the MK1200’s AirBEAM screens:
• Configure/Misc(1): WNMS (Default = WNMS disabled) • Configure/Misc(2): Close Apps (default = Close Apps enabled) Use registry settings to configure these parameters.
Inactivity Application (Screen Saver) The Inactivity Application Manager (IAM) is the screen saver engine for the MK1200. It launches and terminates the screen saver at appropriate times but does not provide the screen saver images. Use one of the provided applications, or create an application. Use the RDM utility Inactivity Manager feature to configure the IAM (System Configuration > Inactivity Manager). See Inactivity Manager on page 3-22. The screen saver exits if any of the following events occur:
• bar code scan • pen tap • button press • MSR swipe. Note that using a bar code scan or an MSR swipe to exit the screen saver also passes this data to the application using an ActiveX object, while using a pen tap or button press to wake the device does not pass any additional information to other applications.
SimpleSaver The SimpleSaver program is the default IAM application, and clears the screen to white and repeatedly displays the following message at different locations on the screen: Perform some action to wake me up! This provides a simple example of how to implement a custom application, and is not intended as a final presentation tool. The SMDKs provide source code.
SlideShow The SlideShow screen saver program endlessly displays a group of graphics files (slides) one at a time. The program supports the following file extensions:
• JPG • GIF • BMP • 2BP.
Page 133
System Features 7 - 13
The program uses the following registry entries under the [HKEY_LOCAL_MACHINE\Software\Symbol\SlideShow] key:
• Directory - A string value specifying the directory containing the graphic files. Only one directory is supported.
• Delay - A DWORD value indicating the number of seconds to display each graphic. If not specified, the default is 5 seconds. The minimum duration is 2 seconds.
• Background - A DWORD value specifying the background color to use around graphics that are smaller than the screen size. If not specified, the default background is black. Set these values using the RDM. The program does not accept command line parameters. Once the program has read the registry entries, it reads a file named SlideShow.txt from the graphics directory. This file should contain one file name per line. These file names should not include a path and must exist within the graphics directory. The files appear in the order specified. If the SlideShow.txt file is not present, the program scans the graphics directory for all files with the appropriate file name extensions and displays these files in a sequence determined by the file system. If a slide is smaller than the screen size, it is centered on the screen and the background color appears around the slide. If a slide is larger than the screen size, it is scaled to fit on the screen. This can result in an undesirable effect if the slide is not proportional to the screen size. For best results, use slides that are the same size as the screen. Source code is provided in the SMDKs.
Browser Applications - Hiding Toolbars The MK1200 ships running the standard browser (iesample.exe), which leaves the Windows® CE start bar and the Internet Explorer toolbar accessible. To run a browser application with no toolbars (Windows CE® start bar and Internet Explorer toobar), use KioskIE.exe. To start the browser application using KioskIE.exe without toolbars, use the RDM. First, within the RDM, configure the “first application launched” for KioskIE.exe, using the path: system configuration/user app(s)/First application launched/application path Enter \windows\KioskIE.exe in the application path field. Second, set the start page for the browser. The path to the start page is: applications/Internet Explorer/[start page] Then enter the start page URL. NOTE
If using wireless connectivity and the start page is stored within the network, set a delay of about 10 seconds before KioskIE.exe launches to allow time for the MK1200 to establish the wireless connection. See Configuring User Application(s) on page 3-18.
For sample source code that demonstrates hiding browser toolbars and the Windows® CE start bar from a browser application, refer to the MK1100_WebKSS_Install+SourceCode.doc file, which is part of the Web Kiosk Software Suite (see page 6-3).
Page 134
7 - 14 MK1200 MicroKiosk for CE .NET 4.2 Product Reference Guide
Browser Applications - Handling Network Disconnects The KioskIE.exe browser can redirect to a custom Error Recovery Page if it detects an Internet Explorer error page (like a error 404). Since the errors are likely to occur during network outages, Symbol recommends using locally stored files to drive the custom error recovery page. Once directed to a local URL, a customer friendly message appears while script code retries to connect.
• Specify the on-board error recovery page to appear in Applications > Kiosk IE > ErrorRecoveryPage. See ErrorRecoveryPage on page 3-7.
• The device includes a sample page in \Windows\RetryPage.html.
Configuring Error Page Redirection KioskIE includes an Error Page Redirection feature that defines specific HTML code as errors and allows the KioskIE to navigate to an on-board error recovery page. For this purpose the .reg file KioskIE_ErrorPageList.reg is added to either the Platform or Application folder. The .reg file includes the following entries: [HKEY_CURRENT_USER\Software\Symbol\IEBrowser] "PageErrorList"=hex(7):\ 54,68,65,20,70,61,67,65,20,63,61,6e,6e,6f,74,20,62,65,20,66,6f,75,6e,64,00,\ 43,61,6e,6e,6f,74,20,66,69,6e,64,20,73,65,72,76,65,72,00,\ 46,6f,72,63,65,20,45,72,72,6f,72,00,00,00,00 These entries correspond to the following common errors reported by most Web servers:
• Line 1: The page cannot be found. • Line 2: Cannot find server. • Line 3: Force error. To add a new error page, append the title of the error page to the registry entry above. The entry is stated in the hex value of the corresponding ASCII characters in the title of the error page. For example, to add an error page titled "AAA BBBB CCCCC" to the error pages shown above, append the registry entry for the new error page as ‘line 4’, shown below. [HKEY_CURRENT_USER\Software\Symbol\IEBrowser] "PageErrorList"=hex(7):\ 54,68,65,20,70,61,67,65,20,63,61,6e,6e,6f,74,20,62,65,20,66,6f,75,6e,64,00,\ 43,61,6e,6e,6f,74,20,66,69,6e,64,20,73,65,72,76,65,72,00,\ 46,6f,72,63,65,20,45,72,72,6f,72,00,\ 41,41,41,20,42,42,42,42,20,43,43,43,43,43,00,00,00,00
Page 135
System Features 7 - 15
Loading Additional Fonts on the MK1200 You can program the MK1200 to support additional fonts such as Unicode and double-byte character font. The MK1200 supports the following system fonts as shipped from the factory. The font files corresponding to these formats are located in the \windows folder with .ttf extension.
• Arial • Courier New • Symbol • Tahoma • Times New Roman • Verdana • Wingding. The default system font path for these fonts is \windows. Use one of the following options to load fonts not supplied with the MK1200:
• Change the system font path where the system looks for fonts. For example, to change default system font path from \windows to \application\fonts add the following registry to the system along with new fonts in \application\fonts: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath] "FontPath"="\application\fonts" Adding this registry changes the entire system fonts directory, so fonts supplied with the OS are no longer available. To use both the provided system fonts and new fonts, copy the system default fonts to the new font directory.
• Copy new/alternate fonts to the default \windows directory. • Copy alternate fonts to the \windows\fonts directory. Copying new fonts to the \windows or \windows\fonts preserves existing fonts. However the new fonts consume system RAM as they are part of the ObjectStore. Using the third option, i.e., copying fonts to the \windows\fonts directory, makes it easier to manage the system. Note that fonts copied to \windows or \windows\fonts do not persist over power cycles or cold boots. Use the copy file feature to persist them over power cycles or cold boots.
Using Additional Fonts in Native Applications Any application written in EVC can use the additional fonts using either MFC or Win32 APIs. If a specified font is missing, the system uses an available font for display.
Using Additional Fonts in Managed Applications All fonts installed in the system are available to the .Net Compact Framework during runtime.
Page 136
7 - 16 MK1200 MicroKiosk for CE .NET 4.2 Product Reference Guide
Using Additional Fonts in Browser Applications Regardless of how you installed the font in the system, to reference it using a browser page, specify the font as a STYLE, or use FONT tags. Use intuitive names for the fonts (use FontViewer on a Windows desktop and locate the Typeface Name line), and use quotes to enclose names with spaces. If the specified font is missing, Internet Explorer uses its default font to display the text.
Things to Consider when Using Additional Fonts • Different font styles (e.g., bold and italic) often require separate TTF files; be sure to provide all required styles. Do not reference styles by name (e.g., Arial Bold); set the style separately from the font (e.g., using a “b” or “strong” tag, or a style).
• For best results, do not direct the system font path to a storage card (PCMCIA or Compact Flash), as this can negatively impact system performance. If this method is necessary, test the use of a storage card thoroughly for fonts to ensure proper operation.
• Most Web pages contain information that tells the browser what language encoding (the language and character set) to use. If the page does not include that information, and the Language Encoding Auto-Select feature is on, Internet Explorer can usually determine the appropriate language encoding. If not, manually select it using View > Encoding > More, then select the appropriate language. NOTE
If the Auto-Select feature or a specific language pack is not installed, Internet Explorer prompts you to download the files. Adding languages does not guarantee Web pages display in the preferred language.