Reports PDFs in Greek
Hello.
I have a problem with my reports.
I'm running Oracle Application Server 10g on RedHat AS 3.
My NLS_LANG is set to SPANISH_SPAIN.WE8ISO8859P15.
When a report output is in XML or DATADELIMITED, I get the data OK in Spanish character set, but when a report output is in PDF I get the data in Greek character set.
Someone knows, what can I do?
Thanks, and sorry for my English
Hello. Thanks Martin for answer.
When I use HTMLCSS I get the same. Here is an example of the HTML code that I get.
<style>#f1{font:16pt symbol;color:#000000}</style>
<span style="position:absolute;top:9pt;left:36pt" id=f1>Confirmación de Expediciones</span>
I don't know why then font is symbol. In Reports Builder the font is Arial and the preview is OK.
The NLS_LANG is set in both, the .bash_profile of the oracle user and in the $ORACLE_HOME/bin/reports.sh
The value I get in showenv is
NLS_LANG SPANISH_SPAIN.WE8ISO8859P15
USER_NLS_LANG
Any ideas?
Thanks, and sorry for my English.
Similar Messages
-
Migration from Windows 32 bit to 64 bit Customized reports PDF output issue
Hi Gurus,
Product Version: 12.1.1
Operating System: Linux x86-64
Database Version: 11.1.0.7
We have migrated from Windows 32 bit to Linux 64 bit, our PDF reports shows some Greek Charters
vi /opt/oracle/apps/tech_st/10.1.2/bin/reports.sh
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
SELECT * FROM NLS_DATABASE_PARAMETERS
NLS_CHARACTERSET=AR8MSWIN1256
Regards,Mean the result of query SELECT * FROM NLS_DATABASE_PARAMETERS
NLS_CHARACTERSET=AR8MSWIN1256
and 11g database character set is AR8MSWIN1256
vi /opt/oracle/apps/tech_st/10.1.2/bin/reports.sh' refers to 10g. Oracle EBS R12 oracle home not a DB Oracle HOME
Hope you understand now. -
Report printing in Greek characters after changing Font
Hi All,
We had a bunch of reports created in 'Courier New' font whose output type is PDF. The users wanted the reports to print in 'Arial' font. When I changed the same from Courier New to Arial and ran the report , the report is printing in Greek characters instead of English. I initially thought that it prints in Greek may be because of insufficient space or something for the text fields but there seems to be sufficient spaces to print characters. I tried reducing the size and still the reports prints in Greek in lower size.
Can anyone let me know how to get rid of this?
Thanks,
Srini.See if the solution in the following thread applies to you:
Problem converting font to .afm using ttf2pt1 -
Need to generate a Index xml file for corresponding Report PDF file.
Need to generate a Index xml file for corresponding Report PDF file.
Currently in fusion we are generating a pdf file using given Rtf template and dataModal source through Ess BIPJobType.xml .
This is generating pdf successfully.
As per requirement from Oracle GSI team, they need index xml file of corresponding generated pdf file for their own business scenario.
Please see the following attached sample file .
PDf file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/BPA_Print_Trx-_output.pdf
Index file : https://kix.oraclecorp.com/KIX/uploads1/Jan-2013/354962/docs/o39861053.out.idx.txt
In R12 ,
We are doing this through java API call to FOProcessor and build the pdf. Here is sample snapshot :
xmlStream = PrintInvoiceThread.generateXML(pCpContext, logFile, outFile, dbCon, list, aLog, debugFlag);
OADocumentProcessor docProc = new OADocumentProcessor(xmlStream, tmpDir);
docProc.process();
PrintInvoiceThread :
out.println("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>");
out.print("<xapi:requestset ");
out.println("<xapi:filesystem output=\"" + outFile.getFileName() + "\"/>");
out.println("<xapi:indexfile output=\"" + outFile.getFileName() + ".idx\">");
out.println(" <totalpages>${VAR_TOTAL_PAGES}</totalpages>");
out.println(" <totaldocuments>${VAR_TOTAL_DOCS}</totaldocuments>");
out.println("</xapi:indexfile>");
out.println("<xapi:document output-type=\"pdf\">");
out.println("<xapi:customcontents>");
XMLDocument idxDoc = new XMLDocument();
idxDoc.setEncoding("UTF-8");
((XMLElement)(generator.buildIndexItems(idxDoc, am, row)).getDocumentElement()).print(out);
idxDoc = null;
out.println("</xapi:customcontents>");
In r12 we have a privilege to use page number variable through oracle.apps.xdo.batch.ControlFile
public static final String VAR_BEGIN_PAGE = "${VAR_BEGIN_PAGE}";
public static final String VAR_END_PAGE = "${VAR_END_PAGE}";
public static final String VAR_TOTAL_DOCS = "${VAR_TOTAL_DOCS}";
public static final String VAR_TOTAL_PAGES = "${VAR_TOTAL_PAGES}";
Is there any similar java library which do the same thing in fusion .
Note: I checked in the BIP doc http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/javaapis.htm#CIHHDDEH
Section 7.11.3.2 Invoking Processors with InputStream .
But this is not helping much to me. Is there any other document/view-let which covers these thing .
Appreciate any help/suggestions.
-anjani prasad
I have attached these java file in kixs : https://kix.oraclecorp.com/KIX/display.php?labelId=3755&articleId=354962
PrintInvoiceThread
InvoiceXmlBuilder
Control.javaYou can find the steps here.
http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/ -
Barcode printing in XML report PDF output
Hi All,
I want to print barcode of invoice number / purchase order number in the XML report PDF output.
Anyone please suggest me with your ideas and experience.Hi Bogdan,
The steps mentioned in the doc is what i did in order.
I couldn't understand the step # 13 & 14.
Log in as XML Publisher Administrator
Navigate to Administration --> Font Files --> Create Font File
Available fields are Font Name and File
--> for Font Name, choose any descriptive name
--> file will browse your PC to locate the font file
Navigate to Font Mappings -->Create Font Mapping Set
Mapping name is the name you will give to a set of fonts.
Mapping code is the internal name you will give to this set
Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
Create Font Mapping (this allows you to add fonts to a set)
Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def -> Template.
Select your new mapping set.
Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
Upload a template that uses your special font and test using preview or by submitting a concurrent request. -
how can I open a report.pdf file that shows error: file cannot be previewed because of an error w/ pdf preview handler
Hi pfmercerville,
If you are running the 64-bit version of Windows 7 (or Vista), you will find that your PDF files do not preview in Windows Explorer as they do in the 32-bit versions. Instead, all you see is a message stating that This file can’t be previewed. To enable this functionality on your 64-bit operating system, follow these steps.
1. Click the Orb (Start Button).
2. Go to the Search programs and files textbox and input regedit.
3. Select regedit.exe from the results.
4. When the UAC prompt appears, click the Yes button.
5. In the left pane of the Registry Editor, go to (and select):

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{DC6EFB56-9CFA-464D-8880-44885D7DC193}
6. In the right pane, locate AppID.
7. Change AppID value to {534A1E02-D58F-44f0-B58B-36CBED287C7C}.
8. Restart your computer for the change to take affect.
Regards,
Rave -
Sql 2008 R2
Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx.
If I call rs.exe with the various parameters from the command prompt I have success(other than rs.exe using the temp folder, which is a different issue). But when I try to execute the same process from a Visual Basic 6.0 application utilizing
the ShellEx api call, the report creation and output to PDF format do not occur. There is no error raised.
Yes, I wish I could use a newer dev tool but that isn't an option right now. I think this should work. Can ya'll tell me what I'm doing wrong?
sArgs = "-i " & Chr(34) & "'C:\Program Files\Dura Supreme\OrderEntry\RunOrdReports.rss'" & Chr(34) & _
" -s 'http://walnut/reportserver' -v 'DuraOrderNum=" & _
Chr(34) & sOrdDuraID & Chr(34) & "' -e Exec2005 -t"
ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & Chr(34), EShellShowConstants.essSW_SHOWNORMAL, sArgs
TIA,
Jim M.ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & ....
Hello Jim,
The path for rs.exe includes spaces, you should set it in hyphen, as you already did for file "RunOrdReports.rss" in variable "sArgs2
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Is there anyway to read PDFs in Greek in iOS 8?
What problem are you facing?
Do you want to translate Greek to another language?
Or does the Greek text not appear right on screen? What software are you using? -
Report Pdf output getting Junk characters for some boiler Plate fields
Hi All
For Dunning Letter Report registered in Oracle Applications,made changes in Column headings like added customer number as Kunde for German Letter
but in pdf output it's appearing as junk characters even date field is happening like that. It's happening for German, Spanish, Italy and French Letters. Working ok for Netherlands, English.
any input to fix this solution will be great
Thanks
Kamalakar.GMaybe you check the NLS_LANGUAGE-settings on the client where you "edit" the reports-definition.
-
I have a PDF report designed using oracle report builder 6i. This report has a margin that prints the total of all the quantities to be ordered via a QUOTE. If this report prints beyond one page, then the total will print on all the pages. Users do not want to see the total on all the pages but only on the last page. I really need to keep these total fields on the MARGIN section of the layout. Is there any way, i can still keep these fields on the margin and print them only on the last page of the report? The report builder do not let me set the 'print condition' as the 'last page' because it is in the margin section. Any idea on this issue??
I would create a trigger for your MARGIN totals so they print only on the last page.
Have the trigger return TRUE if current page = total pages, else return FALSE.
This will make sure your margin totals are only visible on the last page. -
Automated report/ PDF conversion with AppleScript
Hello-
I am attempting to PDF a spreadsheet from Dropbox, and email it to a set list of recipients with AppleScript. Much of this I have been able to figure out, but I am having some issues with the PDF conversion. As you can see below, I am still working on sending the xls file, and have not yet been able to get AppleScript to convert a specific tab of the file to aPDF. I expect scheduling to be handled theough crontab.
Current script is as follows:
tell application "Finder"
set folderPath to folder "Macintosh HD:Users:user:Dropbox:folder:Calculated PO Sheet"
set theFile to first file in folderPath as alias
set fileName to name of theFile
end tell
set theSubject to "Current PO Report" date
set theBody to "See attached."
set theAddress to "recipient email"
set theAttachment to "CALCULATED PO SHEET.xlsx"
set theSender to "sender email"
tell application "Mail"
set theNewMessage to make new outgoing message with properties{subject:theSubject, content:theBody & return & return, visible:true}
tell theNewMessage
set visibile to true
set sender to theSender
make new to recipient at end of to recipients with properties {address:theAddress}
try
make new attachment with properties {file name:theAttachment} at after the last word ofthe last paragraph
set message_attachment to 0
on error errmess -- oops
log errmess -- log the error
set message_attachment to 1
end try
log "message_attachment = " & message_attachment
#send
end tell
end tellHi,
there is a special setup for this requirement. Please see the following support note
Reference
Oracle Reports Output For Indian Languages Like Gujarati, Marathi [ID 980554.1]
Roberto -
Line crossing at the corner of the boxes in XML Publisher Report (PDF)
Hi,
We are facing some issue in XML Publisher report using RTF template and PDF output. In PDF output it looks like 2 lines are crossing each other at the corner of the boxes (which are made of the Table in RTF). Did you guys face this issue earlier? Is there any resolution?
thanks,
RanenHi,
I would propose reviewing the eText documentation. I noticed that for RTF templates it's difficult explicitly set the length though within an eText template, you can specify the intended length.
The Oracle post is, in my opinion, convoluted, though it's a point in the right direction
Oracle Business Intelligence Publisher Report Designer's Guide
Regards,
Daniel -
Generated Crystal Report PDFs are different on Windows server
Post Author: present
CA Forum: .NET
Hi,
I created Crystal Report template (with two columns on one
page) inside VS 2005 on my Windows XP Professional machine.
But there are formating problems on both XP and Windows
Server machines:
1) On Windows XP machine, I have to overlap the two columns
on the page inside VS 2005 editor in order to generate
correct PDF file (without overlap). How to fix the the
overlapping problem in editor?
2) On Windows 2003 server: After I put the template on
Windows 2003 server that has no VS 2005 installed (only
CRRedist2005_x86.msi was installed), the generated PDF has
different font size and layout (such as page size, column
overlap, etc).
Do I have to install VS 2005 on server too? It is really
frustrating that I have to print document generated on the
server before I know if the template works fine or not.
Any help is highly appreciated!Typically when you are seeing page formatting issues on different machines, it could be because of printer drivers (or lack of). The reporting engine relies on the printer driver configured on the machine to provide information so that a page can be properly rendered. If you designed the report on your dev machine which is using PrinterA and then deploy to another machine using PrinterB, the formatting could be off. So make sure that the exact same printer driver is being used on these machines. If your deployments are expected to go to different machines where you don't know what printer will be installed, then you will need to design the report such that it can be rendered as best as possible. Another option is to check the "No Printer" option and this should render the report the same on any machine with any printer, but then you'll need to make sure you handle any scenarios where the user wants to print to the printer.
If this is an ASP.NET application then permissions could play a part if the printer drivers cannot be accessed. There are whitepapers on the BOBJ support site that have information on to configure CR to print reports in ASP.NET apps.
-MJ -
Title of a Crystal Report PDF being displayed in a web browser
I have an application that previews a report in a web browser by saving the report to the web server and then opening a new tab/window pointing at the pdf that was just created. Right now it is displaying the server name(and path to the report on the server I believe) in the title bar instead of the report title. Is it possibel to set the report title somewhere in the code so the user sees whatever I want to show them instead of anythign to do with the server?
Thanks,
- MikeHi Mike,
This will get the name of the report and all of it's parts and add the .pdf to the file name:
string MyRptName = rpt.FileName.ToString();
MyRptName = MyRptName.Substring(MyRptName.LastIndexOf(@"\") + 1, (rpt.FileName.Length - 3) - (MyRptName.LastIndexOf(@"\") + 1)) + "pdf";
Don -
[Report][PDF] Shrink to fit in a page
Hi,
I use the traditional method to output the ABAP spool report as a PDF inside a BSP Page.
But, I encounter a <b>print problem</b> since the report is very large (the LINE-SIZE of the report is 265) and <b>it does not entirely fit into 1 page</b>.
Is this possible to change the parameters ?
For information I use :
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
* layout = 'X_PAPER'
layout = 'X_LANDSCAPE'
line_count = 65
line_size = 265
no_dialog = 'X'
IMPORTING
out_parameters = print_parameters
* out_archive_parameters = arcpar
valid = val
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
Then:
SUBMIT (report_name) USING SELECTION-SET variant
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
AND RETURN.
And, finally:
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = w_spono
IMPORTING
pdf_bytecount = w_bytecount
TABLES
pdf = wt_pdf.
<b>Which call should I modify, and how ?</b>
Thanks in advance.
Best regards,
Guillaume
Message was edited by: Guillaume GarciaHai Check the following Code
REPORT Z_ABAPOUTPUT_PDF.
data: w_ident like tsp01-rqident,
w_doctype like tsp01-rqdoctype,
w_bytecount type i.
data: itab_pdf like tline occurs 0 with header line.
parameter spoolnum like tsp01-rqident obligatory.
selection-screen begin of block a2 with frame.
parameters: to_pc radiobutton group a2 default 'X',
pcfile like rlgrap-filename lower case,
to_unix radiobutton group a2,
unixfile(255) lower case.
selection-screen end of block a2.
at selection-screen on block a2.
if to_pc = 'X' and pcfile is initial.
message e398(00) with 'Enter PC File Name.'.
elseif to_unix = 'X' and unixfile is initial.
message e398(00) with 'Enter Unix File Name.'.
endif.
at selection-screen on spoolnum.
select single rqident rqdoctype
into (w_ident, w_doctype)
from tsp01
where rqident = spoolnum.
if sy-subrc ne 0.
message e398(00) with 'Spool' spoolnum 'not found'.
endif.
at selection-screen on value-request for pcfile.
call function 'WS_FILENAME_GET'
exporting
mask = ',.,..'
importing
filename = pcfile
exceptions
others = 1.
if sy-subrc <> 0.
message id sy-msgid type 'I' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
start-of-selection.
if w_doctype = 'LIST'.
perform get_abap_spool_in_pdf.
elseif w_doctype = 'OTF'.
perform get_otf_spool_in_pdf.
endif.
if to_pc = 'X'.
perform write_pdf_spool_to_pc.
else.
perform write_pdf_spool_to_unix.
endif.
message i398(00) with 'Completed OK'.
form get_abap_spool_in_pdf.
refresh itab_pdf.
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid = w_ident
importing
pdf_bytecount = w_bytecount
tables
pdf = itab_pdf
exceptions
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
others = 12.
if sy-subrc ne 0.
message e398(00) with 'Cannot convert to PDF. Error =' sy-subrc.
endif.
endform.
form get_otf_spool_in_pdf.
refresh itab_pdf.
call function 'CONVERT_OTFSPOOLJOB_2_PDF'
exporting
src_spoolid = w_ident
importing
pdf_bytecount = w_bytecount
tables
pdf = itab_pdf
exceptions
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
others = 12.
if sy-subrc <> 0.
message e398(00) with 'Cannot convert to PDF. Error =' sy-subrc.
endif.
endform.
form write_pdf_spool_to_unix.
open dataset unixfile for output in binary mode.
if sy-subrc ne 0 .
message e398(00) with 'Cannot open unix file for output:' unixfile.
endif.
loop at itab_pdf.
transfer itab_pdf to unixfile.
if sy-subrc ne 0 .
message e398(00) with 'Cannot write to unix file:' unixfile.
endif.
endloop.
close dataset unixfile.
endform.
form write_pdf_spool_to_pc.
call function 'WS_DOWNLOAD'
exporting
bin_filesize = w_bytecount
filename = pcfile
filetype = 'BIN'
tables
data_tab = itab_pdf
exceptions
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
others = 10.
if sy-subrc <> 0.
message e398(00) with 'Cannot download to PC. Error =' sy-subrc.
endif.
endform.
Thanks & regards
Sreenivasulu P
Maybe you are looking for
-
Error when trying to access a form through https
Hi, I'm facing this error when trying to access a form through https, i'm using OAS10g 10.1.2.3 over linux, it has webutil configured and is working perfectly with https I'm accessing the form through webcache. the error: Java Plug-in 1.6.0_37 Usar v
-
Data source using Fn.Mod. in R/3 shows 53 records but in BW side show error
Hello gurus, I have created a data source in R/3 , when tested showed 53 records, but in BW side when i did extraction it failed, & put me an error message saying " error occured in source system" Points will be awarded for any kind of response. Than
-
I just got a new iPod touch to replace the one I lost. The problem is I download some music to that iPod and it isn't on the new one. I don't want to pay for all of them again and keeps saying I already down load these songs, so is there away I can g
-
Character Garbled in the log file
HP-UX ia64 Netweaver 7.0 CPS M28.17-35130 DB2 database HP-UX locale: en_US.utf8 DB2 database encoding: utf8 1: I have Chinese characters directly in the Redwoodscript(Job Definition), which would be printed into jcsErr/jcsOut. then in the log file
-
Hi All, I need to copy data from one member to multiple members (to be selected dynamically) using script logic and data manager package. Below is the script I am using *XDIM_MEMBERSET TIME=%TIME_SET% *WHEN TIME *IS * *REC(EXPRESSION=%VALUE%,TIME=%TI