My Oracle Support Banner

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

Last updated on APRIL 19, 2023

Applies to:

Oracle Reports Developer - Version to [Release 10gr2]
Oracle Forms for OCI - Version and later
Generic UNIX


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.
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
# 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.
%%Creator: Oracle Toolkit 2 for Motif PRODUCTION
%%Version: 10.1 2
%%CreationDate: (Wed Feb  3 14:49:17 2010)
%%For: (none NingLi 227-5010 <name> 20060726 oracledba (oracle@&lt;unknown host&gt;))
%%Routing: (none NingLi 227-5010 <name> 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


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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.