========================================= Preh Download Utility C2K V4.0.41 Updated Package 20090731 ========================================= When using notepad you should activate "word wrap" for correct view of this file. 0. System Requirements ====================== Operating systems supported: Windows9x, WindowsNT, Windows 2000 / XP / Vista / Windows7 (32bit) 1. General ========== The C2K ("Copy to Keyboard") utility is for downloading a keytable (MWF or MWX file) into a PREH keyboard under Windows. To create a keytable please use the latest PREH WinProgrammer (or the PREH Programmer for DOS for old-style keyboards). 2. Installation =============== The latest Download Utility C2K is now always included in the WinProgrammer installation package. Therefore a separate installation of the C2K utility is usually not necessary. Stand-alone ZIP package C2K: If you want to deploy only the C2K utility (without installing the WinProgrammer package), you can use C2K.ZIP instead. Attention: In this case you must download and install the latest Preh DriverPack in addition to add the necessary driver support! 3. Usage ======== Start C2K.EXE for dialog supported download. For automatical download you can either drag a MWF or MWX file to the icon of C2K.EXE or use the C2K.INI settings. 3.1. Standard Functions ======================= First you have to select * the correct interface where your keyboard is connected and * filename Then those Functions are vailable Button Function ------- -------- Compile Converts MWF (WinProgrammer) file to a MWX (binary) file. Write... Write MWX (binary) file into the keyboard (download). Read... Read keyboard's content as MWX (binary) file (upload). Note: Basically the "Read..." button is hidden by default. To enable this function, you have to set the following line in c2k.ini: Upload = 1 3.2. Extended Functions (Version Info) ====================================== The About dialogue (double clicking on the PREH logo) displays the version info of all Preh DLLs. The button "Refresh" helps to check the communication with the keyboard. Button Function ------ -------- Refresh read out firmware version of the keyboard Create C2K log create a C2K.LOG file in the C2K directory 3.3. C2K.INI ============ In C2K.INI you can preselect some settings befor you start for C2K.EXE. Attention!!! C2K.INI need to be located in the same directory as C2K.EXE All settings are located in the section [Version3] or [C2K]. The old section structure will also be supported. File= The file to be used (MWX or MWF file). The selected filename will be shown in the filename entry of C2K.EXE. Autoload= If Autoload is set to '1' the selected filename (File = ) will be used for a automatical download. DefaultDir= With 'DefaultDir=' you can preselect the search directory for the browse button [...]. Interface= Preselects the Interface. Possible values are AT, COM1, COM2, COM3, COM4 and USB. If this setting is missing, the default interface from the registry is used. Upload= Enables/Disables the "Upload" function. Using the "Upload" function you can read out the keyboard's content as binary mwx file. Default: Upload=0, which means the button "Read..."/"Upload" is invisible. Example for C2K.INI: -------------------------------------------------------- [C2K] File = C:\preh\test.mwx Autoload = 0 Interface = AT Upload = 0 -------------------------------------------------------- 3.4 Command line parameters =========================== For batch scripts the following command line parameters can be used: /A Autoload /U USB Interface /P PS2 Interface Usage: c2k.exe /A "" Example: c2k /A /U "c:\test\myfile.mwx" 4. Uninstall ============ please refer to the Readme file for the Preh WinProgrammer. 5. Troubleshoting ================= 5.1 Please do not touch your Mouse and the keyboard during programming the keyboard. 5.2 When using PS/2 interface, always the first keyboard (directly connected to the computer) is programmed. PS/2 wedge scanners and also the internal keyboard of notebook computers can avoid proper communication PC->Preh keyboard. 5.3 You can check communication using the about dialogue of WinProgrammer/C2K: Press the button "Read version" or "Refresh" - the keyboard should then output some version string. 5.4 PS/2 Driver installation topics: a) Proper communication and download may be impossible when having special PS/2 mouse drivers installed. Please use the standard Microsoft PS/2 mouse driver instead. b) PS/2 driver for Windows NT4.0: The installation program (DriverPack) will then replace the keyboard driver file "i8042prt.sys" automatically. If the keytable download is not possible, please check if the Preh driver is active for supporting the download: \winnt\system32\drivers\I8042prt.sys date 05/07/97, size 35072 Bytes, Version 3.51. c) PS/2 driver for Windows 2000/XP/Vista: If the keytable download is not possible, please check if the Preh filter driver is active for supporting the download: Windows Device Manager -> Keyboard -> Hardware: "Preh PS/2 Keyboard" should be visible here. 6. Installed files ======================= C2k.exe 4.0.41.3 C2K Download Utility application C2k.ini Mwxc32.dll 4.0.41.4 Mwxi32.dll 4.0.41.3 MwxFunc.dll 4.0.40.0 MwxUsb.dll 4.10.4.0 Documentation: Readme_C2K_e.txt Readme_C2K_d.txt ====================================================================== Annex ====================================================================== Copyright © Copyright PrehKeyTec GmbH 2009 Published by PrehKeyTec GmbH. PrehKeyTec GmbH reserves the right to update or change the products described in this document as well as the document itself, without prior notice. This document may not be reproduced, processed or translated into electronic form or other languages without the prior written permission of PrehKeyTec GmbH. Trademarks Brands and product names mentioned in this document are trademarks or registered trademarks of their owner. e.g: Windows: Trademark of Microsoft Corporation Help and Support Any questions or suggestions to improve our products are welcome. Please contact our technical support team: support@prehkeytec.de PrehKeyTec GmbH Scheinbergweg 10 D-97638 Mellrichstadt Germany Email: support@prehkeytec.com Web: www.prehkeytec.com --- 2073/prehkeytec/July 31 2009