Vous êtes sur la page 1sur 3

2/6/2018 Document 839520.

PowerView is Off Anas M. Siddique (Available) (0) Contact Us Help

Dashboard Knowledge Service Requests Patches & Updates Community

Give Feedback...

Copyright (c) 2018, Oracle. All rights reserved.

How to Setup EBS, VPasta, And Pasta for BIDI Languages (Doc ID 839520.1) To Bottom

In this Document Was this document helpful?

Goal Yes
No
Solution
References
Document Details

Type:
HOWTO
Status:
APPLIES TO: Last Major
PUBLISHED
28-Dec-2015
Update:
02-Feb-2017
Pasta - Version 11.5 and later Last Update:
Information in this document applies to any platform.
Information in this document applies to any platform.
Pasta, VPasta, BiDi, Arabic, Hebrew, Unicode, UTF8, Languages Related Products
***Checked for relevance on 27-Jan-2014*** Pasta

GOAL Information Centers


Information Center: EBS Print
How to quickly and effectively setup E-Business Suite (EBS), Vpasta and Pasta in a Unicode (UTF8 / AL32UTF8) character set Pasta - Component Tools -
environment in order to successfully generate, view, and print standard Oracle seeded reports under Bi-directional (BiDi) Overview [1514541.2]
languages, such as the Arabic or Hebrew languages.

Support to generate, view, and print BiDi language reports within EBS requires the setup of environment variables, profiles, Document References
viewer options, Pasta printing configuration files and drivers. Pasta Viewer Not Displaying
Arabic Reports correctly using
Rather than overload the existing EBS drivers to perform many tasks, this setup uses a separate SRW, print style, and printer UTF8 Characterset [252152.1]
drive, as utilized in Note 188109.1 "Configuring Annual Certificate to Vendors - ILAWTANV report for UTF8 Hebrew", which Configuring Annual Certificate
seems to to be a cleaner and better organized approach. to Vendors - ILAWTANV report
for UTF8 Hebrew [188109.1]
In EBS, only two report output formats are supported with BiDi languages: Text (Character Mode) and Postscript with Font
Oracle Reports 6i Setup Guide
embedding (IX Library). In order to generate reports in the PDF format, the BI Publisher product will need to be installed, for Oracle Applications 11i
configured, and a custom template created. Customizing seeded reports with the BI Publisher product is beyond the scope of [189708.1]
this document.
Oracle Applications 11i
Internationalization Guide
SOLUTION [333785.1]

Globalization Guide for Oracle


01. Setup EBS environment variables for BiDi support. Applications Release 12
[393861.1]

a) In the main Apps environment file--as pointed to by $APPLFENV, manually set the following environment variables. In EBS Show More
Release 12 use the variables REPORTS_PRINTER_CODE_BEFORE and REPORTS_PRINTER_CODE_AFTER , respectively, without
the 60 characters. Recently Viewed

REPORTS60_PRINTER_CODE_BEFORE=&5 Pasta Viewer Not Displaying


export REPORTS60_PRINTER_CODE_BEFORE Arabic Reports correctly
using UTF8 Characterset
[252152.1]
REPORTS60_PRINTER_CODE_AFTER=&4
How to Setup EBS, VPasta,
export REPORTS60_PRINTER_CODE_AFTER And Pasta for BIDI
Languages [839520.1]
Dynamic Environment
b) If custom reports defined with the output format of Postscript will be generated under the BiDi languages also set the Switching In Reports
following environment variables. On EBS Release 12, the IX_RENDERING variable is not utilized and can be left unset. Also [231051.1]
ensure IX Library is configured as per Note 728077.1 “How to Setup IX Library Quickly and Effectively” How To Display Arabic
(Hindi) Numeric Characters
IX_PRINTING="<Full $FND_TOP Path>/resource/ixlib.cfg" In Oracle Report 9i (and
above) [260324.1]
export IX_PRINTING
Changing the
NLS_CHARACTERSET to
IX_RENDERING="<Full $FND_TOP Path>/resource/ixlib.cfg" AL32UTF8 / UTF8 (Unicode)
export IX_RENDERING in 8i, 9i , 10g and 11g
[260192.1]
Note 1: On Autoconfig ready instances, the main environment file will likely be overwritten when Autoconfig runs; as a Show More
result, any earlier manual changes will be lost. On Autoconfig ready instances, environment variable or configuration changes
are performed via the Autoconfig Context Editor or Oracle Applications Manager (OAM); afterward, Autoconfig is invoked on all
nodes in order to ensure that all changes are correctly propagated to all corresponding files and synchronized across all tiers. For
setting custom and/or debug variables see Note 270519.1 “Customizing an AutoConfig Environment“, particularly “Adding a new
context variable to the context file”.

c) Run the Sysadmin concurrent report "Generate concurrent processing environment information" to validate that the
concurrent manager sees the new environment variables and/or values.

02. Setup VPASTA, the Pasta viewer, to view BIDI reports.

a) Responsibility = System Administrator

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=279413326387492&id=839520.1&_afrWindowMode=0&_adf.ctrl-state=1d1y… 1/3
2/6/2018 Document 839520.1

b) Navigate --> Install: Viewer Options

c) Add a new record:

File Format: 'Text'


Mime Type: 'apps/bidi'
Description: 'Pasta Viewer for bi-di'

d) Navigate --> Profile: System


e) Set / verify the following profile options:

Viewer: Application for Text = 'Pasta viewer for bi-di'


Viewer: Text = 'browser'

FND: NATIVE CLIENT ENCODING = UTF8


ICX: Client IANA Encoding = UTF-8

Note 2: If a profile is changed, one needs to exit Oracle Applications and sign on again in order for the profile change to take
effect. As per Bug 8685356 “English Report Displays Hebrew Text LTR Instead Of RTL”, ATG Development supports viewing BiDi
reports only via the browser (VPASTA).

03. Setup Pasta and a special Pasta BiDi configuration file.

Note 3: The printing chapter of the Oracle Applications System Administrator's Guide states, "In order to print reports with
the UFT8 character set, you 'must' configure PASTA".

a) Setup / ensure that Pasta is setup for general printing as per Note 356501.1 "How to Setup Pasta Quickly and Effectively
for Postscript ready printers and/or for Non-Postscript printers as per Note 365111.1 "How to Setup Pasta for PCL Based
Printers" or Note 739186.1 "How to Setup Pasta for Epson Esc/P Printers" (for impact / dot matrix printers).

b) Copy the specific Pasta configuration file in use from the above step (pasta.cfg / pasta_pcl.cfg / pasta_epson.cfg / etc.)
and give it a name such as pasta_bidi.cfg. Edit the new Pasta configuration and set the following BiDi options:

direction=rtl
dolayout=y
doshaping=n
numerals=arabic
bidi_algorithm=unicode

Note 4: Add the same options as above to the ixlib.cfg file if Postscript reports will be generated under the BiDi languages.

04. Create new SRW drivers for BiDi reports.

a) Copy and rename the three main Pasta SRW drivers (PSTLL.prt, PSTPL.prt, and PSTWL.prt).

cp $FND_TOP/reports/PSTLL.prt PSTLBI.prt
cp $FND_TOP/reports/PSTWL.prt PSTWBI.prt
cp $FND_TOP/reports/PSTPL.prt PSTPBI.prt

b) Edit all three new files. Change the heading to reflect the correct paper size, i.e. "Pasta Portrait Letter" to "Pasta Portrait
BiDi". Also add the following &quotcode&quot parameters. On BiDi native character sets environments (AR8ISO8859P6,
IW8ISO8859P8, AR8MSWIN1256) the following NLS settings are utilized; however, on UTF8 character set environments, Do Not
Use / Remove any NLS parameters within the *.prt file, as per Note 252153.1 "Printing Arabic Reports do not Align Properly
for UTF8 Characterset".

code "5" esc "[5m"


code "4" esc "[4m"

nls locale "arabic"


nls datastorageorder "logical"
nls contextuallayout "no"
nls contextualshaping "yes"

05. Create new Bidi Pasta printer drivers

a) Responsibility = System Administrator

b) Navigate --> Install: Printer: Driver

c) Copy the three main Pasta drivers (PASTA_LANDSCAPE, PASTA_LANDWIDE, PASTA_PORTRAIT) and give it a new name
such as PASTA_BI_LANDSCAPE, PASTA_BI_LANDWIDE, and PASTA_BI_PORTRAIT).

d) In the Argument field of all three new drivers append the special Pasta BiDi configuration file with the –F option as follows:

-Fpasta_bidi.cfg

e) Populate the SRW driver field with the new corresponding BiDi drivers: PSTLBI, PSTWBI, and PSTPBI.

06. Create new BiDI Pasta printer Styles.

a) Responsibility = System Administrator

b) Navigate --> Install: Printer: Styles

c) Copy the three main Styles (LANDSCAPE, LANDWIDE, PORTRAIT) and give it a new name such as BI_LANDSCAPE (BiDi
LANDSCAPE), BI_LANDWIDE (BiDi LANDWIDE), and BI_PORTRAIT (BiDi PORTRAIT).

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=279413326387492&id=839520.1&_afrWindowMode=0&_adf.ctrl-state=1d1y… 2/3
2/6/2018 Document 839520.1
d) Populate the SRW driver field with the new corresponding BiDi drivers: PSTLBI, PSTWBI, and PSTPBI

Note 5: When saving a new print style record, it must have a unique / unassigned “Seq” number.

07. Add the new BiDi print styles and driver to the “--PASTA Universal Printer Type” or the printer type
associated with the target printer(s).

a) Responsibility = System Administrator

b) Navigate --> Install: Printer: Types

c) Query the '--PASTA Universal Printer Type' and add the following three entries:

BI_LANDSCAPE - PASTA_BI_LANDSCAPE
BI_LANDWIDE - PASTA_BI_LANDWIDE
BI_PORTRAIT - PASTA_BI_PORTRAIT

08. Bounce (restart) the concurrent processing server.

Note 6: Printer type, print style and printer driver information is cached in memory; in order for any printer setup form
changes to take effect, you will need to bounce (restart) the concurrent managers on the concurrent processing server or restart
the "Request Processing Managers" using OAM.

When bouncing the concurrent managers, make sure the shutdown program has completed and that FNDLIBR processes have
terminated before invoking the concurrent manager startup script, otherwise the initial shutdown concurrent request will be
cancelled.

ps -ef grep FNDLIBR

09. Latest Know Bugs / Patches (apply if applicable)

a) At EBS Release 11.5:

BUG 6844768 "Pasta Viewer For BI-DI Launches The Browser But Shows A Blank Screen" - Fix In: Patch 3288588 "Patch View
Report Output Using VPasta Fails With The Memory Could Not Be "Read", included in patch 4676589 "11i.ATG_PF.H.RUP4".

10. Test Bidi reports with the new BiDi Pasta print styles: BiDi LANDSCAPE, BiDi LANDWIDE, or BiDi
PORTRAIT.

REFERENCES

NOTE:252152.1 - Pasta Viewer Not Displaying Arabic Reports correctly using UTF8 Characterset
NOTE:188109.1 - Configuring Annual Certificate to Vendors - ILAWTANV report for UTF8 Hebrew
NOTE:189708.1 - Oracle Reports 6i Setup Guide for Oracle Applications 11i
NOTE:333785.1 - Oracle Applications 11i Internationalization Guide
NOTE:393861.1 - Globalization Guide for Oracle Applications Release 12
NOTE:415967.1 - Oracle Reports 10.1.2 NLS Setup Guide for Oracle Applications Release 12
NOTE:552977.1 - Arabic Is Printed in Reverse Order
Didn't find what you are looking for? Ask in Community...

Related
Products

Oracle E-Business Suite > Applications Technology > Technology Components > Pasta > SUPPORT > Printing issues related to PASTA

Back to Top
Copyright (c) 2018, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=279413326387492&id=839520.1&_afrWindowMode=0&_adf.ctrl-state=1d1y… 3/3

Vous aimerez peut-être aussi