بتاريخ: 16 ديسمبر 201411 سنة comment_257572 السلام عليكم أستخدم Developer 6i في الفورم والتقارير. عند تشغيل التقرير والضغط على زر الطباعه تظهر الرساله التاليه REP:3002 Error Initializing printer حيث يمكنني الطباعه من الورد بشكل ممتاز. قمت بحذف تعريف الطابعه وأعدت التعريف من جديد ونفس المشكله. تقديم بلاغ
بتاريخ: 17 ديسمبر 201411 سنة كاتب الموضوع comment_257578 شباب ما في حدا واجهته نفس المشكله وعرف حلها تقديم بلاغ
بتاريخ: 17 ديسمبر 201411 سنة comment_257582 السلام عليكم Trouble Shooting Guide for REP-3002 (Doc ID 203167.1) Trouble Shooting Guide for REP-3002 TROUBLE SHOOTING GUIDE FOR REP-03002 ------------------------------------ When does it occur? ------------------- a. When trying to run a report to Reports Server b. When trying to print a report from the web c. When a Reports is called from Forms or Forms Servlet 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 Reports 9.0.x $ORACLE_HOME/guicommon9/tk90/admin/ Reports 10.1.2.x $ORACLE_HOME/guicommon/tk/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 REPORTS_NO_DUMMY_PRINTER to true: Example for sh/ksh/bsh: REPORTS_NO_DUMMY_PRINTER=true; export REPORTS_NO_DUMMY_PRINTER Example for csh: setenv REPORTS_NO_DUMMY_PRINTER true If there is a printer in the system, set the following environment variables: Example for sh/ksh/bsh: REPORTS_NO_DUMMY_PRINTER=false; export REPORTS_NO_DUMMY_PRINTER PRINTER=; export PRINTER TK_PRINTER=; 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 REPORTS_NO_DUMMY_PRINTER=false setenv PRINTER= setenv TK_PRINTER= setenv TK_PTINT "lp -s -d'%n'" setenv TK_PRINT_STATUS="echo '%n' is valid" تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.