Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 35 of 38

PEN*KEY 6100 Computer Programmer's Reference Guide: Appendix B: Common PEN*KEY 6000 Series Information, pages 305 to 312

Pages 305 to 312 of 328, from PEN*KEY 6100 Computer Programmer's Reference Guide

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.

Filed in the catalog under the Intermec 6110

Page 305

APPENDIX B

Common PEN*KEY 6000 Series Information

INI Files

Files with the extension of INI are the initialization files for Windows and associĆ ated applications. They are the heart and soul of the Windows environment. Applications

DLLs

INIs

APIs

Additional Windows Files (optional)

Handwriting Recognition

Pen Windows

Minimal Windows System Files DOS

Windows Drivers BIOS

DOS Drivers Hardware

A small number of initialization files contain the key information that Windows needs in order to run. Many applications also rely on the INI files to remember user preferences, customization, etc. These INI files are usually plain ASCII text files, containing lines that follow a standard format: The INI file may have one to several hundred section names, and one to hundred variables under each section. Through simple API calls, the programmer can easily reference any INI file and obtain settings for the various variables listed. Editing an INI file manually can be dangerous; you should always make a backĆ up copy before changing anything in an INI file. The main initialization file, WIN.INI, resides in the Windows startup directory, and tells Windows some important information, such as where the fonts are loĆ cated, how the windows need to look, the speed of the mouse, etc. Many applicaĆ tions create sections of their own within WIN.INI, as well. A thorough treatĆ ment of WIN.INI is beyond the scope of this section of the document; information can be obtained from various outside sources, including some entire books deĆ voted to the subject. The other key initialization file is the SYSTEM.INI file. This file contains inforĆ mation relating to the hardware configuration, including the names and locaĆ tions of the device drivers. This file is also where the shell program is identified (see below). There are often additional INI files present in the system. Pen Windows, for exĆ ample, has its own INI file that indicates the recognizer in use, and identifies the user. The File Manager's INI file saves the current values of any option settings, such as the format of the display, the font, etc. It is generally considered good programming practice for an application to create its own INI file rather than to cause the WIN.INI file to become too large and complex. The Windows environĆ ment can get quite ugly if its WIN.INI gets too large. And one final point about the INI files: if you damage one, the corresponding apĆ plication may wander around a bit before it gets its bearings. If you damage the WIN.INI file or the SYSTEM.INI file, the Windows environment may become unstable, or it may not run at all. PEN*KEY R 6100 Computer Programmer’s Reference Guide

B-25

B. Common PEN*KEY 6000 Series Info.

[section name] variable=value

Page 306

Common PEN*KEY 6000 Series Information

APPENDIX B

Additional Windows Files

While they are not shown explicitly in the block diagram, there are other files that must be present for a Windows application to run. Some applications reĆ quire only the main executable (or .EXE file), but most require the .EXE, one or more DLLs (either the type supplied with Windows or DLLs specific to the apĆ plication), as well as data files. If one or more required files are not present, then Windows fails to load the application, and offers the following erĆ Cannot find file or one of its components. ror message: Applications

DLLs

INIs

Additional Windows Files (optional)

APIs

Handwriting Recognition

Pen Windows

Minimal Windows System Files DOS

Windows Drivers BIOS

DOS Drivers Hardware

B. Common PEN*KEY 6000 Series Info.

If you see this message when you doubleĆclick on an application's filename in the File Manager, it usually means that one or more DLLs are either not present or not in a location on the disk drive that is accessible via the path. Unfortunately, Windows does not provide much assistance in helping you to determine exactly which files are missing (the above message is an example). Determining which files are missing is largely a matter of trial and error, unless you are able to deĆ termine exactly which files the application is expecting to have available on the disk. For assistance in determining what these files are Ċ in reference to an apĆ plication that is documented in this programming guide Ċ see the appropriate paragraph (for that application) in this section of the document. Shell Applications

The shell is the first program that Windows starts, and it is the program that causes Windows to exit when it shuts down. By default, Windows uses the ProĆ gram Manager as the shell. Ordinarily, almost any application can be desigĆ nated as the shell, and one of the basic requirements of a shell program is the ability to launch other applications. Rather than require special programming on the part of the customer to implement shellĆlike capabilities, the PEN*KEY 6000 Series Computer uses an shell program that, in turn, invokes the main application program. To see how the File Manager is launched from the shell program, refer to the NORAND Windows Shell paragraph, in the SupĆ porting Windows Applications section. Fonts: What They Are and How They Impact

The retail Windows program comes with several fonts. There is also a considerĆ able aftermarket for addĆon fonts. Fonts are usually in one of two categories: " BitĆmapped fonts have a filename extension of .FON. At least one of these fonts must be present for Windows to use in building dialog boxes and meĆ nus. The NORAND minimal Windows configuration includes three bitĆ mapped fonts: VGAFIX, VGAOEM, and VGASYS. B-26

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 307

APPENDIX B

Common PEN*KEY 6000 Series Information

TrueType fonts consist of two files each, with extensions of .FOT and .TTF. The .FOT file is actually a Windows DLL that contains, among other things, the path name for the TTF file, which contains the actual font. The retail version of Windows comes with a dozen or so TrueType fonts, includĆ ing Times New Roman, Arial, and Wingdings. The minimal PEN*KEY 6000 Series Computer configuration contains no TrueType fonts. If a customer application uses TrueType fonts, or bitĆmapped fonts, other than those listed above, they must be added to the Windows configuration. If a font file, needed by an application, is missing, then an error is generated and WinĆ dows substitutes the font it can find. This can lead to some interesting results when the variableĆpitch system font is substituted for a fixedĆpitch font (like Courier New). "

Applications Windows applications include the main executable program (with the .EXE exĆ tension), the device driver files (with the .DLL extension), and other files that are required for the main program to execute. Applications

INIs

APIs

Handwriting Recognition

B. Common PEN*KEY 6000 Series Info.

DLLs

Additional Windows Files (optional)

Pen Windows

Minimal Windows System Files DOS

Windows Drivers BIOS

DOS Drivers Hardware

Often, you will find that an application's executable file is much smaller than the functionality of the program would indicate. For example, the Microsoft PowerĆ Point V4.0 main program is only 97K. Much of the functionality is implemented in DLLs (PowerPoint includes one that is over 3 megabytes). Therefore, it is imĆ portant that you get the full picture when sizing an application for the PEN*KEY 6000 Series Computer, by including allowances for any DLLs and othĆ er files needed by the main program. It is also significant to note that certain development environments require a huge library of routines to create an apĆ plication that does anything. Power Builder, a prototyping tool, is one such proĆ gram. The overhead for creating a simple screen is around 3 megabytes.

PEN*KEY R 6100 Computer Programmer’s Reference Guide

B-27

Page 308

Common PEN*KEY 6000 Series Information

APPENDIX B

Pen Windows Files Pen Windows, properly known as, Microsoft Windows for Pen Computing, is an extensions of the base Windows environment. It provides support for the pen as an input device. Generally speaking, Pen Windows is not a prerequisite for usĆ ing a stylus as a navigation tool or for capture. The pen extensions are acĆ tually needed only when the ink must be translated into machineĆreadable text characters. Applications

DLLs

INIs

Additional Windows Files (optional)

APIs

Handwriting Recognition

Pen Windows

Minimal Windows System Files DOS

Windows Drivers BIOS

DOS Drivers Hardware

B. Common PEN*KEY 6000 Series Info.

Pen Windows adds only a few files to the standard Windows configuration. Basic added functionality includes enabling pen input for nonĆpenĆaware applications, and handwriting recognition (see below). The manufacturer of penĆbased hardĆ ware devices may supply Pen Windows to users, although Pen Windows is not available to end users by itself from Microsoft or OEMs. The assumption is, you need pen support, you also need the hardware". While true for end users, this policy can be a frustrating Catch-22 for programmers who may need to start development of penĆbased applications, but do not have a penĆenabled developĆ ment system. There are several inexpensive peripheral devices available from third parties that add pen input to desktop systems and are delivered with Pen Windows. One of these devices is CIC's Handwriter for Windows.

B-28

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 309

APPENDIX B

Common PEN*KEY 6000 Series Information

Handwriting Recognition Handwriting recognition (HWX) refers to the process of converting handwritten electronic ink into machineĆreadable character strings. Once the driving force in pen computing, HWX has taken a secondary role to the application; that is, an application optimized for use with a pen. With Pen Windows, MicroĆ soft offers a handwriting recognition system known as MARS. It gets the job done, though with far less speed and accuracy than most users find acceptable. OEMs, such as Intermec Technologies Corporation, have the option of licensing Pen Windows without the MARS recognizer. Applications

DLLs

INIs

APIs

Additional Windows Files (optional)

Handwriting Recognition

Pen Windows

Minimal Windows System Files DOS

Windows Drivers BIOS

DOS Drivers

Customers purchasing the NORAND Pen Windows license may also license the handwriting recognition systems (Communications Intelligence Corp. (CIC)) from Intermec Technologies Corporation, at additional cost.

Norand Value Adds In addition to WindowsĆspecific value added software provided by Intermec Technologies Corporation, there are several BIOSĆ and DOSĆlevel programs liĆ censed with the PEN*KEY 6000 Series Computer. The following is a list of softĆ ware included and a brief description of the software's value.

BIOS (Basic Input Output System) This is the lowĆlevel software that allows operating systems, such as DOS and Windows, to work on the PEN*KEY 6000 Series Computer. This BIOS is unique because of the additions that were made to support power management. StanĆ dard BIOS on PCs do not have the functionality available to implement the level of power management that is present in the PEN*KEY 6000 Series Computer.

SystemSoft Card and Socket Services

This software, licensed from SystemSoft, implements the software portion of the PC Card specification that allows use of numerous forms of PC Cards in the PEN*KEY 6000 Series Computer. It is key to allowing a customer to change cards over time, as technology moves forward. A computer with a PC Card slot that does not have this software requires custom software drivers for each card the user requires.

NORAND Card and Socket Services This software, licensed from Intermec Technologies Corporation, supports AMD ELAN PC Card controller. Refer to Section 1, Getting Started for details. PEN*KEY R 6100 Computer Programmer’s Reference Guide

B-29

B. Common PEN*KEY 6000 Series Info.

Hardware

Page 310

Common PEN*KEY 6000 Series Information

APPENDIX B

Power Management This software is one of the key value adds for the PEN*KEY 6000 Series ComĆ puter. It implements power saving features not available in the industryĆstanĆ dard APM specification. The technology enabling this level of battery life is proĆ tected under patents and filings registered to Intermec Technologies Corporation.

NORAND Utilities This application, unique in the PC world, boots and configures the PEN*KEY 6000 Series Computer with a variety of communications options. The NORAND Utilities are loaded into the flash memory of the PEN*KEY 6000 Series ComputĆ er in the factory. The communications capabilities of ACN are the pipeline for the remote diagnostics available in the PEN*KEY 6000 Series Computer. NPCP, IrDA, and TTY communications drivers are included within this application.

Pen Drivers Pen Drivers for Windows, PenRight, or Pen Pal are included. These drivers are required to implement character recognition, along with signature capture on the PEN*KEY 6000 Series Computer. The BIOS does NOT include the actual charĆ acter recognition software, which is a separate item, licensed if needed.

Scanner Drivers B. Common PEN*KEY 6000 Series Info.

Laser Scanner Drivers for Windows are included. These drivers are required to implement scanning of bar codes on the PEN*KEY 6000 Series Computer.

NPCP Printer Drivers NPCP Printer Drivers for Windows are included. These drivers are required to implement printing using NPCP on the PEN*KEY 6000 Series Computer.

IrDA Printer Drivers IrDA Printer Drivers for Windows are included. These drivers are required to implement printing using IrDA protocol on the PEN*KEY 6000 Series Computer.

PEN*KEY 6000 Series Memory-Sizing Guidelines After reading the last few pages, you can probably surmise that selecting the apĆ propriate memory size, for the PEN*KEY 6000 Series Computer, is not always an easy task. Although you must consider many variables, the following few considerations may help your selection process.

All Systems "

"

"

"

"

B-30

You must allocate space for both execution and storage. The RAM Drive is an area of memory that is treated like a disk drive (storage), and cannot be used for execution RAM. Windows requires a minimum of 2 MB of execution RAM, but 4 MB is a more practical minimum. 8 MB of execution RAM should cover almost all application requirements. The minimal Windows configuration, without pen extensions, requires 1 MB of storage space; with pen extensions, this grows to about 2 MB. The 1-MB flash memory area in the PEN*KEY 6000 Series Computer is reserved for system and embedded software; there is no available space for program storage in flash memory. Err in the conservative direction. When estimating sizes, round up rather than down. This leaves room for enhancements.

PEN*KEY R 6100 Computer Programmer’s Reference Guide

Page 311

APPENDIX B

Common PEN*KEY 6000 Series Information

Systems with RAM Drive Storage "

"

"

If using a RAM drive, you will trade off execution and storage space. First determine the amount of execution space needed and then use the balance for the RAM drive. Of course, the RAM drive must be large enough to contain DOS, Windows, the application, the data files, and the files created during execution. If the numbers do not add up, you need to considĆ er an increase in RAM size. The RAM drive can only be formatted in 1 megabyte increments; but you should consider the minimum RAM size (for the PEN*KEY 6000 Series Computer) in order to run Windows applications without PC Card storage, is 8 MB; of which at least 4 MB should be devoted to execution space, leavĆ ing 4 MB for the RAM drive. You can have one RAM Drive, with a maximum size (as specified in the RAM Drive paragraph, in the Getting Started section of this publication).

Systems with External Storage "

"

PEN*KEY R 6100 Computer Programmer’s Reference Guide

B-31

B. Common PEN*KEY 6000 Series Info.

"

The PEN*KEY 6000 Series Computer offers SanDisk and flash memory cards that can dramatically increase the space available for storing applicaĆ tion files. A PC Card solution also eliminates the requirement for a RAM drive, freeing onĆboard memory for use as execution space. Even if you plan to have all files on a PC Card drive, you must be certain that you have enough RAM for execution. In these configurations, it is not possible to increase the size of executable RAM without hardware modificaĆ tion or replacement. You can easily add external storage, but you cannot easily add more RAM. Storing data on a PC Card is usually safer, and less prone to data loss.

Page 312

Common PEN*KEY 6000 Series Information

B. Common PEN*KEY 6000 Series Info. B-32

PEN*KEY R 6100 Computer Programmer’s Reference Guide

APPENDIX B