[Inso Home Page] [Home] [Collection] [Book] [Expand] [Collapse] [Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] [Preferences] [Print] [Help]

 inside  Expand Search


Adding/Removing Print Views [Table of Contents]    The Preferences Dialog

DynaWeb Publishers Guide

[-] 5. Modifying The DynaWeb Interface
[-] Modifying the Print Interface
[-] Adding/Deleting Print Locales

Adding/Deleting Print Locales

The print locale drop-down list passes a locale to the dwprint executable. dwPrint then assigns the encoding to the file it generates.

Adding a Print Locale

To add a print locale, find the correct section of the bookprnt.dwc file by searching for the string "NAME=locale". Then add an OPTION tag to the list. In the example below, we will add a new locale for American. The VALUE parameter must contain a supported value for the locale (C, ja, japanese, etc.). A list of supported locales can be found in the pls.map file located in the data directory under your DynaWeb installation.

Original Statement:

<SELECT NAME=locale>
 <OPTION VALUE=C>English (iso8859 -1)
 <OPTION VALUE=C>French (iso8859 -1)
 <OPTION VALUE=C>Italian (iso8859 -1)
 <OPTION VALUE=C>German (iso8859 -1)
 <OPTION VALUE=C>Spanish (iso8859 -1)
 <OPTION VALUE=ja>Japanese (EUC)
 <OPTION VALUE=japanese>Japanese (SHIFT-JIS)
</SELECT>

After adding new locale:

<SELECT NAME=locale>
 <OPTION VALUE=C>English (iso8859 -1)
 <OPTION VALUE=C>American (iso8859 -1)
 <OPTION VALUE=C>French (iso8859 -1)
 <OPTION VALUE=C>Italian (iso8859 -1)
 <OPTION VALUE=C>German (iso8859 -1)
 <OPTION VALUE=C>Spanish (iso8859 -1)
 <OPTION VALUE=ja>Japanese (EUC)
 <OPTION VALUE=japanese>Japanese (SHIFT-JIS)
</SELECT>

Deleting a Print Locale

To delete a print locale, find the correct section of the bookprnt.dwc file by searching for the string "NAME=locale". Then delete the OPTION tag from the list.


Adding/Removing Print Views [Table of Contents]    The Preferences Dialog