Oracle® Fusion Middleware Publishing Reports to the Web with Oracle Reports Services 11g Release 1 (11.1.1) Part Number B32121-02 |
|
|
View PDF |
This section describes:
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"
To verify that your printer queue installed correctly:
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
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