Apex 4.2.2 with earphone Apex 2.0 PDF print

We have recently installed 4.2 with 2.0 Apex Apex earpiece and correctly print interactive reports and classic reports in PDF format.  I saw Mark Sewtz PDF print with Apex 4.2.2 and I saw how he uses third-party tools for formatting of reports.  We also examined in the report Integration Toolkit to Jasper, but have only gotten it working on environmental Tomcat, WebLogic not.

I'm trying to download a classic report to PDF with our logo displayed in the header.  In the print attributes section, it has a header section.  I tried to add the following in the header section:

< img src = " " http://HR.UNM.edu/common/images/unm_dept_logo.gif "> "

No Logo print

#APP_IMAGES #unm_dept_logo.gif

Prints in the header:

wwv_flow_file_mgr.get_file?

p_security_group_id=3930016164431413%26p_flow_id=106%26p_fname=unm_dept_logo.gif

#WORKSPACE_IMAGES #unm_dept_logo.gif

Header prints: /i/unm_dept_logo.gif


I also added the logo in the report area, before printing, columns, but no logo no downloads in PDF format.


The listener of the Apex is only render text?  Is it possible to get the logo to print in the header without using a third-party tool?  Any suggestions are greatly appreciated.  Thank you!

Hello

There are different options to include images in your PDF exports. What is important to understand if it is with the exported PDF file of functionality that separate us the formatting of the actual data. So the formatting is defined in your RTF or XSL - FO models and the data is stored in the XML file that generates the APEX are based on your report data. We have several formatting options set out in the pages of printing attributes, i.e. you can set the page layout form, dimensions, colors, fonts, etc. - that are applied to what we call generic models of XSL - FO. These models are generic because they can be used with various reports, including the variable number of columns and the column variable names. Formatting attributes cannot be used but with models of named columns, such as those that you generate with BI Publisher or these third-party tools I mentioned in my Blog.

So if you want to use these formatting options, you need a generic report layout - which you get out of the box using the integrated provision. But you also have the ability to create your own layout of generic report (see-> presentations, shared components). When you create a custom generic report layout, you will get a copy of the layout that is integrated as a starting point. Once created, you can manually change this layout to meet your needs. When you change this model, you will find a number of #... chains of substitution #. That's what APEX uses the runtime to fill your formatting of the values as well as to assemble your generic provision based on your result set.

Now, a way to include your own picture would be to add a reference to image for this layout of generic report. You can not use the page header or attributes of footer to print page for this attributes as the rendering engine of FOP does not understand or translate HTML. It renders XSL - FO. Then to add your own reference image, you must use the supplement of XSL - FO. If you want to add an image to your page header, look for the #PAGE_HEADER substitution string # in the attribute "Page Template" of your generic report layout. You should be able to find the following:

#PAGE_HEADER #.

Now, assuming you have a file that is stored in your local images directory on the local host, you can add the following external graphic reference:

http://localhost:8080/i/cloud.gif' content-height = "scale-to-fit" height = "30px" content-width = "150px" scaling = "non-uniform" / >

#PAGE_HEADER #.

Once you are done with your chanages, save the presentation of the report and modify your report. Go to the print attributes and select your generic report layout and then run your report page and export the PDF file. If the APEX is able to find this external reference image, it will be now included above your report in your PDF document.

Kind regards
Marc

Tags: Database

Similar Questions

  • Problem with InfoPath via the Adobe pdf printer print

    Hello

    It seems that in some cases to the printer Adobe pdf makes the text box a little narrower than THE InfoPath. So we have packaging Word and number of lines in the PDF can be only in the InfoPath form. But the output area is not resolved. So the end of the text may be corrupted:

    I checked this approach, but it does not help:

    https://helpx.Adobe.com/Acrobat/KB/missing-or-garbled-text-printing.html

    The same behavior is with different IEs.

    Could you please help to solve this problem?

    Must be a bug in InfoPath from the Adobe PDF printer simply reports the available printer box and print what they say in print, where it says print. Could be a problem with the printer driver change. Try to set default Adobe PDF before you start InfoPath, might work.

  • Triggers do not compile (of APEX Advanced Tutorials.pdf)

    The following trigger not compile. It is the exact copy of the APEX Advanced Tutorials.pdf. It is based on page 249 of the document. Another package is the compilation (ht_check_overdue_issues). Link is provided
    http://download.Oracle.com/docs/CD/E10513_01/doc/AppDev.310/e10497.PDF

    Please let me know what mistake I make. It is for the automation of email in APEX


    IF (INSERTION AND)
    (: new.assigned_to IS NOT NULL)
    OR
    (UPDATE AND)

    (: old.assigned_to IS NULL or)
    : new.assigned_to! =: old.assigned_to) AND
    (: new.assigned_to IS NOT NULL)
    THEN
    THE C1
    (SELECT person_name, person_email
    OF ht_people
    WHERE person_id =: new.assigned_to)
    LOOP
    IF c1.person_email IS NOT NULL
    THEN
    FOR c2 IN
    (SELECT project name
    OF ht_projects
    WHERE project =: new.related_project)
    LOOP
    -APEX_MAIL. SEND)
    -p_to = > c1.person_email,
    -p_from = > c1.person_email,
    -p_body = >
    -' You have been assigned a new number.
    "The details are below. ' || Chr (10) |
    -Chr (10) |
    -' Project: ' | C2. PROJECT_NAME | Chr (10) |
    -Summary: ' |: new.issue_summary | " Chr (10) |
    -' State: ' |: new.status | Chr (10) |
    -"Priority: ' |" NVL(:New.Priority,'-'),
    (- p_subj = > 'New Assignment question');
    END LOOP;
    END IF;
    END LOOP;
    END IF;

    Hello

    I guess that your error is here:

    LOOP
    -- APEX_MAIL.SEND(
    -- p_to => c1.person_email,
    -- p_from => c1.person_email,
    -- p_body =>
    -- 'You have been assigned a new issue.
    -- 'The details are below. ' ||chr(10)||
    -- chr(10)||
    -- ' Project: '|| c2.project_name ||chr(10)||
    -- ' Summary: '||:new.issue_summary ||chr(10)||
    -- ' Status: '||:new.status ||chr(10)||
    -- 'Priority: '||nvl(:new.priority,'-'),
    -- p_subj => 'New Issue Assignment');
    END LOOP;
    

    There is no statement between the LOOP and END of LOOP (it's all comments). For testing purposes, you can add a NULL value; statement.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

  • PDF print with oc4j apache fop does not

    I'm in Apex 3.1.1 PDF print configuration. I've implemented a query of the status of the component shared with a simple query. I implemented standalone oc4j and the fop.war such as specified in the documents 'pdf printing by their Summit. When I use the test button to check the output of the report, I am redirected to a 404 page not found and the oc4j instance records the following:

    09/08/09 12:02:36 [ERROR] undefined Logger
    09/08/09 12:02:36 [INFO] using oracle.xml.parser.v2.SAXParser as SAX2 parser
    09/08/09 12:02:36 [INFO] formatting object tree construction
    09/08/09 12:02:36 [INFO] implementation of fonts
    09/08/09 12:02:36 [INFO] [1]
    09/08/09 12:02:36 [WARNING] table-layout = auto is not taken in charge, fixed!
    09/08/09 12:02:36 [WARNING] sum of the column widths set 662000 specified maximum superior RPI 658800
    09/08/09 12:02:36 [INFO] analysis of the full document, stop the rendering engine

    Any ideas why this happens?

    Database is oracle 9.2.0.7
    10.1.3 OC4J standalone

    Hello

    Just did some research more about it, and apparently it is a more common problem:
    Re: PDF problem FOP mod_plsql: /pls/apex/wwv_flow.accept ORA-22293

    Kind regards
    Dimitri
    ----------------------------------
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • You can print with a 6s iPhone using a printer no Wifi

    How do you print with a 6s iPhone using the printer no WiFi?

    Hey,.

    I always got WiFi printers in my house and never had to deal with this problem personally, but the following CNET article seems to answer this question:

    http://www.CNET.com/how-to/how-to-print-wirelessly-from-your-iPhone-iPad-or-iPod - touch.

    My printer is a HP OfficeJet 7500 E910, which allows me to print from any wireless device and my printer is plugged only the power source.

    Also, I did not read the entire article carefully, but I would venture to say that if you have a cable to connect your printer to your wireless router, it should appear as a network printer. If your iPhone is connected to the same wireless network as the router is mounted, you should have this success. It would still be printing wireless from your iPhone, but just a different configuration.

    Hope this helps, and feel free to respond with thoughts or questions!

    Thank you

    Michael

  • Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?

    Not able to print the PDF with firefox 29,0 Preview pdf plugin. Why?

    The 29.0.1 firefox solved my problem!

    Please check: Firefox-> Preferences-> tab-> applications (option) Portable document Format (PDF)-> Preview in firefox

    Good luck!

  • Problem with the HP Officejet Pro 8500 printer: clean the print heads each time it is turned on

    Hello everyone,

    the printer HP all-in-one Officejet Pro 8500 (A909a - product n. CB022A) clean the print heads whenever I turn it on. This problem affects any HP Officejet Pro 8500 printer, it is not a problem only of this one I bought. It is a boring bug and annoying because each power clean print heads on involves two bad disadvantages:

    1. waste of ink (each heads cleaning process consumes little ink);
    2. too much time (2-3 minutes) to prepare the printer after plugging.

    I upgraded my printer with the latest firmware available on the HP site (firmware ver. DLM1FN1006BR), but the bug is still present.

    At this point, I ask:

    1. There is a way (or procedure) to disable automatic cleaning this useless to all power on?
    2. Can we communicate with the HP engineers or tell me how to contact directly one of them to indicate the bug and request a new firmware updated?

    Please don't tell me to leave the printer on all the time or that the printheads to each cleaning power is normal behavior! Where then are power and ink savings claimed for this printer model?

    I hope that a solution to this problem. Thanks in advance to everyone will help me!

    Maintenance when the printer is turned on is normal and is required to keep the printheads in good health (not blocked). See here for more information.

    With respect to energy savings, the printer automatically goes to low power mode when the don't feel not for awhile.  It is not necessary turn the unit on to save energy.

  • Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.

    Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.  Maintains documents in the print queue and print them when the computer is restarted.  In addition, the computer does not recognize my Promaster digital converter when I plug it into a port.

    Hello

    Thanks for posting in the Microsoft Community Forum, please be assured that we would do our best to help you.

    Please answer the following questions that would help us provide a better solution.

    What version of Windows are you using?

    Try to follow the steps and check:

    Step 1:

    Visit the link following if you are using Windows 7.

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    If you are using Windows Vista, see the steps mentioned in the link.

    http://Windows.Microsoft.com/is-is/Windows-Vista/troubleshoot-printer-problems

    Try the steps from the link following if you are using Windows XP.

    Resources for the resolution of the printer in Windows XP problems

    http://support.Microsoft.com/kb/308028

    Step 2:

    Try to activate the devices associated with the Dell printer and disable the rest by performing the clean boot, once done try to print.

    You can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts. The following article explains how to solve problems in Windows Vista or Windows 7 by performing a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Put the normal computer as mentioned in step 7 of section.

    Step 3:

    About the issue with Promaster digital converter try to connect to another USB device or run the fixit and check:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Please feel free to respond if you have any other questions, we would be happy to help.

  • How to share files and printers between windows xp desktop that is connected to a wireless router with a laptop running windows 7. printer is connected to the desktop computer

    Hi all.  I normally wouldn't have a problem with that, but I must be missing something.  I want to create a home network or small business between my desktop running windows xp pro sp3 and my laptop running windows 7 Home premium.  I want to share files and printers.  My desktop with windows xp computer is connected to a wireless router.  The printer is connected to my desktop as well.  My laptop is wireless with the wireless router.  I tried everything I can think of to get these two devices to the network.  If anyone can help.  Don't forget, my printer is connected to my desktop with windows xp and is connected to my wireless router which is connected to my cable modem.  Internet works fine.  the laptop with windows 7's wireless and internet works fine.  just impossible to get the two see each other or share what anyone.  Thank you.

    With respect to the sharing of printer (s), microsoft has a utility called 'Print Migrator'

    Download & install, create copy, send a copy to the other pc to share its use.

  • Missing lines in print Outlook calendar, but not with the PDF printer

    Hello

    I bought a HP Officejet 6700 Premium [H711n], but from the beginning, when I print my weekly calendar in Outlook there are missing lines in each nomination.

    My system:

    The system is HP Officejet 6700 Premium (all updates, driver ver: 9.0.0, usbscan.sys worm: 6.1.7600.16385, HPScanTRDrv_OJ6700.dll worm: 25.0.614.0, HPWia2_OJ6700.dll ver: 24.5.276.0), and Windows 7 SP1 32 bit (all updates), as well as Microsoft Outlook 2007 SP3 (all updates). The system is connected to the printer via USB, no WiFi or so.

    My problem:

    When I print my weekly Outlook calendar with my new Officejet, the upper and the bottom lines in all appointments is missing. I did a few small arrows in the photo, to show that appointments block timelines. (see scan & Outlook screenshot).

    (a) when I use my printer with Outlook to create a PDF file of my calendar, the exported PDF file is perfect. If I CAN open the PDF file with my Viewer and print calendar with my Officejet page, printing looks like it should look like. (see screenshot)

    (b) my old man, but broke a LEXMARK C530DN printer, print the pages of the calendar always correctly.

    My settings:

    Given that I bought and installed the printer a few weeks ago, I changes nothing on the HP driver settings. It is plain vanilla. The problem was there from the beginning. I tried once to solve it by changing the quality of "normal" to "optimal", but it did not help, so I put it back.

    Other printing problems:

    No, everything worked except the Outlook calendar printing.

    According to me, these are enough detail to reproduce the issue easily.

    Any idea outside workaround with my pdf printer? Maybe there something wrong with the driver HP itself? (Just an idea...)

    Best regards

    Michael

    Hi Raysy,

    Still having problems?  The suggestions helped?

    Kind regards

  • DOES ANYONE KNOW WHAT PRINT DRIVER WORKS WITH LEXMARK P6250 ALL IN ONE PRINTER AND TOSHIBA SATELLITE LAPTOP VISTA 32 OS?

    DOES ANYONE KNOW WHAT PRINT DRIVER WORKS WITH LEXMARK P6250 ALL IN ONE PRINTER AND TOSHIBA SATELLITE LAPTOP VISTA 32 OS? PLEASE, IT IS DRIVING ME CRAZY THAT I CAN'T PRINT FROM A COMPUTER BRAND NEW AND A 1-2 YEAR OLD PRINTER THANK YOU

    http://www.Lexmark.ca/Lexmark/site/home/0, 6932, 204812589_0_0_en, 00.html

    We do not know what you have already tried to do the job to the printer.

    Vista drivers are available on the site Web of Lexmarks the link above, to download.

    Go to the website above > drivers and downloads tab at the top > and follow the Options with your model number >

    Download/save the drivers compatible Vista on your desktop > uninstall/reinstall your printer according to the instructions of Lexmark.

    If you still have problems, contact Lexmark, as they are the ones who write drivers for the printer, not Microsoft.

    See you soon. Mick Murphy - Microsoft partner

  • HP C4280 with Win 7, works of scanner, printer has its not, sometimes

    HP C4280 all-in-one printer with Win 7 0n Fujitsu AH531 laptop, scanner works, the printer does not work, concludes sometimes-laptop, printer at first, later said he does not, must reload the software. Spooler problem? I loaded SW several times. Printer works for a while, then same old problem, computer laptop can not find any printer?

    Help, please!

    The printer spooler is the reason why everything stops after a while. It is a Windows problem with the computer.

    The printer seems to work very well. I have a link that will help you with error 1053.

    http://h30434.www3.HP.com/T5/printing-issues-troubleshooting/how-to-fix-print-spooler-error-1053/m-p/2481801/highlight/true#M40124

    I hope this helps.

  • I replaced my Photosmart 2570 all-in-One with Photosmart 5520. I can print all programs except

    I replaced my Photosmart 2570 all-in-One with Photosmart 5520. I can print to all programs except the HP Image Zone. It shows the right default printer. When I print a photo 4 x 6 prints only part, and it is slightly enlarged. My operating system is Windows XP. Do you need any other information? Thank you. Peggy

    Hi PeggyOlson,

    It is an older program used with your 2570. Try to download and install the new photo software from the link below.

    HP Photo Creations

    HP Photo creation FAQ

  • Quickly, the HP Envy 110 unit with the Samsung tablet can be printed?

    Quickly, the HP Envy 110 unit with the Samsung tablet can be printed?

    Yes, assuming that you are referring to an Android table... If you are referring to Windows 8 tablet please specify.

    You can print via the local network using HP ePrint mobile app.

    Follow these guidelines to learn more about installation and usage of the app:

    http://support.HP.com/us-en/document/c01616126

    In addition you can also scan your Tablet using the HP printer control application:

    http://support.HP.com/us-en/document/c03561640

    Shlomi

  • AERO Peek stopped working after a few adjustments with HP to get my Photosmart printer to work

    I just upgraded a fairly new computer of mine from Vista to Windows 7 Professional.  The upgarde went well however the AERO Peek stopped working after a few adjustments with HP to get my Photosmart printer to work.  I tried to make the show thumbnails of running programs to display in the taskbar with no luck.  Any suggestions?

    Hi Lisa52465,

    (Already responded to dadams26 in a separate thread and it fixed the problem beautifully).

    Have you tried to run the Aero Troubleshooter? If this is not the case, try this:

    1. open the control panel

    2. go in the system and security category

    3. go to the Center of the Action

    4. click on the link to solve common computer problems

    5. click on appearance and personalization

    6. Select Aero

    He must either correct the errors problem or the State to determine the cause.

    If the Aero Troubleshooter is not the thing, maybe it's just that the Aero feature has been disabled by the update. Try this:

    1. right click on the desktop

    2 select Customize

    3. Select an Aero theme

    4 see if previews back

    Just for the record, could you let us know if any of the suggested fixes works (and which). If you still have problems after trying the above, could you please come back with more details (if possible).

    > This answer help?  If so, would you please click the green button to Vote as helpful to help future visitors encounter the same problem.

    All the best,

    Sharon

    Sharon Roffey
    Queensland, Australia

Maybe you are looking for