The text of a manual · part 8 of 17
Apex III / Apex IV Technical Reference Manual, Second Edition, pages 71 to 80
Pages 71 to 80 of 168
The original document is the PDF (1.2 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 Compsee Apex III and Compsee Apex IV
Page 71
Apex PDT Technical Reference Manual
5 Operating System
PicoCard Program Directory Volume in drive C is Compsee Volume Serial Number is 64E2-A069 Directory of C:\PICOCARD\PROGRAM . <DIR> 01-06-2000 .. <DIR> 01-06-2000 TFFSCS COM 33,472 04-14-1998 DPMS EXE 47,375 03-01-1994 CNFIGNAM EXE 1,278 04-14-1998 PCMCS95 EXE 92,980 04-14-1998 PCMRMAN SYS 99,392 04-14-1998 PCMMTD EXE 21,453 04-14-1998 PCMATA SYS 22,763 04-14-1998 PCMSS EXE 23,449 04-19-1999 PCMSCD EXE 43,453 04-14-1998 PCM INI 1,657 05-06-1999 12 file(s) 387,272 bytes
Note:
5:46p 5:46p 3:08p 1:00a 3:06p 3:08p 3:08p 3:08p 3:08p 9:36a 3:08p 8:20a
Files listed above are given as an example. Actual files loaded may vary. For a detailed description of various PicoCard files refer to the PC Card section of this manual.
C: Drive File Information [vdisk.exe] Allows the use of memory as a simulated disk drive. Refer to the Datalight ROM-DOS manual included on the Compsee Product Support CD. [himem.sys] Extended and high memory manager for 286, 386, and PS/2 systems. Refer to the Datalight ROM-DOS User’s Guide included on the Compsee Product Support CD. [emm386.exe] Enables expanded memory support for capable systems. Refer to the Datalight ROM-DOS User’s Guide included on the Compsee Product Support CD.
COAM30002
Rev. 2.00
8/13/02
5-11
Page 72
Apex PDT Technical Reference Manual
5 Operating System
[remserv.exe] Works as the server program for the [remdisk.exe] utility. The server system runs the program [remserv.exe]. The [remserv.exe program can make a single drive on the server system available to the client (system running [remdisk.exe]). [power.exe] Conserves system power usage to maximize the time between Battery Pack charges. [bcdriver.exe] Allows the Apex PDT to read bar codes. Refer to the Utility Program Section of this manual for additional details. [fontsize.exe] Changes the displayed font size for easier readability on the Apex PDT display screen. [dx.exe] A file transfer utility for transferring files to and from the Apex PDT. Uses the YMODEM transfer protocol. [flashit.exe] An upgrade utility supplied by Compsee Inc. for use in upgrading the PhoenixPICO BIOS, the ROM-DOS Operating System, and the contents of the A: (boot) drive (all three items are updated simultaneously). Refer to the Utility section of this manual for detailed instructions on using this program. [cbe.exe] Computer BIOS extender file [cbe.exe] provides several useful extensions to BIOS functions in the Apex PDT. The extensions are focused in two main areas: q Keyboard enhancements specific to the Apex design q Advanced Power Management (APM) enhancements.
5-12
COAM30002
Rev. 2.00
8/13/02
Page 73
Apex PDT Technical Reference Manual
6
6 Utility Programs
UTILITY PROGRAMS
The following utility programs have been preloaded into the Apex PDT by Compsee, Inc. or are located on the Product Support CD included with your unit. q q
[bcdriver.exe] [ir.com] [remdisk.exe]/[remserv.exe] [fontsize.exe] [loadfont.exe] (on Product Support CD) [dx.exe] [flashit.exe] q
[cbe.exe] q q q q q
The utility programs discussed within this chapter allow the Apex PDT to read bar codes, communicate with various devices, and perform basic functions without additional programming. Your VAR or corporate programming personnel can provide custom application programs specifically designed for your business. The following text is a general description of the capabilities of these utility programs. For in-depth information on each of these utilities refer to the specific file further on within this section of the manual. Bar Code Driver [bcdriver.exe] [bcdriver.exe] is a Compsee, Inc. Bar Code reading program implemented as a DOS TSR (Terminate & Stay Resident) program. The program requires approximately 44K of memory when running and allows the Apex PDT programmer to stipulate usable bar code symbologies and change certain characteristics. Infrared Communications Utility [ir.com] The [ir.com] program is loaded in the Apex PDT boot drive at the factory. This utility program is used to enable or disable the Apex PDT Infrared (IR) port, thereby enabling or disabling the Apex PDT’s capability to perform infrared communications.
COAM30002
Rev. 2.00
8/13/02
6-1
Page 74
Apex PDT Technical Reference Manual
6 Utility Programs
Remote Disk Utilities [remdisk.exe] & [remserv.exe] The remote disk program allows you to access a disk drive on a remote system via a serial cable and standard RS-232 serial port. In a remote disk setup, one system (the one that shares its drives) is the server. The other system (the one that accesses and uses the remote drives) is called the client. The serial ports on both systems must be connected via a null modem cable. [remdisk.exe] and [remserv.exe] communicate across a standard 3-pin serial cable. The cable does not require the CTS/RTS or DSR/DTR pins. Display Font Utility [fontsize.exe] The [fontsize.exe] utility allows the displayed font size to be changed for easier readability by the user or programmer. The program allows font changes among the following font sizes; 8 × 8, 16 × 8, 8 × 16 and 16 × 16. It should be noted that changing the font size to a larger point size will decrease the number of characters that the screen can display at any given time. Font Loading Utility [loadfont.exe] The [loadfont.exe] utility allows the displayed font to be changed to additional character sets by the user or programmer. The Latin-1 font set is supplied on the Compsee Product Support CD. Other fonts are available from Compsee, Inc. upon request. File Transfer Utility [dx.exe] The [dx.exe] utility allows file transfers to and from the Apex PDT and a PC. Uses the YMODEM transfer protocol. Upgrade Utility [flashit.exe] [flashit.exe] is an upgrade utility that is used to upgrade the Apex PDT PhoenixPICO BIOS, the ROM-DOS Operating System, and the contents of the A: drive. Refer to the detailed description later in this section for additional details. Compsee BIOS Extender [cbe.exe] A computer BIOS extender file that provides several useful extensions to Apex PDT BIOS functions. The extensions are focused in two main areas: q Keyboard enhancements specific to the Apex design q Advanced Power Management (APM) enhancements.
6-2
COAM30002
Rev. 2.00
8/13/02
Page 75
Apex PDT Technical Reference Manual
6 Utility Programs
Bar Code Driver [bcdriver.exe] The Compsee Bar Code Driver is implemented as a Terminate & Stay Resident (TSR) DOS program. The program requires approximately 44K of memory when running and allows the Apex PDT programmer to stipulate usable bar code symbologies and change certain characteristics.
Driver Options And Modifiers Options Driver options can be set using two methods. q
From the command line - Options and modifiers can be specified on the command line when the driver is initially run or at any other time by issuing a new command line with new options. If the driver has not been previously loaded during DOS booting, performing this operation will set the initial operating parameters. If the driver is already loaded, this method modifies the previous option settings already installed. The command line is parsed from left to right.
q
From an application, using the driver API (Application Programming Interface). This describes a series of formal interface functions for communicating with the driver.
Optional parameters are implemented using the following criteria: q
If an option is identified in the command line, the option is turned ON by default.
q
If the option is immediately preceded by a minus sign ( −), the option is turned OFF.
q
If the option is immediately preceded by a question mark (?), the current value of the option is returned to the screen. No change is made to the option or its modifiers.
q
All options are case insensitive. Upper and lower case may be freely mixed for clarity.
COAM30002
Rev. 2.00
8/13/02
6-3
Page 76
Apex PDT Technical Reference Manual
6 Utility Programs q
Each option is separated from others by white space (spaces or tabs).
q
No white space is permitted between options and modifiers or the separators (see below).
q
The command line may be entered as often as desired in order to modify the driver’s behavior after initial loading. This feature can be used to add codes, delete codes, or change any code’s modifiers.
Modifiers Modifiers are implemented following the respective option. Not all options have modifiers. Options are separated from modifiers by either an equals sign (=) or a comma (,). Either separator may be used interchangeably for best clarity. All modifiers are entered as decimal integers. Command Line Syntax Example #1: bcdriver all -dsym 3of9 UPCA
In Example #1, all options and modifiers are first reset to their default values, all symbologies are next turned off, then decoding of Code 3 of 9 (Code 39) and UPC-A is enabled. Example #2: bcdriver beep=250,1000 type=AIM AimTm=5
In Example #2, the good read beep duration and tone are first changed, next the scanner type is changed to an internal laser with aiming capabilities, and lastly the aiming dot duration is changed to 500 ms.
6-4
COAM30002
Rev. 2.00
8/13/02
Page 77
Apex PDT Technical Reference Manual
6 Utility Programs
Errors If a syntax or out-of-range error is encountered, the driver prints a diagnostic message on the screen indicating the failed parameter in double quotes. A number in parentheses is also printed indicating the portion of the parameter that the driver failed to recognize. The following table describes the Error Code parameters:
Code No.
Bar Code Driver Error Codes Name Description
(1)
BAD_OPTION
(2)
BAD_MOD1
(3)
BAD_MOD2
The option was not recognized or is otherwise invalid. The first modifier’s syntax or value was invalid or was required, but not found. The second modifier’s syntax or value was invalid or was required, but not found.
Table 6-1: Bar Code Driver Error Codes
COAM30002
Rev. 2.00
8/13/02
6-5
Page 78
Apex PDT Technical Reference Manual
6 Utility Programs
BCDRIVER Options And Modifiers Option 25ID
25IN
25MX
3of9
AimTm
All
Bar Code Driver Options And Modifiers Modifiers Default Description Fixed length OFF Decode Identicode 2 of 5 symbols. (0 - 64) The default length is 0, meaning variable length. A Modulo 10 check Check digit (0 - 1) digit (included in the length) is required if the second modifier is set to 1. The default is 0 (no check digit). If the second modifier is set to 1, the check digit is validated and returned. If the 25ID option is selected, I2of5 and 25MX are automatically deselected. Fixed length OFF Decode Industrial 2 of 5 symbols. The (0 - 64) default length is 0, meaning variable length. A Modulo 10 check digit Check digit (0 - 1) (included in the length) is required if the second modifier is set to 1. The default is 0 (no check digit). If the second modifier is set to 1, the check digit is validated and returned. If the 25IN option is selected, Matrix 2 of 5 is automatically deselected. Fixed length OFF Decode Matrix 2 of 5 symbols. The (0 - 64) default length is 0, meaning variable length. A Modulo 10 check digit Check digit (0 - 1) (included in the length) is required if the second modifier is set to 1. The default is 0 (no check digit). If the second modifier is set to 1, the check digit is validated and returned. If the 25MX option is selected, 25IN and 25ID are automatically deselected. Full ASCII (‘A’) ON Decode 3 of 9. If ‘A’ modifier is included, decode as full ASCII. Default is not full ASCII. Time (0 - 30) 10 Aim beam on time in 100 ms (1 sec) increments. Only applicable if Type=A (AIM enabled scan engine). Setting this option to 0 will turn off the aiming beam for an AIM enabled scan engine. None YES Resets all options and modifiers to their default values (with the exception of the scanner type, which is not changed). Ignores the dash and question mark prefixes.
Table 6-2: Bar Code Driver Options And Modifiers
6-6
COAM30002
Rev. 2.00
8/13/02
Page 79
Apex PDT Technical Reference Manual
Option Beep
Btn
C11
C128 C93 Cbar
DblSc
Dsym
EAN13
6 Utility Programs
Bar Code Driver Options And Modifiers Modifiers Default Description Duration: 50,3136 Beep on successful decode. (0 – 500 ms) Disabled if duration = 0, or using “Frequency: beep”. (100 – 5000 Hz) None ON Enables or disables (“-btn”) scanning button for activating driver. When disabled, the <SCAN> key will not start scanning. The <SCAN> key should be read by the user’s application. The API call always works regardless of the state of this control. When enabled, the <SCAN> key is absorbed by the driver. When disabled the <SCAN> key is placed in the keyboard buffer normally. Check digits (1-2) ON Decode Code 11. Default is to use 2 Modulo 11 check digits. Check digit(s) are validated, but not returned. None ON Decode Code 128. None ON Decode Code 93. Min chars (3 - 64), ON Decode Codabar characters. The ABC mode modifier sets the minimum number (“ABC”) of characters to decode including start and stop characters, default = 5. If the ABC option is enabled, this is the minimum total for both groups including all start and stop characters. If “ABC” option is included, any valid Codabar character group that ends with ‘D’ will be concatenated (linked together) to any adjacent valid group with a ‘D’ start character. Concatenation will occur for any valid number of labels in a row. None OFF Double scan. (Redundancy check, look for 2 identical scans before a valid read). None N/A Enables all symbologies that are listed here as ON by default. Useful to disable all standard codes (Dsym), then enable only the ones desired. None ON Decode EAN-13 symbols.
Table 6-2: Bar Code Driver Options And Modifiers (Continued)
COAM30002
Rev. 2.00
8/13/02
6-7
Page 80
Apex PDT Technical Reference Manual
6 Utility Programs
Bar Code Driver Options And Modifiers Option EAN8 I2of5
Modifiers None Fixed length (0 - 64)
Default ON ON
ID
ID value (192 – 255)
206 (0CEh)
KEID
ID value
204 (0CCh)
Led
On time (0 - 10)
3 sec.
M
None
None
Description Decode EAN-8 symbols. Decode Interleaved 2 of 5 symbols. The default length is 14. A length of 0 means variable length. If the I2of5 option is selected, 25MX is automatically deselected (default). Sets driver identifier used by API to communicate between applications and driver TSR. This is alternately known as the DOS multiplex ID. This should only be used if the default ID conflicts with another TSR. If changed from default, it must always be included on the command line when modifying options. The ID is set when the driver is initially loaded, and should not be changed on the fly. Sets identifier used by driver to communicate between driver and optional keyboard extender TSR. This is alternately known as the DOS multiplex ID (for the keyboard extender) . The extender provides a much larger keyboard buffer than the default supplied by the BIOS, and is used when large bar codes are anticipated. This option should only be used if the default ID conflicts with another TSR’s ID. If changed from default, the value must be modified both here and in the command line for the keyboard extender, or the driver will not make use of the extender. The extender’s ID is set when the extender is initially loaded, and may not be changed on the fly. Sets the ON time in seconds for the good read LED following a successful decode. Reports memory used by driver. Only valid when driver initially loaded. Command line option only.
Table 6-2: Bar Code Driver Options And Modifiers (Continued)
6-8
COAM30002
Rev. 2.00
8/13/02