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, Sweden

Many 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

Similar Messages

  • Display fixedsys font as html and PDF

    Hi all,
    I need to diplay report objects with fixedsys font in HTML and PDF
    any help

    The LiveCycle Forms documentation includes a document called "Transformation Reference". At least it did in version 7. That document details which properties translate into the various flavours of HTML that are supported. Also, the "Developing Custom Applications" document has a section called "Designing form designs to render as HTML".
    Jared Langdon
    www.jlangdon.ca

  • Sending Email using both HTML and plain text

    I could use some advise on how to start researching email for
    both HTML and plain text messages.
    I have a script called class.phpMail.php, but the code is
    alittle advanced for me. Basically I can't get
    it to work on my server and I don't know where to begin the
    learning process here.
    I talked to my provider, "HOST" company goDaddy.com and I was
    told that to connect so that I could send email I would need this
    line of code. They didn't say it should by in my php.ini file but
    that was where I found it.
    SMTP = relay-hosting.secureserver.net
    This is the smtp address that my provider uses to make the
    connection with my mail client.
    I was told that with this line of code I would not need a
    password or username
    I did some further reseach and I found an article that stated
    that my original error:
    Warning: fsockopen() expects parameter 2 to be long, string
    given in ...../php/class.smtp.php on line 105
    was being caused by this code because the $port value needed
    to be between 1 - 65365:
    $this->smtp_conn = fsockopen($host, # the host of the server
    $port, # the port to use ----- "this is line 105"
    $errno, # error number if any
    $errstr, # error message if any
    $tval); # give up after ? secs
    In particular the $port value was coming in corrupted and
    that I needed to cast it.
    I did as they suggested and made it an (int) as they
    suggested.
    $this->smtp_conn = fsockopen($host, # the host of the server
    (int)$port, # the port to use
    $errno, # error number if any
    $errstr, # error message if any
    $tval); # give up after ? secs
    It resolved part of the error message however, the other half
    of the error message is shown below:
    Message could not be sent.
    Mailer Error: Language string failed to load: connect_host
    What exactly is the connect_host they refer to in this
    message?
    Would it be the string in my php.ini file refering to the
    SMTP = relay-hosting.secureserver.net
    I have allot of what I think are disconnected questions as I
    really have just begun to work
    with the mail() function. If anyone has the time to educate
    this newbie into the wonderful
    world of email() I would appreciate it.
    Thank You
    Kevin Raleigh

    Sorry to dig up an old post, but we've spent the last few days trying to work out why an email campaign being sent from BC is going into the Junk folder of recipients that use MS Exchange. We've fixed quite a lot of issues, including the fact that Legacy Templates have random JS injected just before they get sent, so we had to switch to the new template system. We've narrowed the issue down to one of three things:
    1. A missing alt tag on the tracking image that BC drops into the email (pretty unlikely)
    2. The BC Europe IP (54.240.14.45) is blacklisted here: UCEPROTECTL2 (possible, but if you actually look it's not the IP itself, but another IP on the same network, so unlikely)
    3. The fact that the HTML email has no text component.
    I agree, BC is late on this but I think that it needs to be added, even if most users have HTML-ready email clients, spam checkers do seem to prefer multi-MIME emails.
    This is backed up by the following SpamAssassin rule, which we are currently unable to resolve:
    -1.105
    MIME_HTML_ONLY
    Message only has text/html MIME parts
    You should also include a text version of your message (text/plain)
    So in my opinion, BC do still need to add this as a feature, otherwise the system is not viable for our customers and we'll have to look elsewhere.

  • Ad Hoc Query - reporting on both PA and OM data in same query.

    Is it really not possible to report on both PA and OM in the same query?  Does the two different infosets prevent you from doing this? 
    As a workaround I can run two separate queries and just join the data using Excel.  However - I'm having some trouble using the OM infoset.  I have a list of job ID's and I'm trying to report on the job short text and the "duty code" which is a custom OM object.  Is there a way to add this custom object to the infoset? 
    Also, I'm finding it difficult to report on the relationships as "Object" is always listed as an output ONLY.  Is there a way to make it available as an input?

    If you are using logical database PNP, then you can try to add infotype and check the option 'Infotype of related objects' .
    This will allow you various HRP tables to add to your query by the relationship.
    If you check responsiblity you can use relationship B007 and selecting 1000 would give you the short text and long text of the ID.
    This is a very good option available for PNP database.
    Regards,
    SC

  • Form report with both edit and column link

    hi experts,
    How can we create form report with both edit and column link. Ie, the form should have both the Edit link and column link. When we click on the edit link(in page1) it should go for the page2 and the page2 should display the corresponding row fields which should be editable. but when i click the column link it should bring me to the next page but the corresponding values of the column should not be editable.
    Regars,
    KK

    hi,
    Here i have achieved this by making the column link and page navigation.

  • The PDF file and slideshow view corrupted using iPhoto. Macbook air only get corrupted slideshow and Mac Mini both slideshow and PDF file is corrupted.

    The PDF file and slideshow view corrupted using iPhoto. Macbook air only get corrupted slideshow and Mac Mini both slideshow and PDF file is corrupted.

    Saving as a PDF file for some users have been a problem.  If you boot into  Safe Mode and run iPhoto you can create undamaged PDF files.  We don't know why the problem but this is a workaround.
    This problem prevents many from ordering books, calendars and cards since iPhoto creates PDF file of them for uploading and printing.  Booting into Safe Mode lets them successfully order those items.

  • SCSM Report: List report contaning both IR and SR

    I want to create an report which contain list of both IR and SR in one report.
    Can someone send me query of this.

    There probably isn't an easy way to do this. While they are both Work Items, they are largely different in their construction, so you would essentially need to pull incidents in one way, and service requests in a different way, and then merge the similar
    properties into a common table format.
    I'd be glad if someone would correct me on this, however, as this is a common request from my clients that don't have a strong service book definition. as much as I disagree with the underlying assumption that all requests are somehow inherently interchangeable
    and should be considered as an amorphous homogeneous mass, that doesn't stop people from wanting it to be true.

  • Is it possible to generate Html and Pdf report format  for multi byte charecter ???

    Hi,
    I have gererated a PDF report for Chines Simplified, i set the NLS_LANG = AMERICAN_AMERICA.ZHT16BIG5 in my report server, the PDF format report is working fine, But the HTML report comes junk , Suppose if i change the NLS_LANG to AMERICAN_AMERICA.UTF8 HTML format works fine, but not PDF.
    Plz let me know how to solve this problem.
    Thnks
    Leon John.

    Hi Leon
    I guess you are working with Reports 9i. You can create such PDFs without any problem.
    Please refer:
    http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/pdfenh.htm
    for more information on Reports 9i PDF features.
    Regards
    Sripathy Rao

  • Combining Word and Visio Files Through HTML and PDF

    I have a Word document and a Visio drawing with multiple pages, and I would like to combine them together into a pdf file.  Both documents have internal links and links to each other, and I would like to maintain them when converting to pdf (so that I do not have to re-add them through Acrobat).  Word anchors are specific words on a page, and Visio anchors are specific pages in the drawing.  I can maintain Word bookmarks as named destinations through OpenOffice, so that isn't a problem.
    Originally I was able to accomplish this by converting both of the files to html, linking the html pages to each other, and using the Web Capture feature in Acrobat 5.  However, Word formatting was lost, so I am looking for a way to convert the Word file directly to pdf and still maintain the links.
    I was able to make most of the links work properly by saving the Visio file as html pages and linking to those from the Word document.  Then I could export the Word document to pdf, open the file in Acrobat 9 Pro, and Web Capture > Append Links On Page from the table of contents.  However, links from the html (Visio) pages to "file.pdf#destination" do not link back to the same file.  Instead, they try to open another file with the same name and become very confused.
    When I tried this in Acrobat 5, it would append another version of the pdf Word document.  However, named destinations would not be maintained, so all of the Visio to Word links would go to the title page of the Word document.
    Is there a better way to accomplish this through Acrobat 9 (or Acrobat  5)?
    Additionally, Acrobat 9 image map conversion does not seem to work as well as it did in Acrobat 5.  Most of the link boxes are twice as big as they should be, making it difficult to click on anything.  Is there a good way around this?

    Basically, the question is: can I combine two interlinked PDF files so that the links in each go to the correct views in the merged PDF?  If not, is there a third-party application that will?
    Could I possibly make a PDF Portfolio that maintains the links?  I'd prefer a single file, but that would work as well.

  • How can I stop Photoshop CS5.5 taking control of html and pdf files without the user's consent?

    Our client uses CS 5.5, and Photoshop will continuously take control of pdf and html files. This is without any interraction from the user, and after setting it back to the desired settings (pdf - Reader, html - Chrome), after some time (and doesn't seem to be related to anything the user does, restarting machine etc), Photoshop will snatch control of either or both of these extensions.
    Could you please advise on how best to deal with this issue? Resetting Photoshop preferences does work for a time but it is not long before the issues arise again.

    Thank you for the link, it is an encouraging read as I have not yet found anything even similar to my issue via searches.
    The machine has never had a previous version of Photoshop installed, but it does have Elements, which is used for scanning documents (which are then edited in photoshop and converted to pdf there). It is an involved process.
    Although I appreciate the link and your time, I'm afraid the issue in the link is the opposite issue - the other user cannot set the default, whereas my user cannot unset the default.

  • Bug Report: Static LOV's and PDF Printing with Tabular Forms

    I have a tabular form, which acts as an editable report. Some columns are 'Standard Report Column' and some are Select Lists, using Static LOV's with the contents of
    Yes;Y,No;NThe purpose of the page is to allow users to edit yes/no attributes of a row. Then, they can print the report.
    To make the current sort of the report reflect what is being printed to PDF, I've used a Report Layout associated with the report region, as oposed to a report query. A report query in this case would not reflect the sort of the report (all columns are sortable asc/desc).
    Anyway, I link my report with the layout created, and go to run it. I get this message.
    ORA-06550: line 1, column 50: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
         Error      ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Yes;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
    OK      
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data foundI'm guessing the product is trying to take my static LOV and place it in a function to be able to generate which value is being displayed as text, from the select lists. However, it doesn't work.
    I've been able to get around it - by adding a YES_NO domain to my domain_codes table (a table which associates abreviations with full meanings), I can set by select lists to be query based select lists using the SQL select code_meaning, code from domain_codes where domain = 'YES_NO_CODE'. This still allows the user to dropdown Yes/No fields, and the PDF printing doesn't break.
    It is just me, or can't the PDF printing handle static LOV's in tabular forms/reports?

    Hi Patrick.
    I've tried STATIC:Yes;Y,No;Nwhile stating it is a Select List (static LOV). The values that are rendered on the page are
    [STATIC:Yes]
    [No        ]
    ----------I tried the same thing with STATIC2 instead of STATIC, and the same thing happened.
    It also broke if I tried STATIC or STATIC2 under Select List (query based LOV). This is within a report where there is no hyperlink to say 'Create/Edit static list' or 'Create Dynamic List', as there is under select list items.
    However, I am finding that for some reason, the values being sent to the PDF are not the values in the database (Y/N), but the showing values (Yes/No). This happens when I use the domain_code select query as the query based LOV.
    Furthermore, I cannot get any columns not rendering on the page to be generated in the PDF. I have a column that groups items depending on values, and I want this grouping to display in the PDF instead on the original value, ideally.
    Cheers,
    K.

  • Form design requirements when form should be rendered as HTML and PDF

    Hello,
    does anyone know if there is a complete documentation on the requirements when I want to design a form that can be rendered as PDF and HTML. I find only bits and pieces here and there. I found a document on which properties are working in HTML forms, however I'm not able to get my script object code working in HTML.
    Any help or hints are greatly appreciated!
    Regards,
    Karin

    The LiveCycle Forms documentation includes a document called "Transformation Reference". At least it did in version 7. That document details which properties translate into the various flavours of HTML that are supported. Also, the "Developing Custom Applications" document has a section called "Designing form designs to render as HTML".
    Jared Langdon
    www.jlangdon.ca

  • Display report on the web in pdf format

    I am attempting to display a report in pdf format where I have passed parameters to it and it doesn't work.
    We are using Oracle Reports 6i.
    If I use the following CGIcmd line
    a: server=reports destype=cache desformat=HTML userid=test/test@db paramform=no %*
    and the URL
    http://sun9ias:7777/dev60cgi/rwcgi60?a+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
    This report is displayed in HTML format.
    For the following test I only changed the format from HTML to pdf.
    The CGIcmd line became
    b: server=reports destype=cache desformat=pdf userid=test/test@db paramform=no %*
    and the URL
    http://sun9ias:7777/dev60cgi/rwcgi60?b+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
    In this instance there is no report but there is a 'broken image' icon displayed in the top left hand corner of the screen. There are no error messages.
    This is the preferred method.
    As a test I also tried allowing the parameterer form with both HTML and pdf reports.
    The CGIcmd line was set to
    ax: server=reports destype=cache desformat=HTML userid=test/test@db %* %P
    and the URL
    http://sun9ias:7777/dev60cgi/rwcgi60?ax+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
    This displayed the parameter page and when you accept the parameters, the correct report is displayed in HTML format.
    When I use the following CGIcmd line
    bx: server=reports destype=cache desformat=pdf userid=test/test@db %* %P
    and the URL
    http://sun9ias:7777/dev60cgi/rwcgi60?ax+report=INVOICE+p_mainkey=1111+p_subkey=1111.tif.
    As before, this displays the parameter page and when you accept the parameters, the correct report is displayed in pdf format.
    The only problem is where we are attempting to use the URL to go directly to the report in pdf format.
    Thanking you in advance of any help
    Michael Redford

    Hello ,
    You can try out the following
    1. Click on the Report name and bring up the property palette to show all of the properties for the whole report.
    2. Under Report Escapes->Before Form Value, change form method from POST to GET .
    Thanks
    The Oracle Reports Team

  • Displaying both Hindi and Arabic numerals in Oracle 10g PDF report

    Hi….
    Oracle experts told us to ask “In how many ways we can do it in oracle?” instead of asking “Can we do it in Oracle?” , I need ONE way to solve the following problem, it toke to much time and I don’t know if it can be solved !
    The problem:
    Can we print in - Oracle 10g reports - a PDF report with BOTH Hindi and Arabic numerals?
    Well, at design time everything is fine, you can use right-to-left, left-to-right and the print preview is showing BOTH Hindi/Arabic numerals fine, but when I tried to produce it as a PDF, unfortunately its not, means its either all Hindi or all Arabic numerals !
    I tried everything possible, environment variables: NLS_LANG, REPORTS_BIDI_ALGORITHM, and REPORTS_ARABIC_NUMERLS, setting Digit substitution to Context in windows regional settings, uifont.ali is modified properly according to metalink note, but nothing solved this issue!
    I noticed something, when I used the DESTYPE=printer and DESNAME=PDF995 (one of the PDF printers) , it worked fine , means the problem could be in the generic PDF generator of the Oracle reports server,
    But even with PDF995 you still need to feed the file name, which is not suitable for multi-user environment that need the report to be displayed via web browser.
    Does anybody face this before?
    Edited by: khaled.w on May 24, 2010 7:29 AM
    Edited by: khaled.w on May 24, 2010 7:35 AM

    Don't tell so much.
    Check the following link
    1. PDF Reports in Unicode / Arabic & English | Oracle Community
    2. OraFAQ Forum: Reports & Discoverer » Report in Arabic(pdf) (merged)
    3. Arabic Report generated to text file giving Jun... | Oracle Community
    Hope this helps
    Hamid

  • Report generation in HTML, PDF over Word

    Hi,
    I am building a report by generating it in Word, PDF formats. To generate the report with data in a certain format i am using MS Word API to get a better layouts for the content, fonts, alignments, etc. I am able to bring the application with format i require, but the only problem is the performance is pretty poor and if the data is huge it will hang. Hence i am thinking of generating the doc. in PDF , probably i need to use the adobe PDF library and do it. My question here is what is the advantages of generating a report in "HTML" and "PDF" when compared to "Word"? If there is any article on this, pls do provide. Whether the performance will improve? Any ideas of using Adobe PDFAPI, if samples are there pls. do provide as well. I need a help from the gurus regarding this. Please do respond.
    Thanks,
    Rithu

    Thanks Vijay. How can i get the following format through Java , for eg,
    PEDIATRICS                     PODIATRY
    Schwartz, Andrew E, DPM Rithanya,
    51 Hospital Hill Rd. Sharon, blahblah....
    CT 06069 (860) 364-5944 blahhhhhh
    Disidori, Diane, MD nnnnnnnnn
    28 Old Park Ln. kkkkkkkk
    New Milford, CT 06776 --------------------------------------------------------------------------
    (203) 355-8190
    Danbury Hospital
    Gray Clarke, Virginia L, MD
    115 Spencer St
    Winsted, CT 06098
    (860) 364-0536
    22 Upper Main St
    Sharon, CT 06069
    (860) 364-4240
    PLASTIC SURGERY
    Mascardo, Teresita G, MD
    91 Main St
    Sharon, CT 06069
    (203) 364-5522
    Danbury Hospital, New
    Milford Hospital, Sharon
    Hospital
    Spanish, Tagalog/Filipino
    I tried Jasper Reports, but i able unable to get the above format, moreover these datas will have the heading (title) highlighted, uses different symbols, underlines, uses different styles, fonts, etc. Which i think is only possible through MS WORD Api and can be done only in .NET . How this format can be done in Java? Any ideas guys.

Maybe you are looking for