HTML Vs PDF output
Hi,
I have created a report which is
running on web.
The PDF output looks fine to me as seen during design time but the HTML output is totally weared.
The text is not formatted properly etc...
Is there any way i can design a report which will look same in pdf and html output .
Pl. help
sh
Mananing html and pdf together seems to me a difficult task.
Output format differs by the Operating system too.
Html can be in better shape when font size is
less than 8.
But if this is 8 or > than 8 it will mess up the report.
We definelty need some assitance from the oracle team to help us out in reducing our
development time for multiple outputs.
Looking fwd to hear from oracle team,
thanks in advance
shailesh
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by tlazio:
We gave up on HTMLCSS and converted all of our reports to PDF.<HR></BLOCKQUOTE>
null
Similar Messages
-
Tall report in both HTML and PDF
Hi,
I have a report in 10.1.2.0.2 with three logical parts; a header (logo, column titles), a body (actual data) and footer (column sums, some texts). At the moment I'm just using the main section (not header/trailer) but I'm willing to change.
Depending on the parameters the report will give 1-20 pages (if I was to print them) of output.
I would like to offer both HTML and PDF output but I'm having some issues.
If I set the height of the main section to 25 centimeters/10 inches and run the reports with parameters that produce 2 pages of output, I will get two pages i the PDF perfectly. The HTML will then get a seam (empty row) after 25cm/10In and then continue. The problem is that the second part of data is in a separate html table, making the columns not aligned to the first part.
So, PDF OK, HTML ugly.
If I set the height of the main section to 250 centimeters/100 inches and run the report again the HTML is fine. One long table and therefore consistent columns.
Now the PDF consists of only one page. It looks fine but after the last row I can scroll down much more as the PDF "page" is really tall now.
So, PDF ugly, HTML OK.
Any suggestions for acheiving a nice result in both PDF and HTML?
Kind regards
Tomas Albinsson
Stockholm, SwedenMany thanks Denis, worked perfectly!
Now the customer has decided that they want the header on each page...
So now I don't need to use your solution but it's good to know how to solve it.
Fortunately (?) I've got a new problem now.
If the output spans two pages I now get one head, the first part of data, head again, rest of data and foot. Fine.
The problem is that the columns of head and data on page two are not aligned with the ones on page one.
So head and data always align, but only withing the page. Page two might be much wider than page one.
This is is HTML output and the frames are set to horizontally fixed.
Seems to be the footer. Didn't help putting it in a horizontally fixed frame of it's own.
Suggestions?
Kind regards
Tomas -
PDF output does not refresh data in BI Publisher, XML and HTML do refresh
I just upgraded to BI Publisher 10.1.3.4.0 and I noticed that the PDF format of the reports does not reflect recent changes in data, while XML data and HTML output do reflect changes in data immediately.
I'm using BI Publisher to print APEX applications reports. When I change some data in APEX forms, I click again in the Print button and the data remains unchanged. I made some testing inside Oracle BI Publisher, and noticed that XML data and HTML output do reflect changes, but PDF output remains with the old data for some unknown amount of time. I cannot identify a method to force the PDF to refresh, just un-log and log in again several times until the data appears updated. This is serious because when users change data and print again, they expect the changes to be reflected in the new printable report, and may not notice that the data is the old version.
OS is Oracle Enterprise Linux.
Any help on this will be very welcome.
FranciscoOpen the report in Edit Mode Click on the reports and in the properties section Uncheck the
Enable Document Cache Property and your issue should be resolved. -
PDF outputs continually crash after editing an html source file
I have English and multiple localized versions of a RoboHelp webhelp project. I have created several PDF outputs for the localized versions. I can generate the PDFs fine when I don't touch any of the html source files.
However, I had to make a change to one of the html source files to remove a <dl> from the source file. After making the change to the source file in an outside text editor (Notepad ++), I went back to RoboHelp to generate the PDF, and the PDF output crashed.
The reason I was using an outside text editor is that when I tried to edit the <dl> HTML tags in RH, its HTML editor deleted all text within the tags being edited. There was no undo at this point. In anotehr attempt to use the RH Design editor, RH didn’t delete the <dd> or <dt> tags when those tag styles were changed to <h4> and <p>, respectively. RH inserted the new html wrapper inside the existing ones, instead of replacing it.
Also, during the PDF generation process, a Visual Basic error message will appear dozens of times stating that the application was interrupted. I must press OK to continue for each error message.
What gives with the PDF generation failing like this?I hate to say it but it sounds like something you are doing in the external editor is not liked by RoboHelp.
It could just be the way that text editor codes the file. I use EditPad Pro and that has various options for text encoding. My guess is your editor is not set to what RoboHelp expects.
Aftr that what I would do here is create a new one topic project and recreate the problem, with the minimum of text. It may help you spot the code RoboHelp does not like.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Incomplete hyperlink in PDF output . HTML output works fine
We have a 10g report that drills down to another report. The hyperlink to access the drill down report is very long (1080 chars).
When generating HTML output, the url is complete and link works fine. When generating PDF output, link gets cut out and it does not work... incomplete link.
Any ideas why this can be happening?hello,
you might try to use the protocol prefix file:
e.g. file:///d|/myfiles/test.xsl
relative urls like d:/... are interpreted differently by
browsers or acrobat reader.
regards,
the oracle reports team -
How to generate PDF output from OracleXMLQuery
I want to generate a PDF out put from XML by using JSP. For this i writen jsp and xsl. My jsp code works fine if i include html formated xsl and it displays as a text when i pass pdf formated xls.
Here i am providing my jsp code.
I don't want to use XSQL, please provide me information ASAP.
<%@ page import = "java.sql.*,oracle.xml.sql.query.OracleXMLQuery" %>
<% Connection conn = null;
Statement stmt = null;
ResultSet rset = null;
String dbURL = "jdbc:oracle:thin:@localhost:1521:oracle9i";
try{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn = DriverManager.getConnection(dbURL, "scott", "tiger");
stmt = conn.createStatement ();
rset = stmt.executeQuery ("SELECT * " +
"FROM scott.emp ORDER BY ename");
OracleXMLQuery xq = new OracleXMLQuery(conn, rset); %>
<% xq.setStyleSheet("emptablefo.xsl"); %>
<%= xq.getXMLString() %>
<% } catch (java.sql.SQLException e) { %>
SQL error: <%= e %>
<% }
finally {
if (stmt != null) stmt.close();
if (rset != null) rset.close();
if (conn != null) conn.close();
} %>
Thanks,
Ramana>
if the report output format is xls this code is generating the pdf output
>
looks like pdf is default output in template definition in xml publisher resp
so for r12 use FND_REQUEST.ADD_LAYOUT as example
v_request_id number;
xml_layout boolean;
xml_layout := FND_REQUEST.ADD_LAYOUT('XXCUSTOM','XXCONCNAME','en','00','EXCEL');
v_request_id := fnd_request.submit_request(application => 'XXCUSTOM',
program => 'XXCONCNAME',
description => NULL,
start_time => NULL,
sub_request => FALSE,
argument1 => p_date
);also see http://andyblg.wordpress.com/2012/08/23/run-concurrent-program-twice-with-different-layout-r12/ -
How to create a page break in PDF output
Hi there
Does anyone know how to create a page break in the PDF output when using the EXPORT TO PDF command?
I can create a page break using the page-break-after/before HTML stylesheet command, but this is not "interpreted" when the PDF is generated, and I am required to print each table in my web template on a new page.
Please ... been searching for ages for a solution to this and can't find anything.
Cheers,
AndrewTry posting in the iWorks forum.
https://discussions.apple.com/community/app_store/iwork_for_ios -
Oracle Report, How to Display Polish Characters in a PDF Output
Environment :
Oracle Application Server version 10.1.2.0.2 on Red Hat 4 Enterprise (Kernel 2.6.9-42.0.3 , 32 bit) Oracle Database Version 10.2.0.3.0 Our character set of database is UTF8
I have trouble to display polish characters in Reports Output. We develop on Windows XP machines. I can see the Polish Caharacters in the Reports Builder using several fonts (arial, arial unicode, Times new roman, verdana...) during design time or when running with the paper layout. But when the report deployed to application server running on the linux, the polish characters are replaced by symbols.
Even under Windows, when I select 'generate to a PDF' file option, the characters are not displayed correctly (When I open the generated PDF file with Acrobat reader and go to Document Properties / Fonts, I see the Fonts are always replaced with Adobe Sans MM)
Using the Forms Applications running on the same application server we have no trouble dealing/displaying with the characters (Ąą ĆćĘę Ł ł ŃńÓóŚ ś Ź ź Ż ż ß Đ đ € )
NLS_LANG setting is AMERICAN_AMERICA.UTF8 on the Linux Box and AMERICAN_AMERICA.WE8MSWIN1250 is on the Development machines. (have tried a number of different NLS_LANG settings on the development box as well with no luck).
Any direction would be appreciated.Hi,
You have several different approaches to fix this problem. First of all, you would be able to generate the PDF output with Font Subsetting setup and be able to see the Polish characters correctly when running the output with destype=cache&desformat=pdf. The following metalink documents would guide you with this setup :
Note.207711.1 "How to Use Font Subsetting in Reports 9i and 10g for PDF Output"
As at design time you use many different Windows specific fonts, I also advice you to check the following document :
Note.356221.1 "A Practical Methodology on Porting Reports from Windows to Unix with Different Fonts"
Once the PDF output is generated properly with correct characters, then if you need to use "destype=printer" for direct print, rather than "destype=cache" to display the output in browser, then you can use the "PDFPrint" pluggable destination, which is located in :
http://www.oracle.com/technology/products/reports/pluginxchange/index.html
Regards,
-Bulent -
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 -
Unhandled exception in Word when building PDF output
We have a RoboHelp 7 project that has worked fine for quite some time. Now, after what seemed to be a minor edit, we are no longer able to generate PDF output because Word dies with an exception. Other projects on the same system build just fine.
The project runs the first series of Generating PDF but the second one never occurs and the error below is generated by word.
Any ideas on what we can do to get this to start working again would be appreciated.
DanaHi there
While I'm at a total loss as to tell you how to change the behavior, I might ask if you are able to simply generate a Word document without PDF in the picture? If so, gen the Word document, then create the PDF from that as a separate operation.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Hide URL in PDF output in hyperlink , Maintain History within reports
hi
i have some issues to discuss for report output in pdf format.
we are using java application to call reports via AS 10g, my issue are
1) Hide URL in PDF output for hyperlink created.(Using username/password in Key is not enough)
2) Maintain history as i call second report from my parent report then i want to go back to parent report.(Note here go.history or history.go(-1) work in HTML output format but not in PDF)
3)To Call Child PDF report in new window(here again working fine target="_blank" for HTML output but not for PDF)
regards
abidHi Ram,
Not sure if this is possible.
However, one workaround might be the following:
1. Write a javascript that submits the URL using, say a POST method, and does not show the parameters in the URL. You will have to write this javascript code in the "Before Report" Report Escape. For a generic example on how to use javascript in a report, see Metalink Note 125652.1. This note shows javascript to disable the right-click of the mouse on the report output.
2. Use the Hyperlink peroperty of the report to call this javascript function, eg,
javascript:myfunction('http://machine:port/reports/rwservlet?report=...+server=...+empno=&empno')
I am not a javascript expert, so I cannot give you an example of the function, but I hope someone in your team can find out.
Navneet. -
Adding Hyperlinks in Report shuould take action in PDF Output
Hi All,
I had a requirement with reports
Explanation of the requirement.
I had a report aaa.rdf which gives a (one)employee monthly details.
which need to be output in PDF.
now the requuirement is
I had added labels "next-month" and "previous-month" labels at either side of report title.
I need the code to kept in these labels such that when this report is executed and taken into PDF file, when user
user clicks on the "next-month" or "previous-month" in that PDF file, the action to take is it should re-ran the same report(aaa.rdf) and should display the output in PDF in the same window but now the output should show the
coressponding next-month or previous-month results respectively of that employee.
please let me know if this make sense.
please guide for the above requirement.
this is very very urgent your help will be appreciated.
Thanks in advance
RRMHi,
it is not too late ....
It's possible to add such Hyperlinks to the pdf-Output of a report.
With use of the built-in rw.set_hyperlink('hyperlink') in a format trigge you can realize that. "hyperlink" is for example then something like:
'/reports/rwservlet?destype=cache&desformat=pdf&report=drilldetail.jsp&userid=scott/tiger@josi&p_deptno='||:deptno
In your case it's a call to the same report you run before and you had to set your month-parameter in the call depending your current month (next or previous).
With srw.set_hyperlink_attrs('string') it's possible to add additional attributes like for example
srw.set_hyperlink_attrs('target=_new')
which opens a new browser window.
This works for HTML & PDF.
Regards
Rainer -
Some text goes missing in the PDF output after I convert FM8 book
Hi,
I am using Framemaker 8.0, Acrobat 8.0 Professional, Acrobat Distiller 8.0.
When I convert my Framemaker books to PDFs, some text (especially Table Heading tags) go missing in the PDF output. I have tried to change the font colour, change the cell shading, and many other options. But, the problem persists.
I saw some similar links on the forums with this kind of problems. For example,
http://support.microsoft.com/?id=952909
http://forums.adobe.com/message/3285145
http://forums.adobe.com/message/4167112
http://helpx.adobe.com/framemaker/kb/troubleshoot-pdf-creation-problems-framemaker.html
After going through these links from the forums, I realized that this is a known issue. But, the above links direct me to Microsoft patches and these patches are available only for Windows XP, Windows 2003 Server, and Windwos Vista operating systems. My operating system is Windows 7 Professional, 32-bit version.
One more thing I want to say is we have never faced this problem earlier. It started appearing now.
While I know that the world (many of us) moved on to Framemaker 9 and 10, I also know that there is someone out there to help me to overcome this issue.
Thanks and regards,
Raghavacharyulu NCBHi Harpreet,
Thanks for your response.
We tried this option also. In fact, the Distiller shows this option by default. Secondly, we have recently updated our old template to reflect the new corporate styles and we suspect something went wrong there. We once again took the old template and updated with the new colour definitions and fonts, this time very carefully and it started working. Now, the text is not missing.
So, the result is something is wrong with our template. Quite surprising is it is inconsistent and some places the text appears and some places it does not.
Where do you work? Are you in India?
Cheers,
NCB Raghavacharyulu
Mobile No. : 9845192336
E-mail : [email protected] -
Somebody once asked how to create PDF output with javadoc, so here's some work in progress:
I am currently creating a PDF doclet which creates directly PDF output from javadoc. It's still in alpha stage, because it does not yet create an index or navigation frame (which is mandatory for the PDF to be useful), and most HTML tags are not yet interpreted. But that's gonna improve over the next few weeks.
http://sourceforge.net/projects/pdfdoclet
Bye,
MarcelHai Marcel,
How to run this pdfdoclet?
I tried like:
javadoc -doclet com.tarsec.javadoc.pdfdoclet.PDFDoclet -docletpath d:\For_PDF_Doc\itext-0.92.jar;d:\For_PDF_Doc\pdfdoclet.jar *.java
And the result is:
Loading source file Test.java...
Constructing Javadoc information...
pdfdoclet: >> OPTION 0: -doclet
pdfdoclet: >> OPTION 1: -docletpath
pdfdoclet: Content completed, create index
pdfdoclet: *** PDF DOCUMENT api.pdf COMPLETED ***
Nothing is there in api.pdf!
anu -
Urgent: Custom font style not appearing in PDF output only
Hi,
For a customer, I received customer specific font styles(ttf font files) which I installed on my machine and then copied those files in Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts as well as in JRE/lib/fonts. Then I created a template in word and font there appears as custom font.
Now I am getting that font style in all output formats(rtf,ppt,excel) except the PDF output. I am using Oracle BI Publisher desktop alone. Not sure what I missed because of which text font is not changing in PDF version only. I checked the PDF properties and there also custom font is not getting mapped.
Thanks in advance.Here is the link that describes how to set up the font mapping for PDF output: Look for "Font Mappings (for PDF output)"
BI Publisher Demo Library</title><meta name="Title" content="BI Publisher Demo Library">…http://www.oracle.com/technetwork/middleware/bi-publisher/learnmore/demo-library-toc-173301.html
Thanks,
Bipuser
Maybe you are looking for
-
Flash Player 11.8 won't install on mac mini why
Flash Player 11.8 won't install on my mac mini, OSX 10.6.4?
-
I transfer my movies to an external HDD to save space on my MacBook after they have been viewed. I basically just copy and paste it to the HDD, delete from my MacBook, then re-add to the iTunes library. I have the external HDD setup wirelessly throug
-
IDS10g and Oracle 9i Release 2 on the same windows XP or NT machine
I want to use Oracle 9i Enterprise Ed.Release 9.2.0.1 as Database and iDS 10g to develop a Database application,the twice on the same Windows XP machine.I was confused when trying to install the Repository 9i for SCM 9.0.4.3.14c and when reading the
-
My Iweb album page is missing 2 albums on Safari and one album on Fire fox
I have create a web site with some album pages. On One page that c0ontains 6 albums, 2 are missing when I use Safari but none are missing when I use Firefox. On a second page that contains 4 albums, 2 are missing when I use Safari and 1 is missing wh
-
Download transport zone from crm to cdb (msa) ?
Hello, I've customized new transportzone for country serbia. Now I want to download this new transport zone into my mobile sales client. But which adapter object/download object do I need ? Thanks Gerd