Html tags in pdf printing

Hi ,
I have a pl/sql region which I use to display a report .
Now I want a Pdf output of this pl/sql region. For this I used the Bi publisher and was able to design the report query and report layout as required.
However my problem is that some of the columns in my table have html tags (since the input for these column is through an text area with html editor) . When the PDF is generated the html tags are not converted.
Please advice me on this.
Thanks,
Deepa
Edited by: Deepa J on Sep 25, 2008 6:01 AM

Hi Deepa.
You wont get the HTML to be interpreted in the BI Publisher output I'm afraid.
You'll need to wait for APEX 4.0 for that functionality.
If you're seeing the HTML tags in your PDF and you use a Classic report region you can try selecting the "Strip HTML" option in the Layout and Pagination settings.
Regards
Simon Gadd

Similar Messages

  • PDF printing with embedded HTML

    Hi all.... I am running Apex 4.0.2.00.07 on 10.2.0.4.
    I have a report that looks beautiful on a web page
    it's in in an interactive report with a 2 level grouping
    the data is 4 columns
    image, html table, image, html table
    The image is not stored in the database, it's in an images folder that I use the following code to display
    <pre>
    <img class="mainimage" src="/images/112045_cha.jpg" border=0>
    </pre>
    As for the class, that's in a css at the top
    <pre>
    <STYLE TYPE="text/css">
    .mainimage {
    max-width: 200px;
    max-height: 200px;
    width: expression(this.width > 200 ? "200px" : true);
    height: expression(this.height > 200 ? "200px" : true);
    </STYLE>
    </pre>
    When i look at it in the report, it looks nice, but my requirement is a need to print it.
    If i just print it from the browser, my rows don't line up at page breaks.
    If I export to HTML, my images don't retain the css tag and are too big (also the breaks are not honored)
    If I export to PDF, the breaks are not honored and the HTML is displayed (the img tags and the table displaying the data).
    I have FOP configured, BI Publisher is not an option due to budget.
    Anyone have any suggestions?

    Check this link,
    http://www.obinotes.com/2010/10/how-to-disable-html-tags-within-pdf-in.html
    You can use portalpagenav function and refrence the target report in the column data format instead of go url.
    Thanks,
    Vino

  • HTML Tags escape while exporting to PDF

    Hi friends,
    I have two columns in my BI report like
    Business Group(BG) and OU
    Since in the BG column under the edit formula i used the html tags to show each and every BG column value in bold like below
    '<b>' || "D1.Company"."Business Group Full Name" || '</b>'
    Now the report is appearing fine in answers and dashboard but when i export the same report to PDF i can see the html tags in each and every name of the BG group.
    Is there anything to be done to escape these html tags in PDF while exporting.
    And also if we give the tooltip for the numeric columns like below under the column properties-->Data format-->Custom like
    [html]<p title=\""Employee Count" \">#
    And after that if i tried to escape the same report with the tooltip on the numeric column to pdf means, the number values are missing for the entire column in the PDF, but this case is not appearing while exporting the report to pdf if i set the tooltip to the text column, as the values is missing only for the tooltip of the numeric column. What could be the fix for this problem.
    Thanks
    Regards,
    Saro

    Hi svee,
    Thanks for the reply.
    For an example i tried with the bold option in the edit formula inorder to portray the html tags problem while exporting it to the pdf inspite of using the default bold option within the column properites like u said.
    Suppose if i used html tags like
    <br>, </br>
    in the edit formula section or if i used any other html tags which is not present as a default option in bi like bold. At that time while exporting the report to pdf i can face the issue.
    And also i need ur suggestion regarding with the values disappearing for the numeric column if a tooltip is used in it while exporting it to the pdf.
    Regards,
    Saro

  • 10.6.3, Acrobat 9.3.2 Pro update broke my PDF printer how to

    Hi,
    I updated my CS4 Acrobat Pro to 9.3.2 and now my Acrobat Printer errors in the Que when I FIle> Print and select my Adobe PDF Printer.
    I deleted the Acrobat Printer from my Print & Fax control panel.
    Now I can't figure how to Add my Acrobat printer back.
    Is 9.3.2 broken?
    I use this all the time, but now it's broke

    I just found this article
    http://kb2.adobe.com/cps/509/cpsid_50981.html
    The Adobe PDF Printer is not available or is unusable in Mac OS X Snow Leopard (v10.6). This situation is due to security features in Snow Leopard that disable the Adobe PDF Printer. Adobe Acrobat 9.1 Pro removes the Adobe PDF Printer and adds a new Save As Adobe PDF command. Customers using earlier versions of Adobe Acrobat in Snow Leopard cannot use the Adobe PDF Printer.
    SOLUTION
    To add and use the Save As Adobe PDF command:
    If you are using Acrobat 9 Pro, update to Acrobat 9.1 Pro. The Updater removes the Adobe PDF Printer from the Printer list and adds the Save As Adobe PDF command to the PDF menu.
    In the PDF menu, choose Save As Adobe PDF, and follow the onscreen instructions.
    To remove the Adobe PDF Printer manually:
    If you upgrade from Mac OS X Leopard (v10.5) to Mac OS X Snow Leopard (v10.6), the Adobe PDF Printer is not removed
    Choose Apple > System Preferences.
    Open the Print & Fax preference panel.
    Select the Printing tab to see the printers list.
    Select Adobe PDF 9.0.
    Click the minus (-) button.
    The Save As Adobe PDF command appears in the PDF menu.

  • Writing Html Content into PDF using JSP

    Dear All,
    I am using JSP to generate Employee payslip dynamically. Presently i am diplaying payslip as on-screen display.
    Here i want to give option "Save as PDF". I am able to create PDF file using IText Libraries. i want to integrate HTML code into the PDF file.
    Writing HTML Content (using HTML Tags) into PDF.

    Well it is a difficult ask and i believe we are trying to re-invent the wheel
    Just to make my life simple i could have choosen either sample API given below to serve my cause
    1).[http://xmlgraphics.apache.org/fop/] (Apache FOP one can simply write an XSL template of their and then substitute the values from respective DTO's by using XSL - XML transformations and can generate content in different formats which includes PDF aswell)
    2).[http://jasperforge.org/plugins/project/project_home.php?group_id=102] (Just design a simple report template using iReport and create a jrxml files and write a small code snipett such that you can pass few details at the runtime and can export the report in different formats which includes PDF aswell)
    3).[http://www.object-refinery.com/jfreereport/] (Is much similar to what jasper offers in order to compile these you can either use pentaho product IDE or BEA/Oracle Actuate report tools)
    You can simply try searching for different examples for getting more help on using the respective API's
    Hope that helps :)
    REGARDS,
    RaHuL

  • HTML Tags not moved in PDF

    Hello,
    I would like to print a report as a PDF and use the BI Publisher.
    This functions so far also quite well, only I have the problem
    I pass a HTML formatted text from a field CLob
    and with the PDF output the HTML tags are not moved.
    In the PDF document the HTML tags stands instead of a formatted heading,
    e.g.
    <*h1> This is the heading <*/h1> (without stars)
    What I must set / make with it I also a formatted one
    Heading agrees?
    Somebody an idea?
    Edited by: user10460383 on 14.09.2009 06:16
    Edited by: user10460383 on 14.09.2009 06:17

    True - a PDF isn't going to support HTML encoding. HTML will just be seen as more text, and displayed that way.
    You can strip out HTML tags fairly easily with a regular expression in your query SQL - this simply looks for text between < and > characters, and removes it. That should work for basic HTML formatting tags, but it isn't 100% (it won't handle <script> blocks correctly, for instance).
       select regexp_replace(myHTML, '<[^>]*>', '') as myText
       from myTable... Implementing a method to convert the HTML formatting into RTF formatting is also possible, but not a trivial task - you'd effectively have to replace each HTML tag with an RTF equivalent -- eg, replace <H1> with the RTF code to make a larger font, replace </H1> with RTF code to return the font to normal... etc...

  • Oracle Reports: Print HTML tags

    I am reading data from DB that contains HTML tags and would like the tags to be interpreted when the PDF report is displayed. Currently, the HTML tags are being displayed in the report.
    When I output the report as a HTML is tags are interpreted and looks ok.
    How do I convert the HTML tags in the report is displayed as PDF?
    Thanks for your response.

    Ramakrishnan Srinivasan (guest) wrote:
    : I have a requirement to transport a print file created by
    Oracle
    : Reports to a print shop and print the document at this
    facility.
    : I know the type of printer this shop has.
    : The print file I like to create is a Form Letter. I will like
    to
    : know how to achieve this using Oracle Reports.
    : The letter I like to print is a standard letter with some
    custom
    : information on it. I will also like to know if I can create a
    : file consisting of Name, address and other specific information
    : that I want in the letter and merge it at the other end with
    : Word/Word perfect Letter using a WINDOWS 95 supplied batch
    : program.
    : Any other feasible solutions are also welcome.
    : Ram
    Hi Ram,
    You can create a postscript file or a PDF file and give that
    to the print shop for printing. It's pretty easy. Go to the File
    menu, choose Generate to File, and then choose Postscript or PDF.
    Note that Reports will use the driver for the printer to which
    you are connected at the time you generate the file. You may have
    to do some tests to make sure that that printer driver is
    compatible with that of the print shop. I would generate a test
    file from Reports and see if it works with their printer.
    Regards
    The Oracle Reports Team
    null

  • Pdf and html tags

    I am creating a report in APEX. I am using the HTML TAG <br> in my headings on the report. The headings on the report look great. When I do the PDF the headings do not look great. The PDF does not seem to like the html <br> tag. Any idea's?

    Hi Earl,
    I actually have strong, bold, italic, html, new paragraph tags in the content of the text area.
    When the pdf is displayed, it shows the tags as it is. I want the data to be formatted and displayed.
    Thanks
    Meenu

  • How to read tags from pdf to print in different printers (PCL or PS)

    Hello from Spain.. I would apreciate some help who to read tags from pdf to discriminate PDF Production tag for send print PDF to printer job using driver PCL or PS. I get trubles when print PDFs files made by PDFcreator (Ghostscript, intermediate PDF from PS) in PCL job printer. I need to eval tags from PDF for send command line os javascript inside Adobe Acrobat to print in the correct job printer: PCL or PS...
    Thanks.

    As noted you cannot access the "Tag" of a PDF but you can access the meta data of a PDF and one of the items recorded in the meta data is the "producer". This meta data tag is supposed contain the name of the program that produced the PDF. One can access this through the "info" property or the "metadata" property of the doc object.
    var cProducer = this.info.Producer; // get the producer application for this PDF;
    console.show();
    console.clear();
    console.println("This PDF was created by " + cProducer);
    Be aware that the user can easily modify the Producer information with Acrobat, JavaScript, or other application after the PDF has been created.

  • When Exported in PDF reports displays HTML Tags

    Hi All,
    Business Object XI R2
    WebI Report
    I am Reporting on Oracle CLOBs. This CLOB contains Data with HTML Tags, Clearly this CLOB is the combination of DATA formatted in HTML tags.
    When I create a WebI Reports on this (CLOB) WebI displays correctly in the sence data only.
    When I export this report to PDF; The PDF display contains both data with HTML tags as well.
    Is there any solution/workaround or any setting in the BO Server to overcome/solve this issue.
    Appreciated you prompt help.
    Thanks,
    Ashok

    Christine,
    My question is wether Adobe support CLOBs or not.
    I was reported on oracle CLOBs (This CLOBs contains data wrapped in HTML tags), by using Business Object Web Intelligence. This WebI displaying the reports as I desire, there is no problem, in WebI. WebI displaying data with no HTML Tags.
    My problem is that when I export this WebI report, this Adobe is getting HTML tags, why? Since this WebI is not displaying the HTML tags, since adobe does not know wether there is a HTML tags or not.
    Apprecited your prompt reply.
    Thanks,
    Ash

  • Can i use HTML tag in text when sending contens as "Attachement(PDF)".

    Hi all!!
    i try to add html tag on ibot email text column.
    is it possible?
    - in ibot delivery content.
    send content as Attachment(PDF)
    "if sent as attachement, include this text" <--- mark this field
    and below multi line input column, can i use html tag, for example,
    Yahoo
    thanks in advance.
    Edited by: vingorius on 2010. 10. 31 오후 7:27

    hi vingorius ,
    No you cant include html but u can use variables
    To add a variable in a text message to provide context for the iBot attachment
    1. Click the following option:
    If sent as attachment, include this text
    2. Type the text into the text box with a session variable, a repository variable, or a presentation variable using the syntax shown in the following table:
    Variable Type
    Syntax
    Repository @{Variable_Name}
    Session @{NQ_SESSION.Variable_Name}
    Presentation @{Variable_Name}
    For example, Dear, @{NQ_SESSION.Variable_Name}, here is your personalized Weekly Sales Territory Update.
    NOTE: If you want to use the @ character, you need to precede it with the \ (back slash) character to separate it from the variable syntax. For example, Dear @{NQ_SESSION.DISPLAYNAME}, \@ New York, appears as Dear Joe Smith, @ New York.
    Source : BI Guide
    Thanks,
    Saichand.v

  • Printing an html msg to pdf crashes the driver but I can save to pdf from Abat

    I have a user on a windows 7 64bit with Acrobat 9. He's got a message that we've saved to an xps. It opens fine in outlook and in xps viewer. When I try to print it in either one it crashes the acrobat printer driver. But I can open the xps in Acrobat and save to pdf just fine. Huh?

    Some useful reference material.
    At http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Acrobat 10.1 adds PDFMaker support for these Office 2010 64-bit applications: Word, PowerPoint, Excel, and Outlook.
    Acrobat 9 and earlier users can create Adobe PDF files using the Adobe PDF printer.
    For more information, see PDFMaker unavailable in 64-bit Office 2010.
    (http://helpx.adobe.com/acrobat/kb/pdfmaker-unavailable-64-bit-office.html)
    n.b., Acrobat 9 just went to 9.5.2
    Be well...

  • Contains HTML tags & print

    Hi,
    Reports6i patch10
    Scenario is: I have a column (database colummn text with embedded HTML ) where I set property 'Contains HTML tags'
    I get the column incl html rendered find where desformat=html&destype=file&desname=myfile.html '
    but when setting
    destype=printer&desformat=html&desname=myqueue and sending output straight to printerqueue the html is not being rendered in fact the column is not rendered at all
    HAs anyone similar experience ? solutions ?
    TIA
    Per

    Hello Per Elmgreen,
    When DESTYPE is specified as PRINTER, Reports formats output in PS or PCL format (depending on the printer language understood by the destination printer). Since these formats do not understand HTML tags, any such markup in the output will remain unformatted.
    In order to get properly formatted output using HTML tags, you could generate the report to a HTML file (with the 'Contains HTML tags' property set) and then print the file using a browser.
    Thanks,
    The Oracle Reports Team.

  • How to remove html tags from the pdf file ?

    Hello,
    Using BI publisher we are generating a pdf file. In the table, we have data which contains html tags. for example " test1<br> 2.test2<br> 3.test3<br> ".
    In the pdf file we need to get the output like this
    test1
    test2
    test3
    But the output is as follows :"test1<br> 2.test<br> 3.test3<br> "
    Any idea, how these html tags can be removed from the pdf file and obtain the required result?
    Thanks in advance!!
    Archana

    Archana,
    Can you wrap your code in <code> tags (use square brackets rather than angled ones), as the forum software is interpretting the HTML tags, in other words we can't see what you mean ;)
    In any case, there are a few different options (guessing at what your problem is, without seeing the actual data), you could use htf.escape_sc or replace, regexp_replace etc to substitute the values before you output them to your PDF.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Re: More control over html tags needed

    I have trying for a while to find an elegant solution to printing reports in such a way as to have headers and footers repeated on every printed page.
    <BR><BR><BR>
    The two main solutions seem to be either using PDF (using FOP) or controlling the size of the regions anually (by hardcoding heights etc.). I am confident that with more control over the html tags (or the ability to place my own) around certain areas the problem could be solved very simply with CSS.
    <BR><BR><BR>
    What I would like is a way to change the way that Apex treats table headers.
    <BR><BR><BR>
    Presently it places the headers within a tbody tag and the uses th for every column. Ideally I would like to see this changes from tbody to thead. Given that the chances of this happening in the near future are minimal (not something that I am upset about as it would not be logical to change such things every time someone wants things to suite them better), I would like to be able to place a tag either before or after the tbody tag.
    <BR><BR><BR>
    Something like:
    <BR><BR><BR>
    div id="tableheaders"
    <BR><BR><BR>
    If anyone knows how to do this your help will be greatly appreciated. Given that, printing repeated headings can be controlled relatively simply.

    Hello Andrew,
    I believe the following might be of help - placing <thead> and </thead> around headers
    Regards,
    Arie.

Maybe you are looking for