0% found this document useful (0 votes)
165 views

Resolve Junk Characters Issue While Printing in Oracle Applications As Output

The document provides steps to resolve junk character issues when printing Oracle applications output in Arabic. The solution involves configuring printer and pasta profiles, installing a universal printer type, updating configuration files, and removing certain code lines from PSTLL.prt. Implementing these changes is meant to allow proper display of Arabic reports when printing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views

Resolve Junk Characters Issue While Printing in Oracle Applications As Output

The document provides steps to resolve junk character issues when printing Oracle applications output in Arabic. The solution involves configuring printer and pasta profiles, installing a universal printer type, updating configuration files, and removing certain code lines from PSTLL.prt. Implementing these changes is meant to allow proper display of Arabic reports when printing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Resolve junk characters issue while printing in

oracle applications as output


Setting Language parameter to “ALL” give unable to print file error.

Solution:

1) Make the pasta configuration

a) -Profiles : Viewer , Encoding .

Profile > System > %viewer%

Viewer: Text – Browser

Viewer: Application for Text – Null (No spaces)

Profile > System > %encoding%

FND: NATIVE CLIENT ENCODING – WE8MSWIN1252

Replace with – AR8ISO8859P6 (Application CharacterSet)

b) -prt files : L, PSTLL

-Printer : noprint

c) Install > Printer

Printer: noprint

Type: –PASTA Universal Printer Type

d) -Install >> Viewer Options

e) Install > Viewer Options


File Format: Text

Mime Type: text/plain

Description: Browser

Check mark on – Allow Native Client Encoding

File Format: Text

Mime Type: apps/bidi

Description: Pasta viewer for text

Remove check mark form – Allow Native Client Encoding

f) $FND_TOP/resource – pasta.cfg

/apps/apps_st/appl/fnd/12.0.0/resource

BiDi Specific Options:

direction=rtl – change to default

dolayout=n – change to y

bidi_algorithm=oracle – change to Unicode

$FND_TOP/reports – /apps/apps_st/appl/fnd/12.0.0/reports

g) L.prt and PSTLL.prt (4 lines to be added)

nls locale “arabic”

nls datastorageorder “logical”

nls contextuallayout “no”

nls contextualshaping “yes”

h) /apps/tech_st/10.1.2/guicommon/tk/admin – Tk2Motif.rgb

!Tk2Motif*fontMapCs: iso8859-15=WE8ISO8859P15

Tk2Motif*fontMapCs: iso8859-15=AR8ISO8859P6
Do not forget to make the changes in the following file:

/apps/tech_st/10.1.2/guicommon/tk/admin/AR – Tk2Motif.rgb

!Tk2Motif*fontMapCs: iso8859-15=WE8ISO8859P15

Tk2Motif*fontMapCs: iso8859-15=AR8ISO8859P6

/apps/tech_st/10.1.2/guicommon/tk/admin – Tk2Motif_UTF8.rgb

Not to be touched as we are not using the UTF8 Characterset.

For printer setup if required:

i) Install > Printer > Register

Printer: HPLJ4250_Demo

Type: –PASTA Universal Printer Type

j) Remove 2 lines from PSTLL.prt

$FND_TOP/reports –

/apps/apps_st/appl/fnd/12.0.0/reports

# code “4” esc “[4m”

# code “5” esc “[5m”

After the completion of the steps done above Arabic reports output were to be seen as desired however
we had some issues with the printing session.

Options – Select Printer, copies 1, All Languages – Junk Characters.

Options – Select Printer, copies 1, Arabic – Junk Characters.

2) Navigate to the following:

Install >> Printers >> Register >> assign the ‘ Pasta universal driver ‘ type to the HP
printer .

Please note that the printer should support post script level 2 printing.

a) Install > Printer > Register > Printer — HPLJ4250_Demo

Type — –PASTA Universal Printer Type

Description — CRP Demo Printer

Saved the changes.

b) 325322 — PSTLL

Please remove the 2 lines :

code “4” esc “[4m”

code “5” esc “[5m”

from the PSTLL.prt file, bounce the managers and then retest the same.

Comment those 2 lines (#).

Bounce the application.

You might also like