background image

Castles Technology Co., Ltd.

 

Confidential • All Right Reserved. 

Pg. 

53

 

5. Font Management 

5.1.  Loading New Font 

  Run FontManager.exe 

 

Located at C:\Program Files\Castles\Font Manager 

 

  Select font to download 

 

 

 

 

 

 

 

Summary of Contents for UPT1000F

Page 1: ...00F Book 2 User Manual Confidential Version 1 2 Apr 2018 CASTLES TECHNOLOGY Castles Technology Co Ltd 6F No 207 5 Sec 3 Beixin Rd Xindian District New Taipei City 23143 Taiwan R O C http www castech c...

Page 2: ...is publication may be reproduced transmitted stored in a retrieval system nor translated into any human or computer language in any form or by any means electronic mechanical magnetic optical chemical...

Page 3: ...Confidential All Right Reserved Pg 3 Revision History Version Date Descriptions Author 1 0 May 25 2017 Initial creation Jeff 1 1 Dec 27 2017 Add the battery caution 7 1 Jeff 1 2 Apr 12 2018 Remove the...

Page 4: ...8 3 7 Factory Reset 20 3 8 Power Off 21 3 9 FK PWD Change 22 3 10 Share Object Management 23 3 11 Embedded TMS 24 3 12 Font Mng 25 3 13 Debug Tools 26 3 14 ULD Key Hash 27 3 15 HW Detect 28 3 16 Bluet...

Page 5: ...ed Pg 5 4 3 2 Download by Removable Media 44 4 4 Changing ULD User Key 46 5 Font Management 53 5 1 Loading New Font 53 5 2 Custom Font 56 5 3 Using TrueType Font TTF 64 6 Technical Notes 66 6 1 Serial...

Page 6: ...Right Reserved Pg 6 1 Introduction This document provides a guideline on operating and configuring Castles UPT1000F The scope of this document includes setting up the UPT1000F basic operation applica...

Page 7: ...Confidential All Right Reserved Pg 7 2 Hardware Setup 2 1 Parts of the UPT1000F Front 1 LCD Display Touch Panel 2 Smart Card Reader 3 Magnetic Stripe Reader 4 Contactless Card Landing Zone 5 MSR indi...

Page 8: ...ear 6 USB port 1 3 7 RS232 port 1 3 8 MDB power connector 9 BT antenna socket 10 GPRS antenna socket 11 LAN port 12 SAM Card Slots 1 4 13 GSM SIM Card Slots 1 2 2 2 Communication Support 1 Ethernet 2...

Page 9: ...t have keypad Therefore it needs to connect to PC for controlling Please follow the following steps to connect PC and UPT1000F Power on UPT1000F and connect COM Port 1 to PC Run the application progra...

Page 10: ...t an application and run the application view the application info delete the application or set application to the default one to run once the power is on Users may enter System Menu to configure UPT...

Page 11: ...Press button to page3 Page 3 Press button to page2 System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Test Utility 6 Factory Reset 7 Power Off System Menu 1 FK PWD Change 2 Share...

Page 12: ...AP Menu Select download source Press 1 button to select source as RS232 or USB connection and enter ULD download mode Press 2 button to select source as USB disk Press 3 button to select source as SD...

Page 13: ...LINUXKNL VR0024 ROOTFS VR0010 SYSTEM INFO KOVer SECURITY VR0025 KMS VR0027 DRV VR0046 USB N A CIF VR0025 SAM VR0034 SYSTEM INFO SO Ver3 GSM VR0029 BARCODE VR0013 TLS VR0014 CLVW VR0024 CTOSAPI VR0039...

Page 14: ...nd RAM information System Menu Press 3 button to enter Memory Status menu Memory Status Menu System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Test Utility 6 Factory Reset 7 Pow...

Page 15: ...able N to list all shared libraries in Program Manager Key MNG Mode TBC BATThreshld Battery charging threshold value Not support Null Cradle Enable Y if base is Type A cradle Not support Debug Mode En...

Page 16: ...de Not support System Menu Press 4 button to enter System Settings menu System Settings Menu Page 1 Page 2 Page 3 Page 4 System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Test U...

Page 17: ...tting Press OK button to change the setting value Press button to toggle Y N Y Press 1 button to previous page Press 2 button to next page SYS SETTINGS RTC Time Zone GMT NTP Enable N NTP Update Freq X...

Page 18: ...and OK to diagnose flash memory Press 4 and OK to diagnose smart card module Press 5 and OK to diagnose backlight Press 6 and OK to diagnose magnetic stripe card reader Press button to page 2 Page 2...

Page 19: ...to test Contactless Card Press button to page 1 Press button to page 3 Page 3 Press 13 and OK to execute SD Card Test Not support Press 14 and OK to test functionality of WiFi Press 15 and OK to test...

Page 20: ...n to enter Factory Reset menu Press OK Enter password and press OK Enter factory reset password Default password 8418 Start erasing and then go back to Program Manager System Menu 1 Download AP 2 Syst...

Page 21: ...ntial All Right Reserved Pg 21 3 8 Power Off Power off the machine System Menu Press 7 button to power off the machine System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Test Uti...

Page 22: ...password Enter new password again to confirm User must have to change the Default key to user own key at the first time The Default Key Value in Password Manager is as below Function Key 0000 PMEnter...

Page 23: ...stem Menu Page 2 Press 2 button to enter Share Object Management menu Share Object Management Menu Press 1 button to view shared libraries Press 2 button to view shared files Share objMng 1 Share LIB...

Page 24: ...r TMS setting menu CASTLES TMS Press 1 button to connect server Press 2 button to enter system config menu Press 3 button to reset config Press 4 button to set compatible config CASTLES TMS 1 Connect...

Page 25: ...ment System Menu Page 2 Press 4 button to view Font Management Font Management Press 1 button to view FNT Font list Press 2 button to view TTF Font list Font Mng 1 FNT File 2 TTF File System Menu 1 FK...

Page 26: ...g log System Menu Page 2 Press 5 button to enter Debug Tools menu Debug Tools Press 1 button to enter core dump menu Press 2 button to enter debug log menu Debug Tools 1 Core Dump 2 Debug Log System M...

Page 27: ...er key hash value System Menu Page 2 Press 6 button to view hash value USER ENV KEY DA9C91FE668DF4B6D637 CDBCCEC201444AA2C7FF USER SIGN KEY D52F36A1B569B5ABBA4F EAEFB34BEC000101D58C System Menu 1 FK P...

Page 28: ...un hardware detection System Menu Page 2 Press 7 button to run HW detection Press any key to reboot system HW TYPE Original HW TYPE EGCB New HW TYPE EGCB Please Any Key System Menu 1 FK PWD Change 2 S...

Page 29: ...oth config System Menu Page 2 Press 1 button to enter Bluetooth setting menu Bluetooth Setup Press 1 button to enter Handset BT Setup menu Press 2 button to enter Cradle CH Setup menu System Menu 1 Bl...

Page 30: ...Press 2 button to view Plug in Management Press or button to select item Press 1 button to get item information Press 2 button to delete item Plug in Mng 1 Bluetooth V9116 1 Info 2 Del System Menu 1...

Page 31: ...al All Right Reserved Pg 31 3 18 Key Injection Key Injection function Factory use only System Menu Page 3 Press 3 button to view Key Injection Key Injection Waiting for Command System Menu 1 Bluetooth...

Page 32: ...ufacturer Key Set ULD Manufacturer Key Encryption Key RSA ULD Manufacturer Signature Key RSA ULD User Key Set ULD User Key Encryption Key RSA ULD User Signature Key RSA For UPT1000F the RSA key length...

Page 33: ...cryption Block of the CAP by ULD Manufacturer Key Encryption Key not directly encrypted by ULD RSA Key 2 The sign action via ULD User Keys actually is done by the second encryption The second encrypti...

Page 34: ...of the CAP by ULD User Key Encryption Key not directly encrypted by ULD RSA Key Application Application CAPs ULD User Keys CAP Generator 4 1 3 Key Change The ULD RSA Keys are able to be changed The s...

Page 35: ...of kernel module in unsigned form This files required to sign with ULD User Key before it can load to UPT1000F Castles Technology provides a tool named CAP Signing Tool to perform this task The CAP Si...

Page 36: ...astles Technology Co Ltd Confidential All Right Reserved Pg 36 Enter Key Card PIN CAP Signing Tool is ready press Select MCI File button to browse the file Output file will be located in signed folder...

Page 37: ...and integrity The output file will be CAP file which format is defined by Castles User application User application data files User application library Font file Share library Share files System setti...

Page 38: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 38 Insert Key Card and select smart card reader Enter Key Card PIN...

Page 39: ...ology Co Ltd Confidential All Right Reserved Pg 39 CAP Generator is ready select the correct Type from the list Press Step 1 Select AP Executable File to select file to sign This is valid for all the...

Page 40: ...es to sign The output file will be in a set A mci file with one or more CAP files The CAP file contents the signed file binaries where MCI file contents the list of CAP files Note If user would like t...

Page 41: ...Technology It s the formal way to download file to UPT1000F User may implement their own ways of updating application or files using CTOS API provided CTOS_UpdateFromMMCI Castles TMS CTMS or CASTLES...

Page 42: ...ght Reserved Pg 42 Select COM port Browse and select mci file or mmci file Setup UPT1000F to enter download mode Press 0 button in Program Manager PM Press 1 button to select 1 Download AP Press 1 but...

Page 43: ...ll Right Reserved Pg 43 Press Download button to start Note To download using USB cable UPT1000F must enable CDC mode Set USB CDC Mode to Y SYS SETTINGS Key Sound Y Exec DFLT AP Y AP Name USB CDC Mode...

Page 44: ...nd don t put unwantedfile to removable media as it will increase the time during detection Create a folder name vxupdate under root directory Place the mci file and cap file to vxupdate folder Note If...

Page 45: ...00F and select the removable media type in Download AP menu Download AP Menu o Press 2 button to select USB flash drive o Press 3 button to select MicroSD card Not support Finally UPT1000F will proces...

Page 46: ...anging ULD User Key User may change their ULD User Key Set stored in Key Card Castles Technology provided a tool named Secure Key Generator to perform this task Run Secure Key Generator Insert Key Car...

Page 47: ...Co Ltd Confidential All Right Reserved Pg 47 To change Key Card PIN press Update PIN button If not please skip this steps Enter new PIN enter new PIN again to confirm then press Enter button to chang...

Page 48: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 48 To view current key set hash value goto Option and select key...

Page 49: ...d Confidential All Right Reserved Pg 49 To generate new user key set Please generate the RSA key by yourself thelengthof the RSA key set should be 2048 bits Copy RSA key components to RSA Key for Kenc...

Page 50: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 50 Generate second RSA key set for Signature...

Page 51: ...sh button to calculate the hash value for key sets Please copy down all the values into a text file and keep in a safe place You will need this if you need to create duplicate Key Card To generate the...

Page 52: ...l All Right Reserved Pg 52 The output file will be located in the Secure Key Generator folder To update the newly generated key set to Key Card press Save to Card button to write the key set to Key Ca...

Page 53: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 53 5 Font Management 5 1 Loading New Font Run FontManager exe Located at C Program Files Castles Font Manager Select font to download...

Page 54: ...s Technology Co Ltd Confidential All Right Reserved Pg 54 Press Setting button to configure the type Select VEGA5000 press Save button to save and return font manager Press Generate to create the font...

Page 55: ...Pg 55 Output file Font FNT will be located at sub directory named Font in Font Manager folder Sign the file using CAP Generator the type must set to 11 Linux Font Lastly download the signed file CAP...

Page 56: ...nting on UPT1000F There are two zone defined Zone 0x00 0x7F ASCII characters you may replace with the font type preferred or your own language character set Zone 0x80 0xFF Free to use you may use for...

Page 57: ...Reserved Pg 57 Select the font needed simply choose a font size The final value of font size should be determine by the minimum pixel width You may need to repeat this steps few times to find the best...

Page 58: ...ize is larger than expected then you have to repeat the previous steps to import font with smaller size Use the following buttons to adjust the font size to match with expected font size Add row on to...

Page 59: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 59 After adjust font size select File Export for MicroElektronika Select output format as mikroC...

Page 60: ...onfidential All Right Reserved Pg 60 Remove comment Code for char from offset 0x00 to 0x1F Remove empty line if found Then click Save button to save to file Run Font Manager Tool Click Setting button...

Page 61: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 61 Enter the file name font id and select the size Click Create button and select the C file previously created using GLCD Font Generator...

Page 62: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 62 Select Font Manager tab and tick the newly createdfont and press Generate button to export to FNT file...

Page 63: ...ss Step 2 to generate CAP file Download the font CAP file to UPT1000F In the application add following code to display message using the newly created font CTOS_LanguageConfig 0xA000 d_FONT_12x24 0 d_...

Page 64: ...e font to UPT1000F for displaying or printing Following steps demonstrate how to use Cooper Black TrueType font Copy the TTF file needed to an empty folder Use CAP Generator to convert the TTF file to...

Page 65: ...TTFSelect COOPBL TTF 0 CTOS_LCDFontSelectMode d_FONT_TTF_MODE CTOS_LCDTSelectFontSize 0x203C 32x60 CTOS_LCDTClearDisplay CTOS_LCDTPrintXY 1 1 Hello World Or print message using the newly added font CT...

Page 66: ...nology Co Ltd Confidential All Right Reserved Pg 66 6 Technical Notes 6 1 Serial Cable PIN Assignment RJ12 6P6C Male Plug RS232 Female 1 2 3 4 5 6 1 2 3 4 5 6 7 8 9 VCC TXD RTS RXD CTS GND VCC RXD TXD...

Page 67: ...ee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off...

Reviews: