OPALE - 10.0 - Utilisation - Modification d'une table de caractères - MAPTABLE/en
Différence entre versions
(Page créée avec « Let's say you have a problem printing the € symbol: another character is printed instead. In the printed file, find the € character and its value (hexadecimal). Then,... ») |
|||
(Une révision intermédiaire par un autre utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
+ | <languages/> | ||
Use this command if you experience problems printing special characters. (The command was originally created when the Euro "€" symbol was introduced). | Use this command if you experience problems printing special characters. (The command was originally created when the Euro "€" symbol was introduced). | ||
Ligne 15 : | Ligne 16 : | ||
* Run MAPTABLE a first time on the table you want to edit (the command creates a new table) | * Run MAPTABLE a first time on the table you want to edit (the command creates a new table) | ||
* Press F6 to print the description of the character set table | * Press F6 to print the description of the character set table | ||
− | * Run MAPTABLE again on the new table and change the settings for the | + | * Run MAPTABLE again on the new table and change the settings for the problematic characters (2 then type a new value in the box after the character depending on the result you got) |
− | * | + | * Edit the table in the Mapping environment parameters (Option 1 of the Operations Menu): Sxxxxxxxxx |
Version actuelle datée du 6 juin 2019 à 09:54
Use this command if you experience problems printing special characters. (The command was originally created when the Euro "€" symbol was introduced).
Use MAPTABLE to create a new table and edit it according to your needs.
- TABLE IN NAME: Name of the table to be modified
- SRC FILE NAME: Name of the source used for modifications (QTBLSRC by default)
- TABLE IN LIB: Library of the table to be edited
- TABLE OUT NAME: Name of the new table (9 characters and starting with an S)
- TABLE OUT LIB: Library of the new table
- OUTQ FOR TEST: Destination Outq for the table description spooled file
- OUTQ LIB: Outq library
Procedure
- Run MAPTABLE a first time on the table you want to edit (the command creates a new table)
- Press F6 to print the description of the character set table
- Run MAPTABLE again on the new table and change the settings for the problematic characters (2 then type a new value in the box after the character depending on the result you got)
- Edit the table in the Mapping environment parameters (Option 1 of the Operations Menu): Sxxxxxxxxx
Example:
Let's say you have a problem printing the € symbol: another character is printed instead. In the printed file, find the € character and its value (hexadecimal).
Then, look for the same character on the screen. The value before the character (3 digits) corresponds to the character number in the list and the value following it (2 characters) corresponds to the hexadecimal code for this character.
Replace this value with the one you have found in the spooled file.