Sie sind auf Seite 1von 16

214539032.

doc

EA-OA Knowledge Base


Printing Special Fonts Using XML Publisher

Confidential

-1-

3/3/2014

214539032.doc

DOCUMENT CONTROL
Author

Reviewer /
Approver

Surendranath
Reddy

Nishant Killedar

Confidential

Version
1.0

Date Of
Release

Description Of Changes

-APR-2008

Draft Version

-2-

3/3/2014

214539032.doc

CONTENTS
Reference Document(s) ...............................................................................................4
What are Special Fonts? ...............................................................................................5
How this works?..........................................................................................................6
Printing Special Fonts Using XML Publisher......................................................................7
........................................................................................................................11
........................................................................................................................12
Click on apply it creates the font mapping set under Font mapping Name Deloitte Fonts
as follows..........................................................................................................12
........................................................................................................................12
6. Pass the font mapping name as a font mapping set under FO Processing.................12
........................................................................................................................13
Printing MICR Font:.............................................................................................14
If we need to install more than one special font we need to create a font file and attach it
under the same Mapping name.............................................................................14
So we will be having only one mapping name, and multiple font Mappings..................14
Let us install two special fonts say, 128 barcode and MICR.......................................14
Follow the steps 1 to 4 to for both fonts.................................................................14
Then create Font mapping name as mentioned in step 5 and create 2 font mappings one
for 128 barcode and one for MICR as follows...........................................................14
........................................................................................................................14
Open Issues.......................................................................................................16
Closed Issues.....................................................................................................16

Confidential

-3-

3/3/2014

214539032.doc

Reference Document(s)
This document gives a brief idea on how to print the barcode 3 of 9 and MICR font using XML
Publisher. This document has been prepared based on the following reference documents,
provided by Oracle.

Reference Document
How To Install a Font Using XML Publisher Administrator

Confidential

-4-

Reference Document Code


373377.1

3/3/2014

214539032.doc

What are Special Fonts?


Some times we required to display the data as barcode and in MICR fonts. These fonts are not
installed in the Application. We treat these fonts as special fonts.

Confidential

-5-

3/3/2014

214539032.doc

How this works?


We need to install the fonts in the application using XML Publisher administrator.
And we need to assign the required font to a required field in the rtf and upload it to the
application. When we run the program the rtf checks for the fonts installed in the
application and it displays the data in a specified font.

Confidential

-6-

3/3/2014

214539032.doc

Printing Special Fonts Using XML Publisher


Printing 128 Barcode:
This section describes how to implement 128 barcode using XML Publisher.
Install the barcode font in the local machine.
Create a RTF template and assign a 128 Barcode font to a required field.
Attach the rtf to the respective template definition
Create font files for the required font using XMP Publisher
Create font mapping and assign created font file to it.
Pass this font mapping as font mapping set under FO Processing

Below are the steps in detail to implement 128 barcode in XML Publisher Reports.
1. Install the barcode font in Windows\fonts.
We have the 128 Barcode available in different sizes, like small, medium, large..
They are
IDAutomationC128L.ttf
IDAutomationC128M.ttf
IDAutomationC128S.ttf
IDAutomationC128XL.ttf
IDAutomationC128XS.ttf
IDAutomationC128XXL.ttf
IDAutomationC128XXS.ttf
Use any one of the above as per the requirement and install it in your machine.

Confidential

-7-

3/3/2014

214539032.doc

2. Create a RTF template and assign a 128 Barcode font to a required field.

3. Attach the rtf to the respective template definition.


Attach the developed rtf to the respective template definition as usual.
4. Create font files for the required font using XMP Publisher Administrator.
Navigation:
XML Publisher AdministratorAdministrationFont filesCreate Font File
We need to create a font file in the application for required font.

Confidential

-8-

3/3/2014

214539032.doc

Click on apply
5. Create font mapping and assign created font file to it.
Navigation:
XML Publisher AdministratorAdministrationFont MappingsCreate Font
Mapping Set

Confidential

-9-

3/3/2014

214539032.doc

Click on Apply you will be navigated to the following form. Click on Create Font
Mapping

Confidential

- 10 -

3/3/2014

214539032.doc

Confidential

- 11 -

3/3/2014

214539032.doc

Click on apply it creates the font mapping set under Font mapping Name
Deloitte Fonts as follows.

6. Pass the font mapping name as a font mapping set under FO Processing .
Navigation:
XML Publisher AdministratorAdministrationConfigurationFO Processing

Confidential

- 12 -

3/3/2014

214539032.doc

Confidential

- 13 -

3/3/2014

214539032.doc

Printing MICR Font:


We need to follow the same steps as we followed to print the 128 barcode, except we need to
upload the MICR Font instead of 128 barcode wherever required.

Displaying Multiple Special fonts at the same time


If we need to install more than one special font we need to create a font file and
attach it under the same Mapping name.
So we will be having only one mapping name, and multiple font Mappings.
Let us install two special fonts say, 128 barcode and MICR.
Follow the steps 1 to 4 to for both fonts.
Then create Font mapping name as mentioned in step 5 and create 2 font mappings
one for 128 barcode and one for MICR as follows.

And pass this Font mapping name Deloitte Fonts as Font Mapping set under FO
Peocessing.

Confidential

- 14 -

3/3/2014

214539032.doc

Confidential

- 15 -

3/3/2014

214539032.doc

Issues
Open Issues

ID

Issue

Resolution

Responsibility

Target
Date

Impact
Date

Resolution

Responsibility

Target
Date

Impact
Date

Closed Issues

ID

Issue

Confidential

- 16 -

3/3/2014

Das könnte Ihnen auch gefallen