Not Able to Generate PCL Printer Output After Updating Uiprint.txt Configuration File (Doc ID 1064339.1)

Last updated on JUNE 17, 2016

Applies to:

Oracle Reports Developer - Version 10.1.2.0.0 to 10.1.2.3 [Release 10gr2]
Generic UNIX
***Checked for relevance on 18-Jan-2013***

Symptoms

Trying to generate PCL printer output on Unix is not working and the report output is being generated using PostScript.

The following is the configuration on the server.
$ORACLE_HOME/bin/reports.sh
REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
TK_PRINT_STATUS='echo %n is valid'; export TK_PRINT_STATUS
TK_PRINT=lp -s -d'%n'; export TK_PRINT
TK_PRINTER=printer1; export TK_PRINTER
PRINTER=printer1; export PRINTER

$ORACLE_HOME/guicommon/tk/admin/uiprint.txt
# Not A Printer:ASCII:1:Configure your uiprint.txt file:none:
printer1:PCL:5:High Speed printer:ui4.hpd:

When running a report using desname=printer1, the report output is still created using PostScript.
When checking the Report cached output file, the following is seen in the eps file.
%!PS-Adobe-3.0
%%Creator: Oracle Toolkit 2 for Motif 10.1.2.0.2 PRODUCTION
%%Version: 10.1 2
%%CreationDate: (Wed Feb  3 14:49:17 2010)
%%For: (none NingLi 227-5010 eric.stevens 20060726 oracledba (oracle@<unknown host>))
%%Routing: (none NingLi 227-5010 eric.stevens 20060726 oracledba)
%%Title: 'arrest_review_list' (Oracle Toolkit Application)
%%LanguageLevel: 1
%%Requirements: numcopies(1)
%%DocumentData: Clean7Bit
%%PageOrder: Ascend
%%Pages: (atend)
%%Orientation: Portrait
% NOTE: This file was generated with the PPD file default.ppd
%%DocumentNeededResources: font Courier font Courier-Bold

Changes

$ORACLE_HOME/guicommon/tk/admin/uiprint.txt was modified and ui4.hpd file was added to the printer entry.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms