Category Archives: Windows - Page 18

Troubleshooting Custom Reports

Running Report from Command Prompt

To run the pay_register.rdf custom report from the Command Prompt, enter the following command at the prompt:

C:> C:oracleproduct10.2.0db_2binrwbuilder.exe report="C:Documents and Settingsuser01DesktopReports Tuning Issuetest.aippay_register.rdf" userid=apps/apps@vis2.world tracemode=TRACE_APPEND tracefile=c:temppay_register01.txt traceopts=(trace_SQL,TRACE_PLS,trace_prf,trace_tms)

The report loads in Reports Builder.

1. Compile the packages by typing Shift+Ctrl+K.

2. Run the Paper Layout version of the report by Shift+Ctrl+R.

3. In the Payroll ID parameter field, enter 112.

4. In the Pay Advice Date field, enter 2003/08/29.

Running SQL Code in SQL Developer

1. Open the report in Reports Developer and double-click on the Data Model icon (not word).

2. Double-click the Q_1 box. The SQL code for the Q_1 query appears.

3. Copy all the SQL code and run it in SQL Developer.

4. For the p_payroll_id, enter 112

5. For the p_pay_advice_date, enter 29-AUG-2003

Installing Oracle Applications Release 11.5.10.2 on Demo Laptop (Windows 2000 Pro)

Installing Oracle Applications Release 11.5.10.2 on Demo Laptop (Windows 2000 Pro)
———————————————————————————-

See Metalink Doc ID:  Note: 316806.1 (Subject: Oracle Applications Installation Update Notes, Release 11i (11.5.10.2))

1. Installed Windows 2000 Pro on 160GB hard drive: C: 160GB
Formatting C: as NTFS took about 1 hour
Setup copied all files on hard drive

2. Under Personalize Your Software:
Name: applmgr
Organization: Illuminat

3. Under Computer Name and Administrator Password
Computer name: APPSWINDOWS
Administrator password: <leave blank>

4. Install Windows 2000 Service Pack 4.

5.
******************************************
THIS WORKS: ENABLE LOOPBACK ADAPTER & DISABLE NETWORK ADAPTER
SET LOOPBACK ADAPTER TO STATIC IP ADDRESS
IP: x.x.x.x
GATEWAY: 255.255.255.0

PRIMARY DNS: x.x.x.x
SECONDARY DNS: x.x.x.x
******************************************

6. Install a printer (any printer will do, for example EPSON FX-80)

7. Make directory C:TEMP. Point environment variable to TEMP, TMP and TMPDIR to C:TEMP.

8. Install MKS Toolkit to C:mksnt.

9. Install Microsoft Visual C++ 6.0 to C:VC98. Apply Visual Studio Service Pack 3.

10. Unzip GnuMake to a temporary directory (e.g. C:TEMP). (No need to install Zip/Unzip and Java. Run ‘which unzip.exe’). Recompile GNU Make by running VCVARS32.bat and then changing to the GNU Makebin directory and running build_w32.bat (TWICE). Change to the WinRel directory and copy gnumake.exe to c:mksntmksnt.

11i Installation Troubleshooting

Installation of 11i instance on Windows Server 2003

1. Installed Visual C++ 6.0 and Visual Studio Service Pack 4

2. Set IP address in hosts file

3. Installed ActivePerl and Microsoft XML Parser

4. Started staging process:
cd
perl E:Disk1rapidwizadautocfg.pl

Error Encountered:
—————–
Only 12-13 files copied from Start CD

5. Uninstalled MKS Toolkit from C:Program Files and reinstalled it to C:mksnt

6. Changed TEMP environment variables to C:TEMP

7. Retried staging process:

Error Encountered:
—————–

Failed to copy adautocfg.pl to C:TEMPstaging

8. Determined which perl was being executed:
which perl

perl from MKS Toolkit being executed, because it is ahead of ActivePerl on path.

9. Uninstalled and reinstalled ActivePerl.

10. Retried staging process. Same error (Failed to copy adautocfg.pl to C:TEMPstaging)

11. Modified PATH environment variable so that ActivePerl (C:PERLbin) ahead of MKS Toolkit in path

12. Retried staging process. Staging progressing without errors.

13. Started installation by running rapidwiz

Error Encountered:
—————–

‘which’ not found

Solution:
——–

In Rapid Install, set MKS Directory to C:mksntmksnt

Error Encountered:
—————–

‘gnumake’ not found

Solution:
——–

Unzip make3.81 tar, set VC environment (VCVARS.bat), compiled gnumake (build_w32.bat) and copied gnumake.exe to C:Windowssystem32. Check that gnumake is in path by typing ‘which gnumake’

14. No errors encountered while installing. Post-install steps completed successfully.

15. After installing, logged on to application and submitted concurrent job. ‘Inactive Manager’

Error Encountered:
—————–

Active Users report completed on error:

ERR REP-3002: Error initializing printer. Please make sure a printer is installed.

Solution:
——–

Checked Metalink Doc ID: Note:365267.1 (Subject: All Requests End In Error With REP-3002: Error Initializing Printer)

Installed a local printer (Epson FX-80)

Error Encountered:
—————–

Internet Explorer crashing when forms are loaded.

Solution:
——–

Deinstall JInitiator and reinstall it.

Installing Oracle Applications 11i Checklist

This is a list of steps to check for when installing Oracle Applications.

Step 1:        Ensure that hostname and IP address are in hosts file. Under Windows, ensure that in the hosts file, the hostname is in the following order:

127.0.0.1                    localhost.localdomain                       localhost

xx.xx.xx.xx               hostname.domainname                   alias

Step 2:        Ping machine. It should return:

C:> ping alias

Pinging hostname.domainname [xx.xx.xx.xx] with 32 bytes of data:

Step 3:        Create domain user applmgr and ensure that it is assigned to the Administrators group of the local machine.

Step 4:        Install Visual C++ 6.0 to C:VC98 and apply service pack 4

Step 5:        Install Cygwin to C:cygwin (see Metalink document “Using Cygwin to Maintain Release 11i on Windows” Doc ID:302859.1 for packages to download).

Step 6:        To compile GNU Make, run VCVARS.bat from Visual C++ directory and in the gnumake-3.79.1 directory, run build_w32.bat twice. Copy gnumake.exe to c:cygwinbin (or C:mksntmksnt).

Step 7:        Install Microsoft XML Parser (MSXML) 3.0 Service Pack 4 or later SDK. Copy file from Microsoft XML Parserlib to C:VC98lib.( 11.5.9)

Step 8:        Install Java SDK 1.3.1_18 (11.5.9) (or 1.3.1_15?)

Step 9:        Install Perl (download ActivePerl from http://www.perl.com) (11.5.10)

Step 10:   Copy zip.exe and unzip.exe to C:mksntmksnt

Step 11:    Ensure that all files are on the path:

which gnumake

which perl

which zip

which cc

which link

Modify path if necessary to include: C:Perlbin; C:cygwinbin;C:VC98bin.

Step 12:   Ensure correct versions of Perl and Java installed:

Perl –version

ActivePerl version should be v5.8.8

On Linux, Perl should be 5.003 or later

Java –version

Should be 1.3.1_18

Step 13:   Set TEMP and TMP environment variables for user applmgr to C:TEMP.

Step 14:   Check manual on startCD for instructions on directory structure (11.5.9).

Step 15:   Set up staging area.

Setting Up Custom GL Menus and Functions

Step 1: Navigate to Security > Responsibility > Request. Enter a new record with a new Group, Application, and Code. Then enter a new Request type.

Step 2: Next, navigate to Application > Function. Press F11 and search for CS%FND%. Locate CS_FNDRSRUN. Click the Form tab. Copy and paste the Parameters value to text file.

Step 3: Insert a new record in Form Functions named MFGL_FNDRSRUN. Paste the copied value into the Parameters field and modify the APPL_SHORT_NAME.

Step 4: Get menu name: GL_SUPERUSER

Navigate to Security > Responsibility > Define. Search for the custom responsibility by pressing F11 and entering the searching string, then press Ctrl+F11.

Step 5: Navigate to Application > Menu. We want to modify the Import Journals and review data Menu. Pull up GL_SUPERUSER menu and click View Tree. Navigate to Journals, then Import. Right-click and choose Properties. Alternatively, search for GL%IMPORT%.

Step 6: The GL_SU_J_IMPORT menu appears. Insert a new menu line together with its Prompt and Function Name. Then Save.

Running Custom Reports in ADI 7.3

This documents the process of running a custom report in ADI.

Step 1:        Log on to ADI (ILLUMINAT/******@TEST)

Step 2:        Submit Ledger Process > Report

Step 3:        Existing Report: MGFL%

Step 4:        “MGFL Unaudited Revenue Stmt”

Step 5:        Period: MAR-06

Step 6:        Click Publishing Button

Step 7:        Spreadsheet, New Workbook

Step 8:        Publish To:

Step 9:        Report Type: Financial Statement

Step 10:   Green button: Submit and Clear the Form

Step 11:    Then click Publish Report

Troubleshooting APP-10000: ORA-12500 Error

While creating a new vendor in Oracle Applications, the following error appeared:

APP-10000: ORA-12500: TNS:listener failed to start a dedicated server process
ORA-06512: at "PO.API_PUT_ERROR_SP", line 9
ORA-06512: at "PO.API_POVNDHDR_TRG", line 208
ORA-12500: TNS:listener failed to start a dedicated server pricess
ORA-04088: error during execution of trigger 'PO.API_POVNDHDR_TRG' occurred in AP_VENDORS_PKG.INSERT_ROW<-APXVDMVD with parameters (ROWID = , VENDOR_ID = 10282) while performing the following operation:
Insert into PO_VENDORS

The following steps were taken to troubleshoot the issue:

1. Ensured the respective Oracle services were running properly (OracleServicePROD, OracleStartPROD, the Concurrent Manager and TNS Listener) by stopping and restarting them.

2. Obtained TNS-12500 troubleshooting document from Oracle’s Metalink website and ensured that all items on the list were resolved.

3. Checked the Event Log on EWSD1PROD for error messages.

4. Checked Oracle’s ALERT.LOG file on ORA errors messages.

5. Ran ScanDisk on the E: of the EWSD1PROD (Oracle Financials) server.

6. Checked the SQL code in the procedure “PO.API_PUT_ERROR_SP”, which appeared in the error message. This showed that the procedure was attempting to access the MAXIMO instance.

7. Completed the backup on MAXIMO and allowed the Oracle database services on the MAXIMO server to restart.

Solution: Transactions were being pushed from Oracle Applications to the MAXIMO server, which had been shut down. Upon restarting MAXIMO server, the issue was resolved.

Installing Oracle Application Express

This documentation shows the steps covered in installing Oracle Application Express.

Refer to: http://www.oracle.com/technology/products/database/application_express/index.html

10gR1 Installation

Step 1:        Install Oracle Database 10g on Windows machine using the Oracle Database 10g Release 1 (10.1.0.2) for Microsoft Windows (32-bit) CD.

Step 2:        Install HTML DB from Oracle Database 10g Companion CD.

Step 3:        Point browser to http://oracleserver.support.com:7777/pls/htmldb

 

10gR2 Installation

Step 1:        Install Oracle Database 10g on Windows machine using the Oracle Database 10g Release 1 (10.1.0.2) for Microsoft Windows (32-bit) CD.

Issue encountered where it was not able to write to directory. It was defaulting to D:oracleoradata for the data files. This is the CD-ROM drive, so I had to do Advanced installation and specify E:oracleoradata.

Step 2:        Install HTML DB from Oracle Database 10g Companion CD.

Step 3:        Point browser to http://oracleserver.support.com:7777/pls/htmldb

VIS12 Installation

Step 1:        Log on to the appslinux server either at the console or via VNC and load the Terminal Command Line.

Step 2:        To determine products installed, navigate to /u5/oracle/VIS12/db/tech_st/10.2.0/ and source the environment

(. ./VIS12_appslinux.env).

Step 3:        Next, navigate to /u5/oracle/VIS12/db/tech_st/10.2.0/oui/bin and run runInstaller (./runInstaller)

Step 4:        Download and install the apex_3.0.zip file from Oracle.com onto any directory that applmgr owns (e.g. /u0).

Step 5:        Unzip apex_3.0.zip into the /u0 directory.

[applmgr@appslinux 9.2.0]$ cd /u0/
[applmgr@appslinux u0]$ unzip apex_3.0.zip

Step 6:        The VIS12 instance shall be used. Navigate to the VIS12 10.2.0 Oracle Home and source the environment.

[applmgr@appslinux u0]$ cd /u5/oracle/VIS12/db/tech_st /10.2.0/
[applmgr@appslinux 10.2.0]$ . ./VIS12_appslinux.env
[applmgr@appslinux apex]$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Jul 10 18:29:00 2007
Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select tablespace_name from dba_tablespaces order by 1;
TABLESPACE_NAME
------------------------------
APPS_CALCLIP
APPS_OMO
APPS_TS_ARCHIVE
APPS_TS_DISCO
APPS_TS_DISCO_OLAP
APPS_TS_INTERFACE
APPS_TS_MEDIA
APPS_TS_NOLOGGING
APPS_TS_QUEUES
APPS_TS_SEED
APPS_TS_SUMMARY
APPS_TS_TOOLS
APPS_TS_TX_DATA
APPS_TS_TX_IDX
APPS_UNDOTS1
B2B_DT
B2B_IDX
B2B_LOB
B2B_RT
BAM
CTXSYS
CWMLITE
DCM
DISCO_PTM5_CACHE
DISCO_PTM5_META
DSGATEWAY_TAB
GEOR_TBS
HTMLDB
IAS_META
MTR
NOETIX
NON_APPS_TS_DATA
OCATS
ODM_DATA
OLTS_ATTRSTORE
OLTS_BATTRSTORE
OLTS_CT_STORE
OLTS_DEFAULT
OLTS_SVRMGSTORE
OPMOR
ORABPEL
OWAPUB
PORTAL
PORTAL_DOC
SYNCSERVER
SYSAUX
SYSTEM
TEMP1
TEMP2
XDB
55 rows selected.
SQL>

VIS4 Installation

Step 7:        Log on to the appslinux server either at the console or via VNC and load the Terminal Command Line.

Step 8:        Download and install the apex_3.0.zip file from Metalink onto any directory that applmgr owns (e.g. /u0).

Step 9:        Unzip apex_3.0.zip into the /u3 directory.

[applmgr@appslinux 9.2.0]$ cd /u0/
[applmgr@appslinux u3]$ unzip apex_3.0.zip

Step 10:   The VIS4 instance shall be used. Navigate to the VIS4 9.2.0 Oracle Home and source the environment.

[applmgr@appslinux u3]$ cd /u3/oracle/vis4db/9.2.0/
[applmgr@appslinux 9.2.0]$ . ./VIS4_appslinux.env

Step 11:    Change directory to the apex working directory.

[applmgr@appslinux u3]$ cd /u0/apex
[applmgr@appslinux apex]$ ls
apex_epg_config11.sql  core
apex_epg_config.sql    coreins.sql
apexins.sql            doc
apexvalidate.sql       images
apxconf.sql            load_trans.sql
apxremov.sql           owa
apxxepwd.sql           utilities
builder                welcome.html

Step 12:   Log on to sqlplus and check if the required tablespaces exist:

[applmgr@appslinux apex]$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.5.0 - Production on Wed Jun  27 10:51:04 2007
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Pro duction
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
SQL> select tablespace_name from dba_tablespaces order by 1;
TABLESPACE_NAME
------------------------------
APPS_TS_ARCHIVE
APPS_TS_MEDIA
APPS_TS_NOLOGGING
APPS_TS_QUEUES
APPS_TS_SEED
APPS_TS_SUMMARY
APPS_TS_TX_DATA
APPS_TS_TX_IDX
APPS_TS_TX_INTERFACE
APPS_UNDOTS1
CTXSYS
TABLESPACE_NAME
------------------------------
DATA
ODM
OLAP
OWAPUB
PORTAL
SYNCSERVER
SYSTEM
TEMP
19 rows selected.

Step 13:   The Temp tablespace exists, but there is no SYSAUX. This tablespace shall be created for use with APEX.

SQL> create tablespace sysaux
datafile '/u3/oracle/vis4data/sysaux.dbf' size 32M
autoextend on
maxsize unlimited
permanent
online
extent management local;
Tablespace created.

Step 14:   Run the command:

SQL> @ apexins oracle sysaux sysaux temp /i/

Step 15:   Run the command:

SQL> @apex_epg_config11 /u0

Step 16:   Run the command:

SQL> alter user anonymous account unlock;
User altered.

Step 17:   Run the command:

SQL> select dbms_xdb.gethttpport from dual;
GETHTTPPORT
-----------
0

Step 18:   Run the command:

SQL> exec dbms_xdb.sethttpport(8080);

Step 19:   Run the command:

[applmgr@appslinux ~]$ cd /u5/oracle/VIS12/apps/apps_st/ appl/
[applmgr@appslinux appl]$ . ./APPSVIS12_appslinux.env
[applmgr@appslinux appl]$ cp -rf /u0/apex/images/ /u5/oracle/VIS12/apps/tech_st/10.1.2/Apache/Apache/

To source 9.2.0 RDMBS environment:

cd /u5/oracle/VIS12/db/tech_st/10.2.0/
. ./VIS12_appslinux.env
[applmgr@appslinux appl]$ . ./APPSVIS12_appslinux.env
[applmgr@appslinux appl]$ echo $ORACLE_HOME
/u5/oracle/VIS12/apps/tech_st/10.1.2 (INCORRECT HTTPD HOME)

SQL to remove schemas after a failed new installation

drop user flows_030000 cascade;
drop user flows_files cascade;

SQL to remove Oracle Application Express from the Database

@apxremov.sql
drop user FLOWS_010500 cascade;
drop user FLOWS_020000 cascade;
select username from dba_users order by 1;
select owner, object_name, object_type, status from dba_objects where status = ‘INVALID’;

SQL to install Oracle Application Express from the Database

@apexins oracle sysaux sysaux temp1 /i/

THE BELOW IS CORRECT:

/u5/oracle/VIS12/inst/apps/VIS12_appslinux/ora/10.1.3

Location of updated dads.conf: /u5/oracle/VIS12/apps/tech_st/10.1.2/Apache/modplsql/conf

Log file:

/u5/oracle/VIS12/inst/apps/VIS12_appslinux/logs/ora/10.1.3/Apache/

To stop and start HTTP server:

/u5/oracle/VIS12/inst/apps/VIS12_appslinux/admin/scripts

Setting Up Oracle Applications Desktop Integrator (ADI) 7.2

This documentation covers locating the latest version of ADI on Metalink, downloading it, installing it on the client machine and configuring it to access an Oracle Applications instance.

Step 1:        Log on to Oracle Metalink using your logon information (email address and password).

Step 2:        Search for and read “Application Desktop Integrator (ADI) – FAQ” (Doc ID: Note:106667.1) to obtain instructions to download the latest version of ADI.

(Adapted from the FAQ):

QUESTION: Where can I download ADI from?

Download ADI from Metalink

Log on to http://metalink.oracle.com
Click the Patches & Updates tab.
On the Patches & Updates page, click Advanced Search.
Enter:
Product or Product Family: Click the Torchlight icon to search for Applications Desktop Integrator (adi).
Release: ADI 7.2
Platform or Language: Microsoft Windows (32-bit) Client
Patch Type: Any
Press Go and the 7.2 base release will be available for download.

Step 3:        The results of the search are returned at the bottom of the page.

Click the link ‘3966101’ to locate the patchset.

Step 4:        You may be required to enter a username and password to access the file. Enter the email address and password that you used to log onto Metalink.

Step 5:        Details about the patchset are displayed on screen.

Click Download to begin downloading the file. Note that the download size is 71MB.

Step 6:        Click Save in the File Download dialog box, and then choose a location to save the file.

Step 7:        After downloading, execute the patchset by double-clicking on it.

Step 8:        Enter a location to unzip the files to, and then click Unzip.

Step 9:        Ensure that all files were unzipped correctly (you should see ‘5179 file(s) unzipped successfully’), and then click Ok.

Then click Close to close the WinZip Self-Extractor program.

Step 10:   In the folder that ADI was unzipped to, read the README.TXT file. It points the user to the ADI Installation Guide (ADI.PDF), which should be read before proceeding.

Step 11:    After reading the installation guide, double-click Setupadi.exe to begin installation.

Caution: Remove headphones while installing this product since it uses a lot of extremely annoying sound effects.

Step 12:   The Oracle ADI Installer loads.

Click Oracle Applications Desktop Integrator for Excel 2000/XP/2003.

Step 13:   Click Yes to begin installation.

Step 14:   The Oracle Installer Settings form is displayed. In the Company Name field, enter the name of the company. Then click Ok.

Step 15:   The Software Asset Manager appears.

Install all of the products listed under Available Products. The products can be installed individually (one at a time), or all products can be selected and installed.

Note: The ADI Online Help will require you to choose a language to install.

Step 16:   After installing the products, click Exit to exit the installer. You will be required to reboot the machine after exiting the installer.

Step 17:   After the computer restarts, load Applications Desktop Integrator by clicking on the Start button, All Programs, Oracle ADI, and finally Applications Desktop Integrator.

Note: Let the client log on to the machine so that you can configure ADI under the user’s id. This is necessary since signon details are not shared between users.

Step 18:   When the application is first loaded, a message appears informing the user to select an Applications database.

Step 19:   After reading the message by the Office Assistant, click on the Signon button.

Step 20:   The Signon form appears. Since there are no predefined databases, click Define Databases to define a new Applications database.

Step 21:   The Select Database form appears. Click Add to add a database.

Step 22:   Fill out the fields in the Add Database Details form, and then click OK.

Copy sqlnet.ora and tnsnames.ora from the “806 NET80” directory in the Project Folder to c:orantnet80admin and c:orantnetworkadmin. Note that these files contain configuration information for the production instance only.

In addition, each instance has a unique server ID. To obtain the server ID for the production instance, navigate to the Project Folder, and then open the file “Server ID.txt”. Copy the hexadecimal string under MFGP and paste it into the Server ID field in the Add Database Details form.

Step 23:   After setting up the database details, save the information and log on to ADI using an Oracle Applications username:

After logging on, perform the following:

  • Choose a Responsibility (for example, GL Super User)
  • From the ADI Toolbar, click Submit Report
  • Click Financial Statement
  • Click in the Report Name, enter % as criteria, click OK and then select a report (for example, Unaudited Balance Sheet)
  • Choose Period (for example, APR-07)
  • Click the Publishing button
  • Select Spreadsheet
  • Click Submit

The job is submitted and completes within a few minutes. It will automatically open in Excel on completion.

Errors Encountered

Error Message: “No Listener”

Solution: Either instance on server does not exist or entry in TNSNAMES.ORA is incorrect. If TNS entry in the local TNSNAMES.ORA file is correct, then listener or database is not started on the server.

Error Message: “ORA-12571: TNS Packet Writer Failure”

Solution: Cannot send packets to the server. A firewall is blocking packets on the client machine.

Error Message: “ORA-12154: TNS: could not resolve service name”

Solution: Ensure that the service name is in c:orantnet80admintnsnames.ora

Check that c:orantnet80adminsqlnet.ora has names.default_domain and name.default_zone commented off.

Check %WINDIR%system32driversetchosts file has hostname and ip address.

Error Message: “An error occurred while attempting to establish an Applications File Server connection. There may be a network configuration problem, or the TNS listener may not be running. Nodename : ORACLESRV”

Solution: Incorrect FNDFS entry is in the TNSNAMES.ORA file. Recopy sqlnet.ora and tnsnames.ora from server onto client machine.

Metalink References

Subject: Tns Packet Writer Failure When Trying To Connect To ADI Ora-12571 (Doc ID: Note:264952.1)

Subject: Unable To Start ADI ORA-12571:TNS:Packet Writer Failure (Doc ID: Note:351088.1)

Subject: Troubleshooting the “Error Occurred While Attempting to Establish an Applications File Server Connection” (Doc ID:  Note:117012.1)

[amazon asin=0071779728&template=iframe image&chan=default]     [amazon asin=1849680620&template=iframe image&chan=default]     [amazon asin=0071622292&template=iframe image&chan=default]

Troubleshooting APP-FND-00500 Error

Problem:

The APP-FND-00500 error was encountered when printing TD4 slips.

Solution:

Set printer output to RAW.

Reference:

Metalink Doc ID: 200359.1 (Oracle Application Object Library Printer Setup Test), which will assist in validating the printer configuration/setup in Oracle Applications.