PDF printing in the APEX workspace

Hi,
We have a application running at the http://htmldb.oraclecorp.com , now since it was upgraded to version 3.0 , the regions have got a new button called the "print" but when we enable and try using it , it throws up an error saying "Acrobat could not open 'obe_ projects[1].pdf' because it is either not supported file type or the file has been damaged" , is the upgrade completed or are there any additional steps to be taken for it to work?
Regards
Naveen

Naveen,
The site you're referring to, is an Oracle internal site. That instance is up-to-date and supports PDF printing, please contact me directly, if you encounter any difficulties.
Thanks,
Marc

Similar Messages

  • Is there a way to get the APEX workspace username

    Hi,
    I'm trying to create an authorization scheme on a few specific regions on a page. I only want to show these region if the logged in user is an APEX developer or admin. When I try any of the built in APIs, they all return the application username which in our case is coming from SSO.
    Basically, I want to show a form on a page if the user has logged into the APEX workspace and is running the application (seeing the edit menu at the bottom of the page) versus a regular user that has just launched the application directly.
    Thanks,
    Corey

    Corey,
    Use the APEX_UTIL.GET_USER_ROLES function:
    http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_util.htm#insertedID52
    The following from the FETCH_USER procedure tells you what it means:
    null - Indicates an end user (a user who can only authenticate to developed applications).
    CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL - Indicates a user with developer privilege.
    ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL - Indicates a user with full workspace administrator and developer privilege.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Accidently deleted the Adobe PDF printer from the Printer List

    Hi Guys,
    I have accidently deleted the 'Adobe PDF printer' from the Printer List and am now unable to print any files to PDF from any application.
    Any ideas of how to get it back?
    Cheers, Nosaj68.
    Power Mac G5   Mac OS X (10.3.9)  

    Hi Nosaj68
    Welcome to Discussions.
    1. In Applications/Utilities/Printer Setup Utility, select Add printer and reinstall it.
    2. If you can't find this file, reinstall Adobe Acrobat and that should put it back again for you.
    If this solves your question, please consider awarding stars, by checking the helpful or solved button on the post. This is not a requirement, merely an expression of thanks.
    regards roam

  • PDF Printing Troubleshooting in ApEx 3.0

    Hi, I'm trying to implement the PDF Printing functionality that was introduced in ApEx 3.0
    I have an ApEx page that produces reports and I want to offer two options: exporting to excel and printing to PDF.
    The exporting to excel seems to work fine by Enabling CSV Output under Report Attributes. However, when I try to print PDFs by enabling report printing and choosing the output format as PDF, I get an error. It seems to create a PDF file and when I choose to open it with Adobe 7.0, it says that the file is damaged and could not be repaired. When I enable report printing and choose the output format as HTML, however, it works beautifully.
    What could be the problem? Thanks

    I had to take all the double quotes out for the pdf to stop giving that error message. Then I had to manually set the column widths for the report to show properly. I didn't play with this much so it may not be the best solution. try select 'a','b','c' from dual and see if that works.

  • PDF printing in the Builder

    I haven't yet installed APEX 3.0 in my own environment, but I was just curious about something.
    I see that almost all the report regions in the APEX development environment itself (the Builder app) have a new "Print" link that launches a PDF version of the report.
    Since the PDF printing feature requires a BI Publisher installation, would the APEX 3.0 installation automatically install that product? Or would those links be hidden if PDF printing is not properly configured? After I install BI Publisher or Apache XSL-FO, would those Print links magically appear?
    Thanks

    "ORV"
    There could be any number of reasons, based on the information provided, it's hard to diagnose what exactly went wrong with the installation. Please check the forum for a situation that applies to your case. Given your file name 'Calificaciones.pdf' I take it you're not running this in English, so one possible issue could be the default paper size A4, and the issue we found with decimal separators. If not running this in English, please go to the print attributes page and check your page size. Change the units to "Points" and make sure you have whole numbers for page width and height. Should this be the issue, please use this work-around in other cases as well. We'll provide a patch to fix this soon.
    Regards,
    Marc

  • How to get PDF Printing working with APEX packed with 11g

    Hi ,
    Recently i installed 11g db on one of my systems (Windows XP) ,as it comes with APEX i thought to move my apex app(which were in 10g) to the same .........when i moved my apps , i got everything working but PDF PRINTING .
    I have configured Report Printing :
    Print server: Advanced
    Print server Protocol: HTTP
    Print server Host Address: localhost
    Print Server Port: 9704
    Print server script :/xmlpserver/convert
    Your help is appreciated.
    Thanks ,
    Ribhi

    Hi Jes,
    Thank you for your reply. BI Publisher is runing on the same server where Database 11g with APEX installed. I loged in to the database as SYS DBA and copied and paste Oracle script below to enable Network services. The script run successfully, still cant print. Pls Help me to solve this problem.
    Regards,
    Ribhi
    DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give FLOWS_030100
    -- the "connect" privilege if FLOWS_030100 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, make sure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA-44416: Invalid ACL: Unresolved principal 'FLOWS_030100'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'FLOWS_030100',
    'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    'FLOWS_030100', TRUE, 'connect');
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'FLOWS_030100', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    COMMIT;
    Edited by: Ribhi on Nov 13, 2008 1:18 PM

  • I installed CS6 on Mac Pro (10.9 software version). I don't see the Adobe PDF printer in the printer/fax section.  I can not figure how to create the PDF Printer.

    I can not figure how to create a Adobe PDF Printer. Normally when you install the package ( CS6 Standard for Mac Pro) the installer creates the PDF printer automatically. In the System Preferences under the Printer/Fax I don't see the PDF printer. How do you create the PDF printer.
    Thanks,
    Melanie

    did you install acrobat x and does it work as expected?

  • Display PDF file in the Apex query report using HTML Expression

    Hi Folks,
    I have PDFs stored in BLOB columns along with FILE_ID column in the database.
    I want to display these to the APEX user on the page at runtime.
    I have created a SQL Query report page to display FILE_ID column.
    I am using HTML Expression property of the FILE_ID column to pull the image from the table using PROC_DISPLAY_DOCUMENT procedure.
    I typed folowing code int the HTML Expression text area of the FILE_ID column of the report page :
    <img src="#OWNER#.proc_display_document?p_id=#file_id#"/>
    I am using following Procedure code:
    create or replace procedure "PROC_DISPLAY_DOCUMENT"(p_id number) as
    s_mime_type varchar2(48);
    n_length number;
    s_filename varchar2(400);
    lob_image blob;
    Begin
    select MIME_TYPE,dbms_lob.getlength(blob_content),file_name,blob_content
    into s_mime_type,n_length,s_filename,lob_image
    from tbl_upload_file
    where file_id = p_id;
    owa_util.mime_header(nvl(s_mime_type, 'application/octet' ),false);
    --set the size so the browser knows how much it will be downloading
    htp.p( 'content-length: '|| n_length );
    --The file name will be used by the browser if the users does a "save as" 
    htp.p( 'content-Disposition: filename="' || s_filename ||'"');
    owa_util.http_header_close;
    --Download the BLOB
    wpg_docload.download_file( lob_image );
    exception
    WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(-202121,'Record matching screenfield filename not found, PROC_DISPLAY_DOCUMENT.');      
    end;
    --This is very Important
    --grant execute on PROC_DISPLAY_DOCUMENT to public;
    This code does not work and report does not display PDF image.
    Any help to troubleshoot this code will be appreciated.
    Thank you in advance.
    Jaya

    Hi Dimitri,
    I hope you can see HTML Expression code now. Thank You for responding.
    I have PDFs stored in BLOB columns along with FILE_ID column in the database.
    I want to display these to the APEX user on the page at runtime.
    I have created a SQL Query report page to display FILE_ID column.
    I am using HTML Expression property of the FILE_ID column to pull the image from the table using PROC_DISPLAY_DOCUMENT procedure.
    I typed folowing code int the HTML Expression text area of the FILE_ID column of the report page :
    [!--  img src="#OWNER#.proc_display_document?p_id=#file_id#" ]
    I am using following Procedure code:
    create or replace procedure "PROC_DISPLAY_DOCUMENT"(p_id number) **
    mimetype varchar2(48);
    n_length number;
    s_filename varchar2(400);
    lob_image blob;
    Begin
    select MIME_TYPE,dbms_lob.getlength(blob_content),file_name,blob_content
    into s_mime_type,n_length,s_filename,lob_image
    from tbl_upload_file
    where file_id = p_id;
    owa_util.mime_header(nvl(s_mime_type, 'application/octet' ),false);
    --set the size so the browser knows how much it will be downloading
    htp.p( 'content-length: '|| n_length );
    --The file name will be used by the browser if the users does a "save as"
    htp.p( 'content-Disposition: filename="' || s_filename ||'"');
    owa_util.http_header_close;
    --Download the BLOB
    wpg_docload.download_file( lob_image );
    exception
    WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(-202121,'Record matching screenfield filename not found, PROC_DISPLAY_DOCUMENT.');
    end;
    --This is very Important
    --grant execute on PROC_DISPLAY_DOCUMENT to public;
    This code does not work and report does not display PDF image.
    Any help to troubleshoot this code will be appreciated.
    Thank you in advance.
    Jaya

  • PDF printing issue: the big and small of it.

    Hello board,
    I have a three-page PDF and when I print it the first page prints the size it should, but the subsequent pages print tiny on their pages.  Why is this happening and how can I fix it?

    This happened to me and I figured out that it was actually a problem within the settings--properties of my printer because when I tired a different printer, it worked fine. I can't tell you exactly what to change because every printer is different but you may want to play around with the printer settings.
    baby nursery decoration

  • Print out the Apex application

    Hi !
    Is there a way of printing the Apex application - ie. alle processes, fields, definitions etc.
    Sometimes you just want to go home - and see the appl./problem from a new angle.
    Dont ask "why dont you just copy to a laptop, to apex.oracle.com or alike" - I know that I prefer to read a troublesome appl. this way.
    Does Apex have this capablity?
    From a programmer used to be able toi print the HTML, ASP, C#, Cobol, Java, Rexx code out
    Mette

    Hello,
    In the utilities section you have the APEX Views which give you all that information.
    Maybe you could print these or create a script that queries them and output on a page which you then print?
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Create a pdf print without the HD files

    Hello every one,
    Working on Macintoch with Lightroom 4.2
    Before we were able to print a pdf file on Mac, even if we weren't connected to the Raw files.
    It was enought to click on "brouillon" in french, what is draft I think in english I think.
    But now with lightroom 4, I can't do it anymore.
    Is it another way to do it ?
    It was realy helpfull while you were traveling, you didn't have to plug you hard drive, and it was plenty enough to show to my client.
    And also it was way faster, and I didn't have to travel with all my HD files.
    Thank for you help.

    I don't know why it changed, but you could put in a feature request at the Official Feature Request/Bug Report Forum
    In the meantime, besides waiting until you're back at the office or travelling with your photos, that plug-in I posted is your best bet.  It'll output the largest previews that LR has available, so you can then import those into Lr for printing or showing your clients.

  • APEX on Oracle XE PDF printing produces: Format error: not a PDF or corrupted.

    Dear fellow Apexers and Oracle Gurus,
    I have the following configuration:
    Oracle XE 11gR2
    APEX 4.2.3.00.08
    Listener 2.0.5
    On this setup I can create workspaces and applications as I please.
    Now I want to print a PDF report.
    I have set up PDF printing to "Oracle Listener" in the "manage Instance" settings in the instance administration.
    I have created a classical report on the EMPLOYEES table (Select * from EMPLOYEES)
    and enabled PDF printing in the "Printing" area of the "Print Attributes" of the page.
    When I run the page I do get the "print" link on the bottom of the page.
    Clicking the link does produce a .PDF but showing this file triggers an error in my PDF reader: Format error: not a PDF or corrupted.
    Opening the .PDF file in a text editor reveals the corrupt content.
    %PDF-1.4
    %ª«¬
    Unknown function: gatherContextInfo
    The same setup works fine and produces the expected PDF file with the report on the following configuration:
    Oracle Vbox with Developer days image;
    DB 11gR2
    Upgraded to apex 4.2.3.00.08
    Listener 2.0.5
    Since the PDF shows "unknown function" I suspected the XE configuration to lack some of the necessary rights, maybe I forgot to configure the ACLs correctly.
    So I compared the ACL info on both configurations. Alas,.. on both machines they return the same result..
    SQL> SELECT * FROM DBA_NETWORK_ACLS
    HOST         LOWER_PORT    UPPER_PORT    ACL
    localhost    null          null           /sys/acls/local-access-users.xml
    *            null          null           /sys/acls/power_users.xml    
    SQL> select * from dba_network_acl_privileges
    ACL                                  PRINCIPAL      PRIVILEGE   IS_GRANT    INVERT
    /sys/acls/local-access-users.xml     APEX_040200    connect     true        false
    /sys/acls/power_users.xml            APEX_040200    connect     true        false 
    Anyone any idea why this works fine on the Vbox and not on the local XE configuration?
    Any hint or answer as to where the problem might be is appreciated
    TIA
    Wouter

    I'm having the same issue. I'm using Oracle XE 11gR2 as well. I've tried with APEX 4.2.2 and APEX 4.2.4. I have set up the Oracle Listener in instance settings and set the report to print and I have the same result as you. Have you had any progress yet?
    Thanks
    Jason

  • Apex 4.2.2 PDF Printing with Apex 2.0 Listener

    We recently installed Apex 4.2 with the Apex 2.0 Listener and can successfully print interactive reports and classic reports to PDF.  I viewed Mark Sewtz PDF Printing with Apex 4.2.2 and saw how he is using third party tools to format reports.  We have also looked into the Jasper Report Integration Toolkit, but have only got it working on the Tomcat environment, not WebLogic.
    I'm trying to download a classic report in PDF format with our logo displayed at the header.  In the print attributes section, there is a section for header.  I've tried adding the following in the header section:
    <img src = "http://hr.unm.edu/common/images/unm_dept_logo.gif">
    No Logo Prints
    #APP_IMAGES#unm_dept_logo.gif
    Prints in 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
    Prints in header: /i/unm_dept_logo.gif
    I've also added the logo in the report region, prior to the columns printing, but no logo downloads to PDF.
    Does the Apex Listener only render text?  Is there any way to get the logo to print in the header without using a third party tool?  Any suggestions are greatly appreciated.  Thanks!

    Hi,
    There are different options to include images in your PDF exports. What's important to understand though is that with the PDF export functionality we separate the formatting from the actual data. So the formatting is defined in your RTF or XSL-FO templates and the data is stored in the XML that APEX generates based on your report data. We have several formatting options exposed on the print attributes pages, i.e. you can define page formatting, dimensions, fonts, colors, etc - all of these are applied to what we call generic XSL-FO templates. Those templates are generic in that they can be used with different reports, having variable numbers of columns and variable column names. Those formatting attributes can not be used however with named column templates, such as those that you generate with BI Publisher or those third-party tools I talked about 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 built-in layout. But you also have the option to create your own generic report layout (see Shared Components -> Report Layouts). When creating a custom generic report layout, you'll get a copy of the built-in layout as a starting point. Once created, you can manually modify this layout to meet your needs. As you edit this template, you'll find a number of #....# substitution strings. This is what APEX uses at runtime to fill in your formatting values as well as to assemble your generic layout based on your result set.
    Now one way to include your own image would be to add an image reference to this generic report layout. You can't use the page header or footer attributes on the print attributes page for that because the FOP rendering engine does not understand or translate HTML. It renders XSL-FO. So to add your own image reference, you need to use XSL-FO mark-up. If you want to add an image to your page header, look for the #PAGE_HEADER# substitution string in the "Page Template" attribute of your generic report layout. You should be able to find the following:
    <fo:inline xsl:use-attribute-sets="page-header">
        #PAGE_HEADER#
    </fo:inline>
    Now assuming you have a file stored in your local images directory on localhost, you could add the following external graphic reference:
    <fo:inline xsl:use-attribute-sets="page-header">
        <fo:external-graphic src="http://localhost:8080/i/cloud.gif" content-height="scale-to-fit" height="30px"  content-width="150px" scaling="non-uniform"/>
        #PAGE_HEADER#
    </fo:inline>
    Once you're done with your chanages, save the report layout and edit your report. Go to the print attributes and select your generic report layout and then run your report page and export the PDF. Provided the APEX Listener is able to find this external image reference, it will now be included above your report in your PDF document.
    Regards,
    Marc

  • PDF printing and APEX Listener.

    Hi,
    I noticed in the Application Express statement of direction, dated February 2, 2010, the section regarding the Application Express Listener stated "improved PDF printing". I construed (possibly misconstrued) this to mean the APEX Listener might include its own FOP processor, thus simplifying the setup and use of simple PDF printing in APEX.
    As I can't find any mention of PDF printing in the Listener Installation Guide, I was wondering if this was a misinterpretation on my part or has this functionality simply not been implemented? If it has not been implemented, are there plans to do so in a later release?
    Regards
    Andre

    This feature slipped out for this release. We will revisit for a future version.
    -kris

  • Adobe pdf printer save dialog box opens in the background - progress bar shows Not Responding

    I have two users who have Acrobat X Pro version 10.1.4 that are experiencing the same things.  First, one person just changed laptops and the new one has a fresh Windows 7 Enterprise X64 image and new installation of Adobe Acrobat X Pro.  When he used the pdf printer for the first time(after opening the program and accepting the license agreement) he was in MS Excel '07 and chose file>print>Adobe PDF and then the progress bar came up and then showed not responding.  After he did this a couple of times with me standing there I noticed that the save dialog box was opening in the background because I could see the icon blinking on the taskbar.  He said that his old computer never did this and that it would always open up and ask where to save the file and never show 'not responding' on the progress bar.  The other person having the same issue is running the same version but she has had the program installed on her machine for a few months and an older version on before that. 
    Is there a way to make the dialog box show as soon as you print to the Adobe PDF printer?  What is causing this?  Is there another way to create a pdf from MS Office like the add-on? 

    I have two users who have Acrobat X Pro version 10.1.4 that are experiencing the same things.  First, one person just changed laptops and the new one has a fresh Windows 7 Enterprise X64 image and new installation of Adobe Acrobat X Pro.  When he used the pdf printer for the first time(after opening the program and accepting the license agreement) he was in MS Excel '07 and chose file>print>Adobe PDF and then the progress bar came up and then showed not responding.  After he did this a couple of times with me standing there I noticed that the save dialog box was opening in the background because I could see the icon blinking on the taskbar.  He said that his old computer never did this and that it would always open up and ask where to save the file and never show 'not responding' on the progress bar.  The other person having the same issue is running the same version but she has had the program installed on her machine for a few months and an older version on before that. 
    Is there a way to make the dialog box show as soon as you print to the Adobe PDF printer?  What is causing this?  Is there another way to create a pdf from MS Office like the add-on? 

Maybe you are looking for