Previous | Contents | Index |
The text encoded in PostScript files will typically be encoded in a platform dependent, or possibly even application dependent, character set. PMDF must know what character set is used so that it can properly convert the text extracted from the PostScript file to the HP MultiNational Character Set (DEC MCS) prior to processing by the addressing channel. For instance, Macintosh systems will use a character set in which an apostrophe (the ASCII character 27 in hexadecimal) will appear as the character with ordinal value D5; (in DEC MCS, this appears as the character Õ). This causes the addressing channel command
:Recipient's name: Fresnel |
:RecipientÕs name: Fresnel |
The CHARSET option is used to inform PMDF as to which character set is used in the PostScript. This option can specify any character set defined in the file charsets.txt
in the PMDF table directory. Additional character sets can be added to that file as needed. When character sets are added to charsets.txt
, the file must be recompiled and reinstalled:
$ PMDF CHBUILD $ INSTALL REPLACE PMDF_CHARSET_DATA |
Now, not only must PMDF be informed as to what character set is used, but it must also be told to perform character set conversions when processing mail queued to the addressing channel. To the mapping file add the table2
CHARSET-CONVERSION IN-CHAN=l;OUT-CHAN=address*;CONVERT Yes IN-CHAN=l;OUT-CHAN=address*;IN-CHARSET=* OUT-CHARSET=DEC-MCS |
If you have a compiled configuration, then it must be recompiled before these entries in the mapping file will take effect. Likewise, the configuration needs to be recompiled whenever changes are made to the mapping file.
Note that a single queue to e-mail symbiont can only handle one type of incoming character set. Additional symbionts must be set up to handle additional character sets. This is not a limitation of the symbiont, but rather an inability to determine the input source to a symbiont. Different input sources can only be distinguished by using different printer queues which, in turn, requires multiple symbionts, one per printer queue. So, a separate printer queue should be set up for each set of input sources using a given character set. For instance, a site with both Macintosh and PC users should set up two queue to e-mail printer queues: one for the Macintosh users and one for the PC users. The q2email_option.
file might then appear as
ADDRESSING_CHANNEL=address.example.com CHARSET_queue_mac=MACINTOSHPS CHARSET_queue_pc=WINDOWSPS FROM_ALLOWED=1 |
queue_mac
and queue_pc
are, respectively, the names of the Macintosh and PC printer queues.
2 If you already have a CHARSET-CONVERSION table in the mapping file, then simply add the necessary table entries. |
Previous | Next | Contents | Index |