The text of a manual · part 27 of 36
Trakker Antares Application Development Tools System Manual: Part I - Trakker Antares PSK Reference Manual, pages 255 to 264
Pages 255 to 264 of 340, from Trakker Antares Application Development Tools System Manual
The original document is the PDF (1.6 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.
Filed in the catalog under the Intermec 2420, Intermec 2425, Intermec 2435 and Intermec 2481
Page 255
Appendix B, Microsoft Visual C/C++ Settings
2 In the Libraries field, type: oldnames, llibce, IMT24LIB
Directory Settings 1 From the Options menu, choose Directories. The Directories dialog box appears.
2 In the Include Files Path, make sure that the first file is \INTERMEC\IMT24\INCLUDE. 3 In the Include Files Path, make sure that the second file is \MSVC\INCLUDE. 4 In the Library Files Path, make sure that the first file is \INTERMEC\IMT24\LIB. 5 In the Library Files Path, make sure that the second file is \MSVC\LIB.
Trakker Antares PSK Reference Manual
235
Page 256
Appendix B, Microsoft Visual C/C++ Settings
236
Trakker Antares PSK Reference Manual
Page 257
I
Index
Trakker Antares PSK Reference Manual
237
Page 258
Index
Symbols and Numbers /AL in MAK file, 30 /FPa in MAK file, 30 /G0 in MAK file, 29 /Gs in MAK file, 30 242X terminal function, 158 2460/2461 terminals, functions not supported, 10, 55, 56, 99, 101, 122, 124, 125, 128, 131, 132, 133, 153, 155, 160, 163, 164, 165, 167, 198, 199, 200, 201, 202, 203, 207 248X terminal function, 89, 92, 156, 158 5.0, PSK software release compiler requirements, 4 what’s new, 2 8086/8088, project settings checklist, 27, 29 A about function descriptions, 46 alternate math, project settings checklist, 27 Application Simulator functions not simulated, 56, 66, 67, 94, 122, 128, 131, 132, 133, 151, 155, 159, 160 installing, 3 applications compatible JANUS PSK and Trakker Antares PSK functions, 35 converting JANUS PSK to Trakker Antares PSK, 40 converting Trakker Antares PSK to JANUS PSK, 37 converting using status code macros, 35 creating compatibility, 34 creating include file, 36 defining function values, 37 display modes, 40, 42 downloading through serial port, 31 downloading via Ethernet, 32 downloading via RF communications, 32 input modes, 43 project settings checklist, 27, 29 renaming functions, 37 timeout values, 44 Trakker Antares PSK and JANUS PSK differences, 34 viewport functions, 42 ASCII character set, 227 B bar code im_get_label_symbology, 80 im_get_label_symbologyid, 82 battery status, 51 Berkeley Software Distribution sockets, See BSD sockets BIN programs building, 26 Directories dialog box, 232 Linker Options dialog box, 232 project settings, 230 setting compiler options, 230, 231
238 setting linker options, 232 setting up the directories, 232 binary file, converting, 28 bind, 47 BMP file, displaying, 49 Borland Turbo C/C++ version requirements, 4 BSD sockets, 8 bind, 47 closesocket, 47 connect, 48 fcntlsocket, 50 im_get_IP_addr, 78 list of, 8 programming guidelines, 8 recv, 217 send, 218 socket, 219 socket types, 8 using the sockaddr_in structure, 8 buffer manipulation functions, certified, 16 build procedure BIN program, 27 converting .EXE to .BIN, 28 DOS .EXE program, 28 DOS command line, 29 sample .BIN program, 25 sample DOS .EXE program, 26 build settings checklist for .BIN programs, 27 for DOS .EXE programs, 29 building BIN programs, 26 DOS .EXE programs, 28 sample program, 25 C C/C++ version requirements, 4 Category list box Code Generation settings, 231, 233 Memory Model settings, 231, 234 certified Microsoft C functions, 15 CFLAGS switches, MAK file, 29 character functions, certified, 17 character set, ASCII, 227 checklist, project settings, 27, 29 clearing display, 52 close directory function, 52 closesocket, 47 Code Generation settings CPU field, 231, 234 Disable Stack Checking check box, 231, 234 Floating Point Calls field, 231, 234 Code Generation, Compiler Options dialog box, 230, 233 code generation, project settings checklist, 27, 29 command line build procedure, 29 communications functions about, 6 bind, 47
Trakker Antares PSK Reference Manual
Page 259
Index communications functions (continued) BSD sockets, 8 closesocket, 47 connect, 48 fcntlsocket, 50 im_flush_rcv_buffer, 65 im_get_IP_addr, 78 im_get_rcv_errors, 88 im_get_rx_status, 90 im_get_tx_status, 97 im_receive_buffer, 134 im_receive_field, 137 im_receive_file, 144 im_receive_input, 145 im_set_eom, 151 im_set_no_autosend, 155 im_set_validation_callback, 162 im_standby_wait, 170 im_status_line, 170 im_tcp_reconnect_notify, 171 im_transmit_buffer, 177 im_transmit_buffer_no_wait, 180 im_transmit_buffer_no_wait_t, 182 im_transmit_file, 186 im_udp_close_socket, 188 im_udp_open_socket, 189 im_udp_receive_data, 190 im_udp_send_data, 197 im_xm_receive_file, 208 im_xm_transmit_file, 210 im_xm1k_receive_file, 211 im_xm1k_transmit_file, 213 im_ym_receive_file, 214 im_ym_transmit_file, 216 recv, 217 send, 218 socket, 219 communications, network, programming guidelines, 24 compatible functions, 35 compile procedure BIN program, 27 DOS .EXE program, 28 DOS command line, 29 compile settings checklist for BIN programs, 27 for DOS .EXE programs, 29 Compiler Options dialog box Code Generation, 230, 233 Memory Model, 231, 234 compiler options project settings checklist for .BIN programs, 27 project settings checklist for DOS .EXE programs, 29 PSK version requirements, 4 configuration, use im_get_config_info, 68 connect, 48 converting application, to binary file, 28
Trakker Antares PSK Reference Manual converting applications creating compatibility, 34 creating include file, 36 defining function values, 37 display modes, 40, 42 JANUS PSK to Trakker Antares PSK, 40 renaming functions, 37 timeout values, 44 Trakker Antares PSK to JANUS PSK, 37 using status code macros, 35 viewport functions, 39, 42 copying application to terminal, 31 FileCopy to another PC, 4 CPU field, 231, 234 CPU project settings checklist, 27, 29 creating compatible applications, 34 cursor functions im_cursor_to_viewport, 55 im_get_cursor_style, 70 im_get_cursor_xy, 70 im_get_follow_cursor, 76 im_get_viewport_lock, 99 im_get_viewporting, 101 im_set_cursor_style, 149 im_set_cursor_xy, 149 im_set_follow_cursor, 153 im_set_thai_cursor_mode, 160 im_set_viewport_lock, 163 im_set_viewporting, 163 im_setup_manual_viewporting, 166 im_viewport_to_cursor, 207 D data conversion functions, certified, 17 DCS 300, downloading applications, 32 debugging project settings, 29 Desktop mode, 43 Directories dialog box, 232, 235 Include Files Path field, 232, 235 Include Library Files Path field, 232 Library Files Path field, 235 directory close function, 52 for PSK, 3 open function, 122 project settings checklist, 27, 29 read function, 134 Disable Stack Checking check box, 231, 234 display functions about, 9 DisplayUserBMP, 49 im_clear_screen, 52 im_cputs, 54 im_display_thai_char, 56 im_erase_display, 57 im_erase_line, 58 im_get_cursor_style, 70 im_get_cursor_xy, 70
239
Page 260
Index display functions (continued) im_get_display_mode, 71 im_get_display_size_physical, 73 im_get_display_size_virtual, 74 im_get_display_type, 75 im_get_follow_cursor, 76 im_get_screen_char, 91 im_get_text, 94 im_overlay_setup, 123 im_overlay_status, 125 im_put_text, 126 im_putchar, 127 im_putchar_dbyte, 127 im_putchar_kana_8x16, 128 im_puts, 129 im_puts_dbyte, 130 im_puts_kana_8x16, 132 im_puts_mixed, 133 im_set_cursor_style, 149 im_set_cursor_xy, 149 im_set_display_mode, 150 im_set_follow_cursor, 153 im_set_mixed_mode, 154 im_set_screen_size, 159 im_set_thai_cursor_mode, 160 im_setup_follow_cursor, 164 display modes, converting applications, 40, 42 DisplayUserBMP, 49 DOS command line build procedure, 29 project settings checklist, 27, 29 See also EXE programs double-byte character functions im_dbyte_symbology_set, 56 im_offset_dbyte, 122 im_putchar_dbyte, 127 im_puts_dbyte, 130 im_puts_mixed, 133 im_set_mixed_mode, 154 downloading applications using Ethernet, 32 using RF communications, 32 using the serial port, 31 E erasing display, 52 error messages im_get_rcv_errors, 88 im_message, 121 im_status_line, 170 im_timed_status_line, 172 Ethernet, downloading applications, 32 event im_event_wait, 60 im_set_time_event, 161 examples bind, 47 clearing the screen, 10 closesocket, 48
240 configuring the terminal, 14 connect, 49 fcntlsocket, 50 im_battery_status, 51 im_callback_register, 175 im_command, 54 im_erase_line, 59 im_event_wait, 61 im_file_duplicate, 63 im_fmalloc, 66 im_get_config_info, 69 im_get_display_mode, 72 im_get_display_size_physical, 73 im_get_display_type, 75 im_get_follow_cursor, 76 im_get_IP_addr, 79 im_get_label_symbology, 81 im_get_relay, 89 im_get_screen_char, 91 im_get_sensor_all, 92 im_get_text, 96 im_get_tx_status, 98 im_get_viewport_lock, 100 im_get_viewporting, 101 im_irl_a, 106 im_irl_k, 108 im_irl_n, 111 im_irl_v, 115 im_irl_y, 118 IM_ISERROR, 119 IM_ISGOOD, 119 IM_ISSUCCESS, 120 IM_ISWARN, 121 im_opendir, 123 im_overlay_setup, 124 im_overlay_status, 125 im_putchar_kana_8x16, 129 im_puts_dbyte, 131 im_receive_buffer, 136 im_receive_field, 141 im_receive_input, 148 im_set_optical_callback, 157 im_setup_follow_cursor, 165 im_setup_manual_viewporting, 167 im_sound, 169 im_tcp_reconnect_notify, 172 im_transmit_buffer, 179 im_transmit_buffer_no_wait_t, 184 im_transmit_file, 187 im_udp_receive_data, 193 im_viewport_setxy, 204 im_xm_receive_file, 208 im_xm1k_receive_file, 211 im_ym_receive_file, 214 input mode and source, 11 moving the viewport, 14 multiple inputs, 7 recv, 217
Trakker Antares PSK Reference Manual
Page 261
Index examples (continued) send, 218 socket, 219 sound, 12 status code macros, 13 TMP.BAT, 31 TMP.CMD, 31 TMP.MAK, 30 EXE programs building, 28 Directories dialog box, 235 Linker Options dialog box, 234 project settings, 233 setting compiler options, 233, 234 setting linker options, 234 setting up the directories, 235 EXE2ABS.EXE, 28 F fcntlsocket, 50 file copy function, 62 file functions, certified, 17 file size, 64 file upload and download, 31 FileCopy utility copying to another PC, 4 installing, 3 using, 31 Floating Point Calls field, 231, 234 floating point calls, project settings checklist, 27, 29 foundation classes, not supported, 27, 29 function descriptions, about, 46 function_name, description, 46 functions about, 6 bind, 47 BSD sockets, 8 certified Microsoft C functions, 15 closesocket, 47 communications, 6 connect, 48 description of syntax definition, 46 display, 9 DisplayUserBMP, 49 fcntlsocket, 50 im_battery_status, 51 im_clear_screen, 52 im_closedir, 52 im_command, 53 im_cputs, 54 im_cursor_to_viewport, 55 im_dbyte_symbology_set, 56 im_display_thai_char, 56 im_erase_display, 57 im_erase_line, 58 im_event_wait, 60 im_file_duplicate, 62 im_file_size, 64 im_file_time, 64
Trakker Antares PSK Reference Manual im_flush_rcv_buffer, 65 im_fmalloc, 66 im_free, 67 im_free_mem, 67 im_free_space, 68 im_get_config_info, 68 im_get_cursor_style, 70 im_get_cursor_xy, 70 im_get_display_mode, 71 im_get_display_size_physical, 73 im_get_display_size_virtual, 74 im_get_display_type, 75 im_get_follow_cursor, 76 im_get_input_mode, 77 im_get_IP_addr, 78 im_get_label_symbology, 80 im_get_label_symbologyid, 82 im_get_length, 87 im_get_rcv_errors, 88 im_get_relay, 89 im_get_rx_status, 90 im_get_screen_char, 91 im_get_sensor_all, 92 im_get_sensor_input, 93 im_get_system_julian_date, 94 im_get_text, 94 im_get_tx_status, 97 im_get_viewport_lock, 99 im_get_viewporting, 101 im_input_status, 103 im_irl_a, 104 im_irl_k, 107 im_irl_n, 109 im_irl_v, 112 im_irl_y, 116 IM_ISERROR, 118 IM_ISGOOD, 119 IM_ISSUCCESS, 120 IM_ISWARN, 120 im_message, 121 im_offset_dbyte, 122 im_opendir, 122 im_overlay_setup, 123 im_overlay_status, 125 im_put_text, 126 im_putchar, 127 im_putchar_dbyte, 127 im_putchar_kana_8x16, 128 im_puts, 129 im_puts_dbyte, 130 im_puts_kana_8x16, 132 im_puts_mixed, 133 im_readdir, 134 im_receive_buffer, 134 im_receive_field, 137 im_receive_file, 144 im_receive_input, 145 im_set_cursor_style, 149
241
Page 262
Index functions (continued) im_set_cursor_xy, 149 im_set_display_mode, 150 im_set_eom, 151 im_set_follow_cursor, 153 im_set_kbmode, 153 im_set_mixed_mode, 154 im_set_no_autosend, 155 im_set_optical_callback, 156 im_set_relay, 158 im_set_repeat_key, 158 im_set_scanning, 159 im_set_screen_size, 159 im_set_thai_cursor_mode, 160 im_set_time_event, 161 im_set_validation_callback, 162 im_set_viewport_lock, 163 im_set_viewporting, 163 im_setup_follow_cursor, 164 im_setup_manual_viewporting, 166 im_sound, 168 im_standby_wait, 170 im_status_line, 170 im_tcp_reconnect_notify, 171 im_timed_status_line, 172 im_tm_callback_cancel, 173 im_tm_callback_register, 174 im_transmit_buffer, 177 im_transmit_buffer_no_wait, 180 im_transmit_buffer_no_wait_t, 182 im_transmit_file, 186 im_udp_close_socket, 188 im_udp_open_socket, 189 im_udp_receive_data, 190 im_udp_send_data, 197 im_viewport_end, 197 im_viewport_getxy, 198 im_viewport_home, 199 im_viewport_move, 199 im_viewport_page_down, 200 im_viewport_page_left, 201 im_viewport_page_right, 201 im_viewport_page_up, 202 im_viewport_setxy, 203 im_viewport_to_cursor, 207 im_xm_receive_file, 208 im_xm_transmit_file, 210 im_xm1k_receive_file, 211 im_xm1k_transmit_file, 213 im_ym_receive_file, 214 im_ym_transmit_file, 216 input, 10 recv, 217 send, 218 socket, 219 sound, 11 status code macros, 12 system, 13
242
Trakker Antares PSK and JANUS PSK differences, 34 unsupported Microsoft C functions, 19 viewport, 14 G, I gethostbyname, See im_get_IP_addr im_battery_status, 51 im_clear_screen, 52 im_closedir, 52 im_cputs, 54 im_cursor_to_viewport, 55 im_dbyte_symbology_set, 56 im_display_thai_char, 56 im_erase_display, 57 im_erase_line, 58 im_event_wait, 60 im_file_duplicate, 62 im_file_size, 64 im_file_time, 64 im_flush_rcv_buffer, 65 im_fmalloc, 66 im_free, 67 im_free_mem, 67 im_free_space, 68 im_get_config_info, 68 im_get_cursor_style, 70 im_get_cursor_xy, 70 im_get_display_mode, 71 im_get_display_size_physical, 73 im_get_display_size_virtual, 74 im_get_display_type, 75 im_get_follow_cursor, 76 im_get_input_mode, 77 im_get_IP_addr, 78 im_get_length, 87 im_get_rcv_errors, 88 im_get_relay, 89 im_get_rx_status, 90 im_get_screen_char, 91 im_get_sensor_all, 92 im_get_sensor_input, 93 im_get_system_julian_date, 94 im_get_text, 94 im_get_tx_status, 97 im_get_viewport_lock, 99 im_get_viewporting, 101 im_input_status, 103 im_irl_a, 104 im_irl_k, 107 im_irl_n, 109 im_irl_v, 112 im_irl_y, 116 IM_ISERROR, 118 IM_ISGOOD, 119 IM_ISSUCCESS, 120 IM_ISWARN, 120 im_message, 121 im_offset_dbyte, 122
Trakker Antares PSK Reference Manual
Page 263
Index im_opendir, 122 im_overlay_setup, 123 im_overlay_status, 125 im_put_text, 126 im_putchar, 127 im_putchar_dbyte, 127 im_putchar_kana_8x16, 128 im_puts, 129 im_puts_dbyte, 130 im_puts_kana_8x16, 132 im_puts_mixed, 133 im_readdir, 134 im_receive_buffer, 134 im_receive_field, 137 im_receive_file, 144 im_receive_input, 145 im_set_cursor_style, 149 im_set_cursor_xy, 149 im_set_display_mode, 150 im_set_eom, 151 im_set_follow_cursor, 153 im_set_kbmode, 153 im_set_mixed_mode, 154 im_set_no_autosend, 155 im_set_optical_callback, 156 im_set_relay, 158 im_set_repeat_key, 158 im_set_scanning, 159 im_set_screen_size, 159 im_set_thai_cursor_mode, 160 im_set_time_event, 161 im_set_validation_callback, 162 im_set_viewport_lock, 163 im_set_viewporting, 163 im_setup_follow_cursor, 164 im_setup_manual_viewporting, 166 im_sound, 168 im_standby_wait, 170 im_status_line, 170 im_tcp_reconnect_notify, 171 im_timed_status_line, 172 im_tm_callback_cancel, 173 im_tm_callback_register, 174 im_transmit_buffer, 177 im_transmit_buffer_no_wait, 180 im_transmit_buffer_no_wait_t, 182 im_transmit_file, 186 im_udp_close_socket, 188 im_udp_open_socket, 189 im_udp_receive_data, 190 im_udp_send_data, 197 im_viewport_end, 197 im_viewport_getxy, 198 im_viewport_home, 199 im_viewport_move, 199 im_viewport_page_down, 200 im_viewport_page_left, 201 im_viewport_page_right, 201
Trakker Antares PSK Reference Manual im_viewport_page_up, 202 im_viewport_setxy, 203 im_viewport_to_cursor, 207 im_xm_receive_file, 208 im_xm_transmit_file, 210 im_xm1k_receive_file, 211 im_xm1k_transmit_file, 213 im_ym_receive_file, 214 im_ym_transmit_file, 216 imt24lib, project settings checklist, 27, 29 include file converting applications, 36 project settings checklist, 27, 29 Include Files Path field, 232, 235 Include Library Files Path field, 232 incompatible functions converting JANUS PSK to Trakker Antares PSK, 40, 41 converting Trakker Antares PSK to JANUS PSK, 38 input functions about, 10 im_dbyte_symbology_set, 56 im_file_size, 64 im_file_time, 64 im_flush_rcv_buffer, 65 im_free_mem, 67 im_free_space, 68 im_get_input_mode, 77 im_get_label_symbology, 80 im_get_label_symbologyid, 82 im_get_length, 87 im_get_rcv_errors, 88 im_get_relay, 89 im_get_sensor_all, 92 im_get_sensor_input, 93 im_input_status, 103 im_irl_a, 104 im_irl_k, 107 im_irl_n, 109 im_irl_v, 112 im_irl_y, 116 im_readdir, 134 im_receive_buffer, 134 im_receive_field, 137 im_receive_input, 145 im_set_input_mode, 153 im_set_repeat_key, 158 im_set_scanning, 159 im_set_validation_callback, 162 input modes converting applications, 43 Desktop, 43 Programmer, 43 Wedge, 43 installing Application Simulator, 3 FileCopy, 3 Programmer’s Software Kit, 3
243
Page 264
Index
IRL command A, 104 K, 107 N, 109 V, 112 Y, 116 J JANUS PSK compatible functions, 35 converting from Trakker Antares PSK, 37 converting to Trakker Antares PSK, 40 differences between Trakker Antares PSK, 34 display modes, 40, 42 im_appl_break_status, unsupported, 40 im_backlight_off, 40 im_backlight_on, 40 im_backlight_toggle, 40 im_cancel_rx_buffer, unsupported, 40 im_cancel_tx_buffer, unsupported, 40 im_clear_abort_callback, unsupported, 40 im_decrease_contrast, 40 im_get_contrast, 40 im_get_control_key, 40 im_get_display_mode, 39, 40, 42, 43 im_get_input_mode, 40 im_get_keyclick, 40 im_get_postamble, 40 im_get_preamble, 40 im_get_reboot_flag, unsupported, 40 im_get_warmboot, unsupported, 40 im_increase_contrast, 40 im_input_status, 41 im_link_comm, unsupported, 41 im_number_pad_off, unsupported, 41 im_number_pad_on, unsupported, 41 im_parse_host_response, unsupported, 41 im_power_status, unsupported, 41 im_protocol_extended_status, 41 im_receive_buffer, 41 im_receive_buffer_no_wait, 41 im_receive_buffer_noprot, unsupported, 41 im_receive_byte, 41 im_rs_installed, unsupported, 41 im_rx_check_status, 41 im_serial_protocol_control, 41 im_set_abort_callback, unsupported, 41 im_set_contrast, 41 im_set_control_key, unsupported, 41 im_set_display_mode, 39, 41, 42 im_set_input_mode, 41 im_set_keyclick, 41 im_set_warmboot, unsupported, 41 im_setup_trx, unsupported, 41 im_standard_trx, unsupported, 41 im_transmit_buffer, 41 im_transmit_buffer_noprot, unsupported, 41 im_transmit_byte, unsupported, 41 im_unlink_com, unsupported, 41
244 im_viewport_move, 39, 42 input modes, 43 timeout differences, 44 timeout values, 44 viewport functions, 39, 42 L label im_get_label_symbology, 80 im_get_label_symbologyid, 82 Libraries field, 232, 235 library project settings checklist, 27, 29 PSK Language Libraries, 3 library file, project settings checklist, 27, 29 Library Files Path field, 235 Linker Options dialog box illustrated, 232, 234 Libraries field, 232, 235 linker options, project settings checklist, 27, 29 llibca, project settings checklist, 27 llibce, project settings checklist, 29 M macros IM_ISERROR, 118 IM_ISGOOD, 119 IM_ISSUCCESS, 120 IM_ISWARN, 120 using status code macros, 12 MAK file settings, 29 math functions, certified, 18 memory allocating, 66, 67 block information, 67 storage space available, 68 memory functions, certified, 18 Memory Model settings Model field, 231, 234 Segment Setup field, 231, 234 Memory Model, Compiler Options dialog box, 231, 234 memory model, project settings checklist, 27, 29 Microsoft C functions buffer manipulation, 16 certified, 15 character, 17 data conversion, 17 file, 17 math, 18 memory, 18 miscellaneous, 19 string, 18 time, 19 unsupported, 19 Microsoft C/C++ project options BIN programs, 230 EXE programs, 233 Microsoft Visual C/C++ version requirements, 4
Trakker Antares PSK Reference Manual