Problem in PDF output in Chinese
Moved to correct forum. Please select the correct forum for your questions in future.
Hi,
My smartform contains english as well as chinese words.
Im tring to get PDF output from RSTXPDFT4 with spool request.Now if I login in ZH or EN and use RSTXPDFT4 to generate o/p in PDF, its not working, PDF is generating blank page with error. This is a unicode systems.
If my smarforms contailns only english then its OK.
So what to do please suggest.
Regards,
Kaushik
Edited by: Matt on Mar 12, 2009 10:52 AM
Moved to correct forum. Please select the correct forum for your questions in future.
Similar Messages
-
Problem with PDF output quality
We recently upgraded to CS4 Suite Design premium and i am having problems getting illustrator to print high quality output. I have a file created in illustrator which contains 300dpi tiff images created in photoshop (CMYK colorspace in both photoshop image and illustrator file) when i print this file to pdf everything looks hi-rez except these images. i have attempted adjusting all the obvious settings in the print dialoge box including: Output/Printer Resolution, Graphics/Postscript level, Advanced/overprint and transparency flattener options/custom settings. and nothing has worked. Other things i have noted, is that in the print dialog box the only presets listed are Custom, Default and Default Web/Video/Mobile. I have looked through the online help files and found the info on how to add "High Quality Print" to my adobe pdf presets, however it doesn't work. furthermore i have tried the instructions here: http://help.adobe.com/en_US/Illustrator/14.0/WSA79FA899-BC95-401e-BD44-5B26BC31B369.html where it says to move the files from "Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Application Support\Adobe PDF" however there is no folder called "Application Support" on my system. I have run out of ideas.
The odd thing here, is that i can take the AI file into photoshop, and print a "High Quality Print" from photoshop with no problems, but i'd like to remove this step to speed up my workflow.
I've attached both the high-quality pdf output from photoshop and the low-quality pdf output from illustrator for reference. (look closely at the logo's)Figured it out myself! yay! (only took my entire moring)
The solution:
Dont print to PDF!
SAVE AS COPY, then select Adobe PDF and click SAVE, this will bring up a dialog box with the options you need (including the "High Quality Print" Adobe PDF Preset)
This was not clear in any of the instructions i read -
Facing problem in pdf output in obiee when handling pivot table
i was making some changes in pivot table like adding columns in sections adding ..
and many more changes which i dont remember i dont know what happend now i am not getting an pdf output.
please let me know what can be the problemthis happens when select option for 'place value in new row' in some columns and not in all
-
Once Again, Problems with PDF Output in 3.0
Sorry that i write another thread to this topic. i think i ´ve read all other posts (and oracle documents from oracle) but i can´t find the answer to my problem
there a two things i wondering about:
first: What is the right port (and how can i prove it, which one is used?)
Some write use 8888 , some use the listener Port 1521 ???
second: after copying the fop directory, do i have to use
oc4j -install ?
Bonus Questions :-)
I always get 0 length pdf documents. Is there a logfile, where i can look in?
At my first try i put the 3 lines at the of the file application.xml, but i got an error
now i use this :
<library path="../../../j2ee/fop-0.20.5/build/fop.jar"/>
<library path="../../../j2ee/fop-0.20.5/lib/batik.jar"/>
<library path="../../../j2ee/fop-0.20.5/lib/avalon-framework-cvs-20020806.jar" />
</orion-application>#
Is this the right position?
Thanks
marcoHi Marco,
First: What is the right port (and how can i prove it, which one is used?)In your OC4J configuration there will be a line which specifies which port should be used. To check which port it is try doing this -
[jes@db j2ee]$ grep "port=" home/config/http-web-site.xml
<web-site host="localhost" port="8888"
<web-site port="8888" display-name="Oracle9iAS Containers for J2EE HTTP Web Site">
<!-- <frontend host="your_host_name" port="80" /> -->I ran that command whilst in the j2ee directory, you can see the output I got (3 lines), so in my case it is running on port 8888 (the third line is actually commented out).
To check if the port is actually listening, try this -
[root@db root]# lsof -i:8888
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
java 9047 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9048 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9049 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9050 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9051 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9052 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9053 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9054 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9055 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9057 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9058 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9060 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
java 9061 root 14u IPv4 5133190 TCP *:8888 (LISTEN)
second: after copying the fop directory, do i have to use
oc4j -install ?No, when you run OC4J it should automatically setup the files for you, you can start the OC4J container by doing this -
[root@db home]# $ORACLE_HOME/jdk/bin/java -jar oc4j.jar
07/03/29 07:05:43 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initializedYou can change the path to the java command to suit your own installation.
Is this the right position?This is what my application.xml looks like -
[root@db config]# more application.xml
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
<!-- The global application config that is the parent of all the other
applications in this server. -->
<orion-application autocreate-tables="true" default-data-source="jdbc/OracleDS">
<web-module id="defaultWebApp" path="../../home/default-web-app"/>
<web-module id="dms0" path="../../home/applications/dms0.war"/>
<web-module id="dms" path="../../home/applications/dms.war"/>
<commit-coordinator>
<commit-class class="com.evermind.server.OracleTwoPhaseCommitDriver"/>
<property name="datasource" value="jdbc/OracleDS"/>
<!-- Username and password are the optional properties
replace with your commit_co-ordinator_super_user
<property name="username"
value="system" />
<property name="password"
value="->£$@£@£$!£" />
-->
</commit-coordinator>
<persistence path="../persistence"/>
<!-- Path to the libraries that are installed on this server.
These will accesible for the servlets, EJBs etc -->
<library path="../applib"/>
<library path="../../../sqlj/lib"/>
<library path="../../../rdbms/jlib/xsu12.jar"/>
<library path="../../../lib/dsv2.jar"/>
<!-- Path to the taglib directory that is shared
among different applications. -->
<library path="../jsp/lib/taglib"/>
<!-- Comment out the jazn element to use principals.
When both jazn and principals are present jazn is used -->
<!-- libraries below added for FOP support -->
<library path="../../../j2ee/fop-0.20.5/build/fop.jar"/>
<library path="../../../j2ee/fop-0.20.5/lib/batik.jar"/>
<library path="../../../j2ee/fop-0.20.5/lib/avalon-framework-cvs-20020806.jar" />
<!-- above libraries added for FOP support -->
<principals path="./principals.xml"/>
<log>
<file path="../log/global-application.log"/>
</log>
<jazn provider="XML" location="./jazn-data.xml"/>
<data-sources path="data-sources.xml"/>
<connectors path="./oc4j-connectors.xml"/>
<namespace-access>
<read-access>
<namespace-resource root="">
<security-role-mapping>
<group name="administrators"/>
</security-role-mapping>
</namespace-resource>
</read-access>
<write-access>
<namespace-resource root="">
<security-role-mapping>
<group name="administrators"/>
</security-role-mapping>
</namespace-resource>
</write-access>
</namespace-access>
</orion-application>Hope this helps
John. -
I created a journal page in Illustrator - which is a series of lines, some thicker than others. They have been combined into a layout for a journal in InDesign. All looks great and prints great from both programs.
When I output to PDF I lose the integrity of my lines. On screen they all look the same width (and they shouldn't), and when I print from the pdf, the thinner lines are completely gone. I have tried various PDF settings and can't figure out what is causing the problem and why the pdf isn't looking exactly like the original.Are you printing with Adobe Acrobat? Other PDF software sometimes gives strange behavior, especially Preview.
-
Hi all,i am new to Oracle Apps.Today i happen to show the PDF o/p from my form.I created the template and attached in the XML publisher responsibility.But,when i try to run the form i can't see the PDF o/p,instead i get the XML o/p.Can anyone kindly say me what might be wrong?
FYI..
x_request :=fnd_request.add_layout('appl_name','template_code','en','US','PDF');
if x_request = false
then
fnd_message.set_string('appl_name' ||' unable to set layout options');
fnd_message.show;
else
NULL;
-- fnd_message.set_string('x_result=true');
-- fnd_message.show;
end if ;Thanks in advance!!HI,
Check the Template registration Sequence and change it the output format to PDF or other wise while running the concurrent program there is a option to change the output format.
Click the option button in the concurrent program window and change the format what u need
Regards
Srikkanth -
Problem in pdf output in obiee
i have used html code in narrative..
in dashboard i am using the report and trying to save the output as pdf.. but html code is not getting reflected..
e.g <br> etc..
how to resolve itHi-
There are bugs related to PDF printing, these are some of it:
Bug 8482432: PDF CHARTS FITTING A PAGE
Bug 7369585: SUPPORT OF HTML TAGS IN PRINT TO PDF (NARRATIVE VIEW,DASHBOARD TEXT OBJECT)
Regards,
Will -
Problem with pdf output of an internal table
Hi,
My requirement is to get the internal table out put to be displayed through pdf in a table form.
Internal table :
Matter Matter Description -
> Table Head
0011 Standard -
> Table contents
0022 Clerk
I want this to be displayed through pdf in same format.
I searched sdn and tried this way.
Please help if am wrong anywhere.
Thanks,
Sandeep
Edited by: SandeepReddy on Jun 9, 2010 9:13 AMtypes:begin of ty_mara,
matnr type matnr,
end of ty_mara.
data i_mara type standard table of ty_mara.
data itab like line of i_mara.
DATA: v_handle LIKE sy-tabix,
v_spool_id type RSPOID,
v_rc TYPE c,
v_errmessage(100) TYPE c,
gd_spool_nr type RSPOID,
gd_bytecount type i,
v_text(70) TYPE c.
types ty_pdf type tline.
data it_pdf_output type standard table of ty_pdf.
data i_pdf like line of it_pdf_output.
gd_spool_nr = sy-spono.
SELECT matnr FROM mara INTO TABLE i_mara.
CALL FUNCTION 'RSPO_OPEN_SPOOLREQUEST'
EXPORTING
dest = 'LP01'
LIFETIME = '8'
IMPORTING
handle = v_handle
spoolid = gd_spool_nr
rc = v_rc
errmessage = v_errmessage.
LOOP AT i_mara into itab.
v_text = itab-matnr.
CALL FUNCTION 'RSPO_WRITE_SPOOLREQUEST'
EXPORTING
handle = v_handle
text = v_text
IMPORTING
rc = v_rc
errmessage = v_errmessage
EXCEPTIONS
handle_not_valid = 1
OTHERS = 2.
ENDLOOP.
CALL FUNCTION 'RSPO_CLOSE_SPOOLREQUEST'
EXPORTING
handle = v_handle
IMPORTING
rc = v_rc
errmessage = v_errmessage
EXCEPTIONS
handle_not_valid = 1
OTHERS = 2.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
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.
LOOP AT it_pdf_output INTO i_pdf .
TRANSLATE i_pdf USING ' ~'.
CONCATENATE OUTPUT i_pdf INTO OUTPUT IN CHARACTER MODE.
ENDLOOP.
TRANSLATE OUTPUT USING '~ ' .
app_type = 'APPLICATION/PDF;'.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = output
mimetype = 'APPLICATION/PDF;'
IMPORTING
buffer = l_xstring.
CONCATENATE cl_abap_char_utilities=>byte_order_mark_little
l_xstring
INTO l_xstring IN BYTE MODE.
CONCATENATE 'attachment; filename=NIM2_matter_Summary_'
sy-uzeit
'.pdf'
INTO l_content.
CALL METHOD cl_bsp_utility=>download
EXPORTING
object_s = l_xstring
content_type = app_type
content_disposition = l_content
response = _m_response
navigation = _m_navigation
Edited by: SandeepReddy on Jun 9, 2010 10:30 AM -
Excel file trucation in PDF output file
Having problem with PDF output file as the imported EXCEL table gets truncated - approx. the left 1/2 upper left corner is the only part of the table that appears in the PDF file. Master file displays correctly in PM. No apparent memory issue so any thoughts? Thanks.
A bit more info please.
Windows or Mac, and which versions?
Which version of PM?
How did you import the speadsheet into PM?
How did you create the PDF?
Cropping and displacement of meta-files when creating PDFs from PM is well known and there are work-arounds.
The long term answer is move on to InDesign.
Iechyd da! John
13:31 08/09/2009 BST -
Recorded Text Entries are displayed unclean in PDF Output
I'm creating currently a screencast with Captivate 7. Within this screencast, I have to type an adress into the adress bar of Internet Explorer. Captivate records this entry automatically in Full Motion, this works good.
But I had to note, that the output in PDF destroys the text entry. During the entry, the textcursor appears after every single sign and the entry becomes unclean.
This problem appears also, when I'm scaling the project. Then it appears in all outputs.
Does anyone have the same problem and a solution for this problem?
This picture shows the problem in PDF Output.Try turning off all compression options in Preferences > Project > SWF Size and Quality. Also try setting quality of any affected slides to High 24bit or Optimized. Then republish and test again.
-
Some of Chinese character is not displaying correctly in PDF output
Hi all
I'm involved in the 1st Peoplesoft project in Korea and having a difficulty with displaying Chinese character in PDF output.
Usually Koreans can translate their name in Chinese and that Chinese name is displayed in personal information in their company as well as Korean name.
With Oracle BI Publisher I made rtf template that includes employees' Chinese name and tried to export to PDF output.
Most of Chinese character was fine but '李' character that was ok in HTM output was crashed in PDF output.
So I researched and tested some solutions.
Here's what I did.
I downloaded and installed five fonts(ALBANWTS.ttf, ALBANWTT.ttf, ALBANWT.ttf, ALBANWTK.ttf, ALBANWTJ.ttf) in client machine(c:\windows\fonts\) and did mapping job with xdo.cfg configuration file.
After that I previewed PDF output in the rtf template and checked embeded fonts in the PDF file.
I can see the newly installed font was embeded but still '李' character is crashed.
My problem is little bit different from others becuase only one Chinese character is crashed by for now.
The Chinese character '李' is very common last name in Korea and I believe Simplified Chinese character font have in it.
Please let me know if you have any solutions or experiance.
Thanks and best regards
Kwangbock.Hi James
Oh~ It perfectly works!!
I've been tried to solve this problem for a long time and
I really appreciate for your help~
Thanks~
Kwangbock. -
SOLVED - Chinese character appearing as ? in PDF Output
I've created a report reading from a HTTP (XML Feed) data set with .rtf template. When the report is output to data(xml)/ rtf / html, the chinese characters appear fine. However, when user output to PDF, all the chinese characters are substituted with ?.
Any idea? Thanks.
Oracle BI Publisher 10.1.3.3.2
Message was edited by:
joyce.healtheHi, <br>
The <fonts> is part of the <config> tag. So, your 2nd config file looks correct. Can't really see the xml that u've pasted correctly because the <*font> tag get read as HTML in this post. <br>
<br>
Anyway, your font config shld look something like that: <br>
<fonts><br>
<*font family="Default" style="normal" weight="normal"><br>
<truetype path="ALBANWTS.ttf" /><br>
<*/font><br>
</fonts>
<br><br>
*remove the asterix when put in ur xdo.config file. -
Chinese character in PDF output file ?
I have trouble to display Chinese characters (traditional Chinese) on PDF output file. Is there anyone can help ?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Rene Kello ([email protected]):
From 'Reports 6i Release Notes'...
Reports supports PDF 1.1.
The Adobe Acrobat Reader cannot read .PDF report files generated by Report Builder if the report contains certain types of non- English character set languages (typically multi-byte) or Unicode character set.
Same with reports 6.
Install Acrobat Reader 4.X. Print to Acrobat Distiller printer. Works for Baltics.
cheers,
Rene.<HR></BLOCKQUOTE>
It works ! Thank you ! -
Problems viewing concurrent request pdf output on mac os
Please your advice on this will be much appreciated.
A user can run a c.request and view the pdf output on windows without problems. When she uses mac, she is able to run the request successfully but gets error if she click on the link to see the output. Are there any parameters etc to be changed to use mac os?
ThanksDo you meet the requirements of the "Certification Matrix for Safari" as outlined in the following note?
Note: 285218.1 - Recommended Browsers for Oracle E-Business Suite 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=285218.1 -
HELP!! PDF output repot problem
We have a report run from a link on a web page that returns a PDF file created by an Oracle Report. I made a change to the static text on the report and now I get this error:
REP-1610547602 Unable to retrieve a string from the Report Builder message file
I have searched Metalink but the suggested solutions haven't worked. This report was fine, but we have had a DB and App Server upgrade since the last time it was compiled. We have always compiled on a Windows box and ftp to the UNIX app server. Apparently there is a bug for PDF output, but the work arounds I found on Metalink either haven't worked or I don't know how to do what was indicated (changing font size).
I believe this error is occurring because of some default value somewhere that is now causing an error. I need to fix this because it's a production report.
TIA
John Caputo
[email protected]Have you checked the cache or reports output directory on the reports server if it's actually a blank report?
I have seen in other threads that there are problems with some Acrobat Reader 6 versions. The plugin for Internet Explorer doesn't seem to work properly. Check the version on the clients.
Maybe you are looking for
-
Re-registering after hard drive failure?
My hard drive crashed badly two weeks ago, and I'm trying to get everything reinstalled and re-registered. How can I recover my Pages registration, without buying it again?
-
Every time I play my clip there is Red flickering, everything is rendered. What are the possible problems? What are ways to fix this problem?
-
Hello, Is there a way to make it so that the audio preview that happens when you hold Control as you slide the Current Time Indicator handle is the default, so that you don't have to hold Control every time you slide it? It's gotten to where I'm hold
-
How to make more space on in cloud
My icloud space is full what can I delete to get my 5GB free back??
-
Create a new responsibility to run a concurrent program
Hi, I have a very basic question. I have written a concurrent program in Java, I want to create a new responsibility and assign roles/function to it so that user can access and run my Java concurrent program. I am new to EBS so I don't have an idea h