ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3makpfilecap.htm

100 lines
6.5 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Make printer files capable of DBCS" />
<meta name="abstract" content="In many cases, printer files are used by the server to produce data that will eventually be printed or displayed. In these cases, the data is first placed into a spooled file using one of the IBM-supplied printer files. The data is then taken from the spooled file and is displayed or printed based on the request of the user." />
<meta name="description" content="In many cases, printer files are used by the server to produce data that will eventually be printed or displayed. In these cases, the data is first placed into a spooled file using one of the IBM-supplied printer files. The data is then taken from the spooled file and is displayed or printed based on the request of the user." />
<meta name="DC.subject" content="file, DBCS, printer" />
<meta name="keywords" content="file, DBCS, printer" />
<meta name="DC.Relation" scheme="URI" content="rbal3iidf.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3makpfilecap" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Make printer files capable of DBCS</title>
</head>
<body id="rbal3makpfilecap"><a name="rbal3makpfilecap"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Make printer files capable of DBCS</h1>
<div><p>In many cases, printer files are used by the server to produce
data that will eventually be printed or displayed. In these cases, the data
is first placed into a spooled file using one of the IBM-supplied printer
files. The data is then taken from the spooled file and is displayed or printed
based on the request of the user.</p>
<div class="section"><p>When the data involved contains double-byte characters, the printer
file that is used to place the data into the spooled file must be capable
of processing double-byte data. A printer file is capable of processing double-byte
data when *YES is specified on the IGCDTA parameter for the file. In most
cases, the server recognizes the occurrence of double-byte data and takes
appropriate measures to ensure the printer file that is used is capable of
processing double-byte data.</p>
</div>
<div class="section"><p>In some cases, however, the server cannot recognize the occurrence
of double-byte data and might attempt to use a printer file that is not capable
of processing double-byte data. If this occurs, the output at the display
or printer cannot be readable. This can happen when object descriptions containing
double-byte characters are to be displayed or printed on an alphanumeric device.</p>
</div>
<div class="section"><p>To ensure that you receive correct results when you display or
print double-byte characters, some recommendations should be followed. Action
is required on your part if you have a single-byte national language installed
as a secondary language. Printer files that are received as part of the DBCS
version of a product are always capable of processing DBCS data.</p>
</div>
<div class="section"><div class="p">The following recommended actions should be performed after the
product or feature has been installed: <ol><li>If all printers and display devices attached to your server are DBCS-capable,
you can enable all printer files for double-byte data. For IBM-supplied printer
files that are received as part of a single-byte secondary language feature,
you can enable all printer files by issuing the following command: <pre>CHGPRTF FILE(*ALL/*ALL) IGCDTA(*YES)</pre>
<p>After
this command has been completed, all printer files in all libraries will be
enabled for double-byte data. The change will be a permanent change.</p>
</li>
<li>If all printer and display devices attached to your server are not DBCS-capable,
it is recommended that you do not enable all IBM-supplied printer files. <p>Instead,
use the library search capabilities of the server to control which printer
files will be used for any particular job. When the potential exists that
double-byte data will be encountered, the library list for the job should
be such that the printer files that are DBCS-enabled will be found first in
the library list. Conversely, if only single-byte data is expected to be encountered,
the library list should be set up so the printer files that are not enabled
for DBCS will be found first. In this way, the printer file capabilities will
match the type of data that will be processed. The decision as to what type
of printer file to use is made on the basis of what type of data will be processed.
The device that will be used to actually display or print the data might also
influence this decision.</p>
<p>In some cases it might be desirable to make
the printer file only temporarily DBCS-capable instead of making a permanent
change. For a specific job, you can make this temporary change by using the
OVRPRTF command.</p>
<div class="p">To temporarily enable a specific printer file, you
can use the following command: <pre>OVRPRTF FILE(filename) IGCDTA(*YES)</pre>
</div>
<p>Where
filename is the name of the printer file you want to enable.</p>
</li>
</ol>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3iidf.htm" title="If you do not properly indicate that a file is a DBCS file, some errors might occur.">Improperly indicated DBCS files</a></div>
</div>
</div>
</body>
</html>