Skip Headers
Oracle® Fusion Middleware Publishing Reports to the Web with Oracle Reports Services
11g Release 1 (11.1.1)

Part Number B32121-06
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

10.2 Setting Up a Printer on UNIX

This section describes:

10.2.1 Installing a Printer on UNIX

The installation of a printer queue is slightly different depending upon your flavor of UNIX. Some platforms may have user interface tools to help in the installation. Please refer to your UNIX platform documentation for the steps on adding a printer queue.

The following sample script adds a printer queue on the Solaris 2.6 platform. The domain information expldomain and printer names printer1 and printer2 are hard coded in this example. The printer is a Xerox DCS model.

#!/bin/sh 
echo "Please enter the Printer Name Either printer1 or printer2\n"
read PRINTER
LOGFILE=/var/adm/config.log
PATH=/usr/bin:/usr/sbin:$PATH 
export PRINTER LOGFILE PATH 
lpsystem -t bsd expldomain >$LOGFILE 2>&1
lpadmin -p "$PRINTER" -s expldomain!"$PRINTER"  -I any >$LOGFILE 2>&1
mkdir -p /usr/Xerox_DCS /usr/Xerox_DCS/original
chown -R 755 /usr/Xerox_DCS /usr/Xerox_DCS/original
cp /usr/bin/lp /usr/Xerox_DCS/original
mv /usr/bin/lp /usr/bin/lp.Xerox
ln -s /tmp /usr/Xerox_DCS/tmp
echo "$PRINTER" > /usr/Xerox_DCS/printer.db
cp  /usr/local/packages/dc99cc23.txt  /usr/Xerox_DCS
ln -s /usr/Xerox_DCS/dc99cc23.txt /usr/bin/lp
lpadmin -d "$PRINTER"

10.2.2 Verifying the Printer Setup for Oracle Reports

To verify that your printer queue installed correctly:

  1. Ensure that the PPD or HPD file used with the installed printer queue is available in the following location:

    ORACLE_INSTANCE/config/FRComponent/frcommon/guicommon/tk/admin/PPD
    ORACLE_INSTANCE/config/FRComponent/frcommon/guicommon/tk/admin/HPD
    
  2. Ensure that the font metrics, AFM or TFM files, installed on the printer are available in the following location:

    ORACLE_HOME/guicommon/tk/admin/AFM
    ORACLE_HOME/guicommon/tk/admin/TFM