PDF printing capabilities

Hi there
I have here in Apex3 a report that, using some CSS/HTML tricks (basically a div element with specific CSS classes), I managed to colour some of the cells based on their contents.
Now the user wants to export it to PDF format, what was easily achieved using Apache FOP. However, of course, the div trick does not work with PDF and a nbsp (which I put inside the div) is displayed instead of the colouring.
PDF generation is new to me, so I have a few questions regarding it... Is it possible to colour cells in a report and do fancy things like that, as you can do in HTML? Or is PDF printing only able to display simple reports, with plain text?
Can anyone provide a link to a sample application that shows all the capabilities of PDF printing? (ideally with Apache FOP)
If such functionality cannot be achieved because of Apache FOP limitations, if I use the Oracle printing suite product (sorry, can't remember its name) will those limitations be overcome?
Thanks,
Luis

Hi Luis,
You can create some incredibly complex and rich reports using the BI Publisher (BIP) integration that APEX allows. In your report template (using the BIP plugins) you can use conditional logic to make colour columns/rows etc depending on certain criteria.
It is possible to do this yourself using the (free) Apache FOP solution, however it involves a great deal of hand-crafting the XSL-FO code yourself (not a task to be taken lightly, but entirely possible).
If you have the budget for it (or your requirement is urgent), then I highly recommend using BIP, if you don't have the budget then I recommend Apache FOP and a bottomless coffee pot and ready access to a local bakery (you're going to need the caffeine and sugar to get you through the manual XSL-FO coding).
Another possibility is to investigate PL/PDF (www.plpdf.com) which might suit your needs.
Hope this helps,
John.

Similar Messages

  • PDF Printing Capabilities for NW2004s - Bex Analyzer (MSExcel)

    Hi,
    the new NW2004s-Bex Web frontend offers the pdf-printing capabilites.
    <b>Will this functionality be offered for the NW2004s-Bex Analyzer (MS Excel) Frontend tool as well and does anyone know when?</b>
    Thanks
    Christian

    I don't think it will ever be used with Excel, except you have a local installation of Adobe Distiller (? the adobe printer creating .pdf-files ?). To me it doesn't makes sense because in Excel you can print as you like. Nevertheless you can jump to the BEx Broadcaster or Web Analayzer. There you can use pdf-printing.
    Best regards,
    Leo

  • GlassFish PDF Printing question

    Hi all,
    I am looking into some options of integrating PDF Printing to our APEX application.
    So far I've managed to have Apache FOP and Tomcat+Cocoon working.
    Has anybody tried to have PDF printing capabilities with GlassFish as web server? If so, are there any hints/documents available out there?
    Kind Regards,
    Ana

    Hi all,
    Here's what I have done so far is:
    1. Set up GlassFish App Server - all went OK
    2. Connect to admin console: http://host:4848/
    3. Navigate to WebApplications then deploy fop.war from apex install (however it is not possible to set Context Root to null as it gets set with "fop")
    4. Next in APEX set the following :
    Host: localhost
    Port: 8080
    Print Server Script: /fop/apex_fop.jsp
    I am getting many errors when I try to generate a report to Word, one of which I am pasting below:
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
    PWC6199: Generated servlet error:
    [javac] E:\Kits\GlassFish\glassfish\domains\domain1\generated\jsp\j2ee-modules\fop\org\apache\jsp\apex_005ffop_jsp.java:10: package oracle.xml.parser.v2 does not exist
    [javac] import oracle.xml.parser.v2.XMLDocument;
    I think what I need is to use a different fop.war (as the one in APEX is not suited)
    Has anybody tried this before?
    Thank you,
    Ana-Maria
    Edited by: Ana-Maria on 16.10.2008 05:03

  • Tomcat/Cocoon/APEX PDF printing. Another issue

    Hi All,
    I am trying to implement my own custom report layout for the following simple Report query
    select e.DEPTNO, d.DNAME, d.LOC, e.ENAME, e.JOB
    from emp e, dept d
    where e.deptno = d.deptno
    The steps are the following
    1. Create Report Query
    2. Download XML file
    3. Use Stylus Studio to create XSL-FO (XSLT 2.0) based on XML data downloaded in
    previous step.
    4. Go back to Report query and upload XSL-FO file to APEX (layout name 'MyLayout' is also specified).
    Finish Report Query creation
    5. Enter Report Query again, select report layout 'MyLayout' and select Test Report
    The result is a failure with some java cocoon exception:
    org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
    Cocoon stacktrace[hide]
    Exception in StreamGenerator.generate() context://fop_post/sitemap.xmap - 17:32 <map:serialize type="xml">
    context://fop_post/sitemap.xmap - 13:33 <map:generate type="stream">
    Unable to get transformer handler for cocoon://fop_post/xsl context://fop_post/sitemap.xmap - 38:37 <map:serialize type="fo2pdf">
    context://fop_post/sitemap.xmap - 31:39 <map:transform>
    context://fop_post/sitemap.xmap - 30:38 <map:generate>
    context://sitemap.xmap - 1034:92 <map:mount>
    It seems to me that XSL-FO that I created for this layout is rejected somehow by APEX and not passed to Coccon at all.
    Guys, what am I doing wrong ? I will appreciate any help.
    Regards,
    Vadim

    Hi Mike,
    My standard printing is working nicely. That's the custom reporting that I experience problems with.
    After 8 hours of googling and 4 cups of coffee I figured out where the problem was. When you define XSL-FO file you need to 'escape' every occurence of % sign. For example you cannot define width= "100%" because APEX will pass this unchanged to Tomcat and Tomcat in turn will reject this but still passing NULL template pointer to Cocoon. Taking into consideration very poor logging capabilities one can spend hours trying to fugure out what is hapenning. APEX should be smart enough to escape characters or at least there should be a doco somewhere listing the rules you need to follow whem creating FO stylesheets.
    I must admit that the whole APEX PDF printing using Tomcat/Cocoon (and probably Fop because that's what used by Cocoon behind the scene anyway) is unfortunately a hack. Reporting does not have to be that complex.
    I would be extremely grateful if somebody can tell me what sort of XML tool is best suited to generate XSL-FO files that can be easily understood by APEX/Tomcat/Cocoon.
    Regards,
    Vadim

  • PDF Printing and CSS Media Style Sheets in OS X -- CSS @page ignored

    I'd like to author an XHTML document and specify precisely how it should be printed to pdf (margins/headers/footers/page breaks/etc.) using the CSS Media Style Sheet capability, i.e, CSS's @page rule.
    Apparently, Microsoft IE7 supports these page rules (http://blogs.msdn.com/ie/archive/2005/06/10/428149.aspx), but these do not yet appear to be supported in OS X's "Print to PDF" function (http://css-discuss.incutio.com/?page=PrintStylesheets).
    Is this true? Does anyone know how to access these CSS printing capabilities on a Mac?
    Furthermore, does anyone know how to get "Print to PDF" to maintain HTML hyperlinks in the PDF file?
    E.g., using OS X+Firefox, the following @page rule is ignored by the "Print to PDF" function on my Mac.
    <style type="text/css">
    <!--
    @media print {
    @page {
    counter-increment: pages;
    size 8.5in 11in; margin: 0pt; padding: 0pt;
    @bottom-left :first { }
    @bottom-left {
    font-family: Veranda, sans-serif; font-size: 10pt;
    font-weight: normal;
    content: "Document Title, Page " counter(pages);
    body { margin-top: .5pc; margin-bottom: .5pc; margin-left: .5pc; margin-right: .5pc; }
    h1, h2, h3,
    h4, h5, h6 { page-break-after: avoid; page-break-inside: avoid; }
    blockquote,
    pre { page-break-inside: avoid }
    ul, ol, dl { page-break-before: avoid }
    -->
    </style>
    PowerBook G4 Mac OS X (10.4.5)
    PowerBook G4   Mac OS X (10.4.5)  

    I'd like to author an XHTML document and specify precisely how it should be printed to pdf (margins/headers/footers/page breaks/etc.) using the CSS Media Style Sheet capability, i.e, CSS's @page rule.
    Apparently, Microsoft IE7 supports these page rules (http://blogs.msdn.com/ie/archive/2005/06/10/428149.aspx), but these do not yet appear to be supported in OS X's "Print to PDF" function (http://css-discuss.incutio.com/?page=PrintStylesheets).
    Is this true? Does anyone know how to access these CSS printing capabilities on a Mac?
    Furthermore, does anyone know how to get "Print to PDF" to maintain HTML hyperlinks in the PDF file?
    E.g., using OS X+Firefox, the following @page rule is ignored by the "Print to PDF" function on my Mac.
    <style type="text/css">
    <!--
    @media print {
    @page {
    counter-increment: pages;
    size 8.5in 11in; margin: 0pt; padding: 0pt;
    @bottom-left :first { }
    @bottom-left {
    font-family: Veranda, sans-serif; font-size: 10pt;
    font-weight: normal;
    content: "Document Title, Page " counter(pages);
    body { margin-top: .5pc; margin-bottom: .5pc; margin-left: .5pc; margin-right: .5pc; }
    h1, h2, h3,
    h4, h5, h6 { page-break-after: avoid; page-break-inside: avoid; }
    blockquote,
    pre { page-break-inside: avoid }
    ul, ol, dl { page-break-before: avoid }
    -->
    </style>
    PowerBook G4 Mac OS X (10.4.5)
    PowerBook G4   Mac OS X (10.4.5)  

  • Pdf printer driver install win 8.1

    i have uninstalled and reinstalled reader 11 5 times, that is after installing reader 8.1 in cs3. i have searched and tried every option and spent 5 hrs trying to get the pdf printer installed on my new asus with win 8.1. i was able to down load pdf blue and it worded out of the box. but why should i pay another $50 when i already pay adoby for the reader.  can any one help me with the fix?

    I have read your post several times, but I cannot figure out what your problem is; can you rephrase it?
    Also this part does not make any sense to me
    cy0179 wrote:
    why should i pay another $50 when i already pay adoby for the reader.

  • Save As Dialog not responding - PDF Printer

    Whenever I try and print to the PDF printer, (If preferences are set to prompt for file name) the "Save As " dialog locks up. The only way to clear this is to stop the Acrotray.exe. process.
    I have tried changing the printer preferences, but the only options that I can get to work are:
    Prompt for Adobe PDF filename
    Documents\*.pdf
    I I use the browse to point to a different location, when I save the setting, exit and then go back to check it, it has reset to Prompt.
    System
    Windows 7 Ultimate
    Adobe Acrobat Pro 9.3

    to make things clearer a screenshot of the dialog I'm talking about. this happens everywhere such a generic save file dialog appears.

  • Adobe PDF Printer not working as print driver; 9.5.5 (pro) with Windows 7, 64 bit

    I have installed, repaired, uninstalled and re-installed Acrobat Pro 9.5.5 on a newly formatted SSD with Windows 7, 64 bit on my desktop machine. The program was installed from Acrobat Pro 9.0.0 and updated within the program. I have the program also installed on my laptop, and the Adobe PDF Printer driver is working properly on my laptop.
    On my desktop with the newly formatted SSD, the Adobe PDF printer driver is not working. Note that I am using the printer driver, and not any pdf creation techniques within MS Office or other programs.
    When I go to the Adobe PDF printing preferences on my desktop, I only get a generic, two tab window open. When I print a file to this printer on my desktop machine, I do not get a window opening that asks where to create the pdf or what to name it, and I never see any files created. In MS Word, the Create PDF option under the Acrobat tab works and opens a dialog to ask the name and location to save, and then opens a PDF Maker progress window and properly creates the file. I can also save a file as an .eps or .ps file and use Distiller to create the pdf. However I cannot get the Adobe PDF printer driver in my Devices and Printers to work properly, although it works just fine on my laptop with the same program (Pro 9.5.5) and same Windows version (7, 64 bit).
    Repairing, uninstalling and re-installing does not solve the problem. Acrotray.exe *32 process is running. Any ideas on why this won't run properly on my desktop, but will run on a similarly configured laptop?
    On my laptop, I get a full, (7) tabl menu with all the normal options:

    I found this answer from Deepak Chauhan on another forum, and it solved this problem!
    Try this to add Adobe PDF printer manually on Windows 7, and Windows Vista.
    If windows 7 is Enterprise or better edition: (Admin rights required)
    Start>search for printmanagement.msc and open the print management module
    Expand the print server and expand the computer name to see availbale printers, drivers and printer ports.
    - from printers ensure there's no Adobe PDF printer, if there is delete it
    - go to ports and delete the PDF ports (the ones ending in *.pdf)
    - go to drivers and delete the PDF converter.
    Take note if any errors occur, but continue with the following steps regardless.
    If on windows 7 home edition, just goto start>Devices and Printers and ensure PDF pritner is not listed.
    Then open the registry (if any erors deleting these keys happen, see below)
    1: go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers
    delete any adobe PDF printer subkey present
    2: go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors
    delee the PDF port monitor if present
    3: go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
    again delete and pdf printer subkey
    If any erros occur, you need to set the owner of the key to the currently logged in admin user, then ensure that user has full control.
    Do this by right-click the key and selecting permissions, clicking on advanced, then the owner tab.
    Once you've all that has been done, open a command line as administrator.
    Copy and pate the following commands in order
    1: net stop spooler
    2: rundll32.exe setupapi.dll,InstallHinfSection AdobePDFPortMonitor 128 C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\Xtras\AdobePDF\AdobePDF.inf
    3: net start spooler
    4:rundll32.exe printui.dll,PrintUIEntry /if /b "Adobe PDF" /f "C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\Xtras\AdobePDF\AdobePDF.inf" /r "Documents\*.pdf" /m "Adobe PDF Converter"
    That should set back the pdf printer.
    This seemed to provide the link that provided the Adobe PDF Settings tab to the Adobe PDF Printing Preferences that was missing!

  • Using PDF Printer TO Print Multiple Word Docs At Once.

    I Have Just upgraded from acrobat to acrobat 3d. In Acrobat 5 i was able to select a batch of word document (150+ usually) and use the send to command to send them to the acrobat distiller and each document would open one at a time print and then close. I have now been upgraded to Acroabat 3D and if i use the same Send to Command to send a batch of word docs to the pdf printer it tries to open all the selected files at once and i get an error message "the command cannot be performened because a dialog box is open..." this is because the 1st document is open and printing so the secound document that opened at the same time cannot operate the print command. Can Anyone help?

    Thanks for the suggestion but...
    1. I can't get these scripts to run in 10.4.8
    What if you save the script as a stand alone app? Does that make a difference?
    2. I haven't spent much timr trying since it looks
    like thy only convert "JPEG", "GIFf", "PICT", "TIFF",
    "PDF" & "TEXT". Am I wrong?
    That's what it looks like from the "extension-list" - what type of files are you trying to convert?

  • PDF printer has a problem with Safari in "Reader" mode in Windows7

    As shown in the image above. When I try to use the PDF printer to print out a web page in Safari "Reader" mode, the lines near the bottom of each page get squeezed like this. There is no problem with XPS printer. I guess this problem is because of some incorrect settings in Safari or the PDF printer?
    My system is Windows 7 Pro. I am using Acrobat X Pro. The page I am trying to print is http://en.wikipedia.org/wiki/Electronic_band_structure. This problem only happens when the webpage is adjusted into "Reader" mode in Safari.

    Many thanks for your reply!
    I am sorry, I did not make my question clear. I would like to save some web pages only in "Reader" mode, because in this mode all the advertisements are filtered out and the pages look much nicer than the origional layout.
    I first let Safari to active "Reader" by clicking "Reader" button.
    Then I click "Print" button and select Adobe PDF as the printer.
    The problem is the PDF file has something wrong (shown above), and I would like to know how to avoid this problem.

  • PDF Printer and Acrobat fail to open or run or anything else.

    Hi
    Adobe Acrobat Standard 9 has been installed on this TS2008 (VM) server for over a year without problem until recently.
    To start, the Adobe PDF printer stopped creating PDFs. When it worked a user would print and the PDF (creation) progress bar dialog box would open and the Adobe Distiller icon would appear in the taskbar (swirling) and a PDF would be created. Now we get the progress bar but no Distiller icon and no PDF is created.
    Then Adobe Acrobat Standard (editor) failed to open any PDFs. We installed Adobe Acrobat 9 reader which opened PDFs for a while and now that has stopped working.
    After many uninstalls, reinstalls, reg cleans we decided to open a case with Adobe who told us that Acrobat 9 is not supported on Server2008. The customer purchased Adobe Acrobat X.
    We installed Acrobat X (in terminal server mode) and all was well for around 24hrs and then it all stopped working again.
    I have since uninstalled reinstalled again. I created 1 PDF and after that the progress bar just hangs. We performed a controlled user logon to the server and all was going well until one user logged in and he isnt able to open Acrobat to read or edit PDFs.
    There are no events logs which appear to directly relate to this. We were concerned about a HpBIDI driver which no longer errors but we do have a large amount of EventID 7036, ServerControl Manager Eventlog provider and EventID 4 SpoolerWin32SPL.
    We have since been back to Adobe Support who advised us to unplug the network cable which we cannot do as its a hosted VM (with no access to the the VM console). He then asked us to remove the server from the Domain which we can't do as this is a single live server. They intend to come back to me!
    We are really at a loss here for idea's, can anyone please provide some clues?
    Thanks

    Hi billu54860732,
    Try running the Repair command from under the Help menu to see if it corrects the problem.
    The probable cause of the error is, multiple processes of Acrobat/Reader running in the background.
    If 'Repair' doesn't resolve the issue kindly follow the steps mentioned below and check, if it helps.
    1) Press CTRL+ALT+DEL together
    2) Go to the Task Manager
    3) Go to Processes in the Task Manager and kill al the processes related to Acrobat/Reader.
    4) Launch Reader/Acrobat (It should launch without an error).
    To further isolate the issue you might want to run Acrobat/Reader in an environment where no other services are running.
    This can be achieved via "MSCONFIG"
    1) Click on start type run
    2) Type MSCONFIG in the run prompt
    3) Go to services and click on hide all Microsoft services
    4) Click disable all
    5) Go to the startup in configuration window and disable all startup items
    6) Restart your system
    7) Launch Acrobat/Reader
    If, it is launched without an error, a service on your system is conflicting with Acrobat/Reader.
    Let me know if issue persist.
    Regards,
    Aadesh

  • PDF printer

    Hi All,
    Kindly help me answering the following questions.
    1) Please give me the guidelines on testing and how we can test the layouts and forms that are being
        developed using PDF printer.
    2) Why we want to test using PDF print ?
    Regards!

    got the answer

  • Windows Server 2008R2 running Remote Desktop Services reports printer process does not exist when installing PDF printer

     Windows Server 2008R2 running Remote Desktop Services reports printer process does not exist when installing PDF printer, And when Installing network printers from the domain controller it reports it cannot connect to printer.  I can ping all
    network devices. I can connect to the internet.
    On boot I get a netlogon 5719 error followed by service control manager errors 7023,7001 and a group policy error 1129.
    Clients can connect to the remote application and RDP operates to connect to the server internally and externally.
    The domain controller is another server 2008r2 box. I have scoured the internet but have not found any solutions that work yet.

    Hi,
    After referring to your post, it can be identified that the issue which you are facing is mostly due to some network issue in your environment. Please recheck your network connection issue between computer and domain controller. 
    Can you able to ping with IP address and also with fully qualified name of a domain controller in the users' and computers' domain. If it fails states that name resolution issue with computer and domain controller. Are you using MS DHCP Relay agent then there’s
    available Hotfix for the particular Event ID. Please go through this KB 2459530 to fix the error event ID.
    As per the net logon error 5719 which you are facing states that the client component of Netlogon was unable to locate a DC for the domain it was trying to perform an operation against. Below is one of the reason. If this is being logged on a DC and the event
    refers to the DC's own domain, something might be preventing the client component of Netlogon from starting a network session (to itself or to another DC in the domain). The following event 7001 & 7023 states start & stop operation service. Please
    go through beneath article for more details.
    1.  Event ID 5719 is logged when you start a computer
    2.  Netlogon 5719 and the Disappearing Domain [Controller]
    3.  Event ID 1129 — Microsoft-Windows-GroupPolicy
    Hope it helps!
    Regards.

  • Printing from Appleworks using Adobe PDF Printer

    I have a large number of Appleworks files to convert to PDF. At the moment, I open the file, do a command-p, choose PDF, then "Save as PDF". This method works fine. I would like, however, to automate the process, and doing so would be much easier if the Adobe PDF Printer would print with the expected settings when I click the "Print" button. Is there any way to make this happen? It seems strange that it is not the default behavior, considering the fact that the PDF printer is only a virtual printer, and would never be used to print to paper.
    Peter

    I have a g5 running Tiger. I updated my profile after posting my original question.
    The "Save as PDF..." button works, but not the button on the right that says "Print". It is important to me to be able to use that button, because it forces the application to print to the Adobe PDF virtual printer.
    Peter

  • How to reinstall PDF Printer in Print & Scan window on OSX 10.8.2

    Hello,
    I was having issues where PDF's were not saving when I was printing them, so I thought that if I deleted the PDF printer from my list of printers and reinstalled it, my problem would be solved.  Now I can't figure out how to reinstall (add) the PDF printer back into this window.  I have uninstalled and reinstalled Acrobat, and I have been searching the web for about an hour.
    I am running OSX 10.8.2
    I have Adobe Creative Cloud installed
    I am on an iMac 3.4 Ghz Intel Core i7
    32 GB of RAM
    Thanks for any help you have.
    J

    Moving this discussion to the Creating, Editing, & Exporting PDFs forum.

Maybe you are looking for

  • Getting Error in Asmx Web Service Unit Testing & not able to debug unit-test Project.

    I am getting below error message while running unit test for ASMX web service Failed MyFunction The ASP.NET Web application at 'D:\MyProjectFolder' is already configured for testing by another test run. Only one test run at a time can run tests in AS

  • Loaded  Data is not yet visible in Reporting

    Dear Experts, If i am uploading data in  Plant Maintenance Delta cube . The request status is green but it is not available for reporting. It scheduled daily. Regards, Anand Mehrotra.

  • Cannot install software for 2nd iPod

    I have iPod software already installed for my 1st iPod. To set up the 2nd iPod I have tried the following: - insert iPod sofware CD that came with the iPod. But when run, it asks if I want to remove the application. I've tried saying OK to remove, th

  • Data load into Essbase (append instead of overwrite)

    Hello, We are loading data from oracle table to target Essbase cube. How do we handle ODI data load to append instead of overwrite last value? Ex: We have data source with M:1 mapping, so we incoporated case statement [Case when Group A, B, C then D]

  • ESS Salary Statement 'No result exist'

    Hi All, We are setting-up our salary statements on ESS and I am getting this error. I can see results in the overview section, but no form. We are using the HR Forms (PE51) method. I think I have the features setup correctly. EDTIN: CUS&BEHR_MXESS HR