File system and the por.ini file – TransAct Technologies ITHERM 280 User Manual

Page 270

Advertising
background image

ITherm® 280 Unicode and Fonts

iTherm

®

280 Programmer’s Guide

Page 268

Rev C

28-07764

File system and the POR.INI file

The ITherm 280 Printer supports a file system to support TransAct Technologies fonts and allow
the user to load and link custom fonts.

The POSFile tool provides a Windows interface to the printer and will allow fonts and
configuration files to be loaded into the printer. This tool can read and write the POR.INI file,
however the TransAct supplied fonts can not be read or deleted from the printer.

TrueType

18

and Compressed Stroke Fonts

19

are supported by the ITherm 280 Printer. User-

defined TrueType fonts many be defined and loaded into the printer, however, once in the
printer they can not be extracted. (This protects the copyrights on the font.)

The POR.INI file is used to control how fonts are encoded, named, identified and linked, as well
as allowing how the font to be printed is controlled. In addition the POR.INI file defines how
each legacy font is defined and printed.

The POR.INI file is divided into sections:

[encoding]

This section defines how the printer encodes the character set. It may be ASCII with
code page, or Unicode. If ASCII is selected the default code page is selected and/or
defined in this section.

[font]This section defines how the scalable fonts are named and generated. You can

control the font cache size and partitions, the Hinting, link fonts and font abstractions.

[bmfont]

This section defines and abstracts any bitmap font definitions.

[Legacy]

This section defines how the previously defined fonts are used to generate legacy fonts
for each emulation.

The following is an example of the POR.INI file:

; Default System Configuration.
[encoding]
mode = UTF8TXT
;NOTE: A code page is only used in ASCII mode.
;To specify a code page, use one of the following forms:
;CodePage = 437
;CPFile = CP8959-1.cpm
;To remap Unicode characters, define a UniRemap.cpm file.
;UniMapfile = UniRemap.cpm
[font]
;Optionally specify the Cache Partitions
;Fontcache = 320,256,64
;True Type font hinting may be disabled by setting Nohint to 1
;Nohint = 0
;Specify Linked fonts starting with LinkFont1.
;LinkFont1 will be searched first.
;You may specify up to 8 fonts in a linked font.
;if Link Fonts are defined, they will be Font0.

18

Some but not all features of Open Type fonts are supported. Open Type fonts are not recommended.

19

Compressed Stroke fonts are supplied by MonoType Inc.

Advertising