TECHNICAL INFORMATION DOCUMENT TITLE: PTF282 - Mapchan Patch DATE: 02OCT95 README FOR: PTF282 PRODUCT and VERSION: UnixWare 1.1 Installation Instructions: DATATYPE: datastream 1. Download the ptf282.Z and ptf282.txt files to the /tmp directory on your machine. 2. Read the release notes contained in file and follow the instuctions to add the package to your system. 3. Now become root, uncompress the file and add the package to your system using the following commands: $ su # uncompress /tmp/ptf282.Z # pkgadd -d /tmp/ptf282 ENGINEERING RELEASE NOTES ------------------------- Title ----- PTF282 - Mapchan Patch Product And Version ------------------- UnixWare 1.1.1, UnixWare 1.1.2, UnixWare 1.1.3, UnixWare 1.1.4 Abstract -------- Allow use of mapchan for parallel printers Symptom -------- Mapchan does not work for parallel printers SOLUTION SPECIFICS ------------------ General Description. ------------------- This patch installs an updated mapchan command that allows Unix parallel printer output to be mapped onto different character sets. New Features. ------------ None Software Notes and Recommendations. ---------------------------------- This PTF is intended for UnixWare 1.1.4 through UnixWare 1.1.4 systems which have the Enhanced Application Compatibility (acp) package installed and on which it is desired to map the parallel port printer output onto different character sets. Testing of the modified software contained in this package has been conducted only to the extent necessary to confirm that it resolves the problem(s) stated above ("Symptom"). Such testing consists of recreating the problem conditions and verifying that the problem no longer occurs. No other testing of this software has been done. Hardware Notes and Recommendations. ---------------------------------- This PTF is targeted for the i386, i486 and Pentium CPU's. Usage Information. ------------------ Because the parallel port is open only while output is actively being printed, the mapchan command is effective only when it is placed in the interface file for the printer device. In addition, because the parallel port has already been opened for writing, additional opens are not permitted, which requires that the "current channel" form of the command be used, that is: mapchan -f mapfile (no "channel" specified on the command line) Users wishing to implement mapchan for parallel printers should be aware that standard printer configuration via Printer_Setup creates interface files (in /etc/lp/interfaces) that are actually symbolic links to a "library copy" of one of the commonly-used interface scripts (in /usr/lib/lp/model). Before editing an interface file, the symbolic link should be deleted and replaced with an actual copy of the interface script. In most cases, the mapchan command should be inserted immediately before the while loop that does the actual printing. In the provided scripts, it begins with the following line: while [ $i -le $copies ] and is near the end of the script. This will result in "mapping" the output data, but not the banner page. If it is desired to "map" the banner page as well, the mapchan command must be added earlier in the script, before printing the banner page.