Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    2

    Unanswered: Reports spooling

    hi
    Iam trting to spool a report on application server m/c from client a m/c who is accessing the appilcation through 9ias , i get the error " REP-3002 error initialising the printer " .
    Why am i getting this error iam just trying to spool and not print. The report iam generating is character mode. Can anyone please guide me regarding this.

    thanks and regards
    mamta.

  2. #2
    Join Date
    Sep 2003
    Posts
    156

    Re: Reports spooling

    Originally posted by mamta
    hi
    Iam trting to spool a report on application server m/c from client a m/c who is accessing the appilcation through 9ias , i get the error " REP-3002 error initialising the printer " .
    Why am i getting this error iam just trying to spool and not print. The report iam generating is character mode. Can anyone please guide me regarding this.

    thanks and regards
    mamta.
    there could be many causes of this...

    PURPOSE
    -------

    This bulletin is a consolidation of the known solutions related with the Reports error REP-03002.

    SCOPE & APPLICATION
    -------------------

    This troubleshooting guide has the common causes and potential solutions or guidelines to isolate and diagnose REP-03002 on Windows and Unix platforms.

    TROUBLE SHOOTING GUIDE FOR REP-03002
    ------------------------------------

    When does it occur
    a. When trying yo run a report to Reports Server b. When trying to print a report from the web c. When a Reports is called from Forms

    What is the complete error message?
    -----------------------------------

    REP-03002 - Error initializing printer; Please make sure a printer is installed. - or - REP-03002 - Internal error initializing printer information.
    What does the manual state about this error?
    --------------------------------------------

    REP-3002 Internal error initializing printer information. Cause: This is an abnormal condition. Action: For information, see "Abnormal Conditions".
    Why does it ocurr?
    ------------------

    Reports Server requires a printer in order to run a report.

    How to fix it?
    --------------

    1- For MS Windows NT:
    ---------------------

    - Start-> Settings-> Control Panel-> Services - Select Reports Server - Click on Startup button - Change on the "Log On As" section to "This account" and enter the userid/password of the user that installed Reports Server - Ensure that the user account where the Reports Server is installed has administrator privileges and a default printer. - If you are calling a report from Oracle Forms, start Forms Server as this user. - Restart the Reports Server as the new user. Another option is to copy the followings Windows NT registry values to the user that installed Reports Server. \\HKEY_USERS\DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices \\HKEY_USERS\DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts \\HKEY_USERS\DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Windows

    2- For Windows/2000:
    --------------------

    - Start-> Settings-> Control Panel-> Administrative Tools-> Services - Double click on the Reports Server - Go to "Log On" tab - Change on the "Log On As" section to "This account" and enter the userid/password of the user that installed Reports Server - Ensure that the user account where the Reports Server is installed has administrator privileges and a default printer. - If you are calling a report from Oracle Forms, start Forms Server as this user. - Restart the Reports Server as the new user.

    3- If the server machine does not have a printer installed:
    -----------------------------------------------------------

    - Go to Start --->Settings--->Printers - Double click Add Printer - Select My Computer - Select FILE for the port - Pick any print driver that windows has to install -- it does not matter which one you choose because you will be writing everything out to a file. - Select Keep Existing Driver - Leave the default printer name and select it is as your default printer - Select Not Shared and then Finish.

    4- For Unix:
    ------------

    a. Check uiprint.txt file.
    --------------------------

    This file is located on $ORACLE_HOME/guicommon6/tk60/admin/ Check for a valid printer entry there. Try to print from the operating system command line using the printer name defined in the uiprint.txt. (Use the lp command). Also check that the user running the report or the user who started up the reports server have read permissions at the operating system level on the uiprint.txt file. Check for the operating system open file limit parameter. Uiprint.txt could not be opened if the operating system is reaching that limit.

    b. Check the environment variables.
    -----------------------------------

    If the system has no printer, you cannot generate PostScript output; however you can generate HTML output setting the environment variable REPORTS60_NO_DUMMY_PRINTER to true: Example for sh/ksh/bsh: REPORTS60_NO_DUMMY_PRINTER=true; export REPORTS60_NO_DUMMY_PRINTER Example for csh: setenv REPORTS60_NO_DUMMY_PRINTER true If there is a printer in the system, set the following environment variables: Example for sh/ksh/bsh: REPORTS60_NO_DUMMY_PRINTER=false; export REPORTS60_NO_DUMMY_PRINTER PRINTER=<printer name>; export PRINTER TK_PRINTER=<printer name>; export TK_PRINTER TK_PRINT="lp -s -d'%n'"; export TK_PRINT TK_PRINT_STATUS="echo '%n' is valid"; export TK_PRINT_STATUS Example for csh: setenv REPORTS60_NO_DUMMY_PRINTER=false setenv PRINTER=<printer name> setenv TK_PRINTER=<printer name> setenv TK_PTINT "lp -s -d'%n'" setenv TK_PRINT_STATUS="echo '%n' is valid"

    5- Other special circumstances.
    ------------------------------

    - Running a report with RWCLI60.exe without a DESFORMAT parameter. - Running a report using Windows "AT" scheduler. The problem here is that the AT-command cause the job to run as Service in the background using the SYSTEM account that does not have a default printer selected/installed.
    rgs,

    Ghostman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •