Item II12094 APAR Identifier ...... II12094 Last Changed ........ 00/11/14 DCF AND PRINTING THE EURO CURRENCY SYMBOL. 5748XX900 Symptom ...... IN INCORROUT Status ........... CLOSED CAN Severity ................... 4 Date Closed ......... 00/11/14 Component .......... INFOPALIB Duplicate of ........ Reported Release ......... 001 Fixed Release ............ Component Name PA LIB INFO ITE Special Notice Current Target Date .. Flags SCP ................... Platform ............ Status Detail: Not Available PE PTF List: PTF List: Parent APAR: Child APAR list: ERROR DESCRIPTION: DCF AND PRINTING THE EURO CURRENCY SYMBOL. LOCAL FIX: 1. Choose a font that contains the euro character. New font metrics files are supplied as part of the AFP Font Collection. I got them from a CD-ROM titled "IBM AFP Font Collection, Font Collection for AIX and OS/2, Version 2 Release 1", Volume Serial UAB719, LK2T-9269-00. You can use the WindowsNT FIND command to locate *.afm files that contain "Euro". Select an AFM file that contains "Euro", and also corresponds to a font listed in the DCFINDEX FONTPS. There are a few that correspond. 1. Courier in cou.afm corresponds with PSFCR FONTPS. 2. Courier Bold in coub.afm corresponds with PSFCRB FONTPS. 3. Helvetica in hel.afm corresponds with PSFHV FONTPS. 4. Helvetica Bold in helb.afm corresponds with PSFHVB FONTPS. Do a binary upload of your chosen font to the corresponding name. For example g:\psfonts\latin\cou.afm uploads to PSFCR FONTPS. If you choose a font that does not match one already listed in DCFINDEX FONTPS, you will have to modify DCFINDEX FONTPS to add the new font. The DCFINDEX FONTPS supplied with DCF includes those fonts which are always resident on PostScript printers. If you choose a font which is not resident in your printer, you will have to do additional work (see below). Consult your printer documentation to learn which fonts are resident. 2. Create a DCF codepage that will associate the euro character with a specific code point. In many codepages, the codepoint 9F is mapped to the International currency symbol (called "currency" in the codepages). In others, 9F is mapped to "bullet" or some other character. For example, you could choose PSCP0395 (the DCF default codepage) or PSCP0500 and change the 9F character from "bullet" to "Euro". To avoid changing your normal codepage, you can give the new codepage a new name like PSCPEURO, or PSCPE395. This way, the "bullet" character is still available in the normal codepage. 3. Create a symbol for euro in your Script input file with .DV, or define and start your chosen font and use your chosen codepoint. For example, .df font1 type('Courier') codepage pscpeuro .bf font1 This is 10.00 EUR .pf 4. Format the Script file using a PostScript logical device like DEV(PSA). 5. Do a binary download of your file and print it to a printer that has the chosen font resident. For example, an Infoprint 20 will print the example above because the Courier font with the euro is resident in the printer. If you have chosen a font which is not resident on your printer, you will need to use the FONTLAB tool from the AFP Font Collection to create a PFA file from the PFB file for the font. Then copy both the font and the output file to your printer. For example, if I have a 4216-031 IBM Personal Page Printer II defined as LPT1: I can print the test file by doing this: copy cou.pfa + myfile.ps LPT1: PROBLEM SUMMARY: PROBLEM CONCLUSION: TEMPORARY FIX: COMMENTS: Closing. MODULES/MACROS: SRLS: RTN CODES: CIRCUMVENTION: MESSAGE TO SUBMITTER: