Adobe PDF file created by a 3270 printer session
General information
Adobe PDF format
Adobe PDF (Portable Document Format) is the file format read by Adobe Reader version 5.0 or later.
A Z and I Emulator for Web 3270 Printer session can be configured to convert the 3270 host print stream to an Adobe PDF file instead of printing it on a printer. For more information see Printer Setup (3270 Printer session, 5250 Printer session, 3270 Display session).
Adobe Asian font packs
The Adobe Asian font packs are font packages provided by Adobe to be used with Adobe Reader version 5.0 (or later) in order to display characters from the Chinese (Simplified), Chinese (Traditional), Japanese, or Korean language. There is one font pack for each of the 4 languages. The font packs can be downloaded from the Adobe web site.
Adobe PDF default paper sizes
The following table shows the default paper sizes for all locales.
Locale: | Default paper size: |
---|---|
US English and Canadian | Letter |
All other locales | A4 |
Adobe PDF default fonts
The following table shows the default fonts for all supported languages.
Group: | Languages: | Default font: |
---|---|---|
European languages | Greek, Latin 2, and Baltic languages | CourierNewSMT (See Note 1 below) |
All other European languages | Courier | |
DBCS languages | Simplified Chinese | STSongStd-Light-Acro |
Traditional Chinese | MSungStd-Light-Acro | |
Korean | HYSMyeongJoStd-Medium-Acro | |
Japanese | KozMinPro-Regular-Acro | |
Thai | Thai | Courier Thai |
Bidirectional languages | Arabic | Typing Arabic |
Hebrew | Cumberland |
Note 1: CourierNewSMT is similar to the Courier New font available on Windows platforms. The Courier font did not contain all the necessary characters for Greek, Latin 2, and Baltic languages.
Problems
In a 3270 Printer session with Adobe PDF output some characters are not displayed
Problem
On a Z and I Emulator for Web client with a DBCS locale, after the client has run a 3270 Printer session which has sent the print output to a file in Adobe PDF format, some characters are not displayed when the file is viewed with Adobe Reader version 5.0 (or later).
For a list of which characters are not being displayed, see the section for each DBCS language in the list of CMAP file names and CID code ranges below.
The source of the problem is that some of the character mappings are incorrect in the CMAP files of the Adobe Asian font packs.
Fix
The fix is to manually add the correct entries to the appropriate CMAP files. Follow these steps:
- Change to the CMap directory. Assuming that Adobe Acrobat was installed in the
c:\Program Files\Adobe\Acrobat 5.0
directory, the fully qualified path of the CMap directory isc:\Program Files\Adobe\Acrobat 5.0\Resource\CMap
. - Locate the CMAP file that needs to be changed. (See the list of CMAP file names and CID code ranges below.)
- Open the specified file with an ASCII editor and search for the line that begins with:
endcmap
- Above the line that begins with
endcmap
, add the lines of text in the CID code range. (See the list of CMAP file names and CID code ranges below.)- Add all the lines of text exactly as they are typed.
- For example, for Chinese (Simplified), you would add the 6 lines of text in the CID code range to the file
UniGB-UCS2-H
immediately before the line that begins withendcmap
.
- Save the file and close it.
- Restart Adobe Reader version 5.0 (or later).
CMAP file names and CID code ranges:
-
Chinese (Simplified)
- CMAP file:
UniGB-UCS2-H
- CID code range:
4 begincidrange <00a3> <00a3> 169 %% Pound sign <00ac> <00ac> 10014 %% Not sign <00a6> <00a6> 10015 %% Broken Bar <203e> <203e> 907 %% Overline endcidrange
- CMAP file:
-
Chinese (Traditional)
- CMAP file:
UniCNS-UCS2-H
- CID code range:
1 begincidrange <00a6> <00a6> 14050 %% Broken Bar endcidrange
- CMAP file:
-
Japanese
- CMAP file:
UniJIS-UCS2-HW-H
- CID code range:
1 begincidrange <007e> <007e> 100 %% Tilde endcidrange
- CMAP file:
-
Korean
- CMAP file:
UniKS-UCS2-H
- CID code range:
5 begincidrange <00a2> <00a2> 143 %% Cent <20a9> <20a9> 8154 %% Won sign <00ac> <00ac> 194 %% Not sign <00a6> <00a6> 93 %% Broken Bar (remap to Vertical Bar) <203e> <203e> 8188 %% Overline endcidrange
- CMAP file:
In a Korean locale, you cannot use Adobe Reader 6.00 to open an Adobe PDF file created by ZipPrint
In a Korean locale, if you use the ZipPrint function and you configure the printer to send the ZipPrint output to an Adobe PDF file, then you cannot open the Adobe PDF file using the default installation of Adobe Reader version 6.00.
To fix this problem, do one of the following actions:
- Install the Adobe Korean font pack.
- Upgrade Adobe Reader to version 6.02 or higher.
Adobe Reader version 5.1 and Adobe Reader version 6.02 or higher do not have this problem.