Ampersand in pdf page header

Hello,
i have a problem with printing pdf reports in Apex 3.0.1 on OracleXE (using Apache Cocoon and Tomcat like in Carls example).
When i try to include an items value using the &ITEM_NAME. syntax it doesn't work if the value of the item contains an ampersand. I tried writing the ampersand as & but it still breaks the pdf.
Is there another way to include an ampersand in the page header of a pdf or maybe its a bug that has been fixed in a later version of apex?
Thanks for help in advance,
Dirk

Hi,
Maye the following work around
'&' can be replaced with '%26amp;'
Kind regards,
Iloon

Similar Messages

  • Print PDF - Add image to page header

    Using APEX 3.2.1.00
    Oracle 11g
    FOP printing support
    I need to include a logo on my PDF reports. I know I can put text on the heading of the report but how do I add a logo or image to the report header?
    Thank you in advance!

    In the page header section of the Print Setup, can I just reference a loaded work space item. Something like: #WORKSPACE_IMAGES#Shield1inch.JPG
    If so, what is the syntax to it. I know I can reference application items like &APEX_USER.
    Thank you
    --rolf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Missing page header when exporting a Numbers sheet to PDF??

    I am running OS X 10.8.5 and Numbers 09 Version 2.3, all on a 2009 MBP.
    I created a simple table and have a page header (title, etc).
    When I print this file directly from Numbers to the printer, everything is okay.
    But when I export the file to PDF and print the PDF, the header is gone.
    Any thoughts?

    I have done some addtional problem solving. I now have the issue isolated to the export function. It does not export the page header when exporting to PDF. It does do it when exporting to file type - post script.
    Interesting.
    Anybody got something to add here?

  • Page Header and Footer in Printer Friendly mode

    Hi,
    I have a report which has more than 500 rows and I want to print them.
    The printer friendly mode works fine, but is it possible that there is a page "header" and "footer" on every page which is printed?
    For example, that the column headings are on every page which was printed?
    Or that at the bottom of each page is the page number displayed?
    Does anyone have an idea?
    Thanks,
    Tim

    IE and Firefox are designed for WEB pages.
    WEB pages are on Internet. Security is important and browser should not compromise user to use it.
    Many users=Many printers!
    If you want to write app for especially one printer and know users (Intranet application) then here is what you can do:
    1) Use IE
    2) write your own ocx with interface for your needs.
    3) every user should implement this ocx in their browser.
    4) When they accept your ocx, then in this "small app" you could do as much as this user can do on their own windows. So setting printer, orientation and size is a peace of cake.
    5) make your report regarding this printer
    And this is it!
    And few other things...
    If user choose larger font then your HTML is broken!!!
    For that I think that PL/PDF or Mail merge is better solution!

  • Error message "Page header or footer longer than a page"

    Hi
    Our application call crystal report to generate/display crystal report in PDF format. We have a dev system to test this, all looking good, however when we moved to production server, the attached error message is displayed when running crystal report. 
    Invoking method GENERATEREPORT returned error Page Header plus Page Footer is too large for the page.
    Error in File C:\DOCUME~1\SERV
    IC1.LIM\LOCALS1\Temp\temp coq new xxxx.rpt:
    Page header or footer longer than a page.
    Same report doesnu2019t get this error message if running it from crystal report developer. 
    Not all crystal reports got this error, but some of reports display strange view in PDF, the content of report are reduced in a paper size like label size, not A4 size.  I have checked the default printer on the server, it points to a normal window printer, not a label printer. I have checked all possible settings on production server and compared with dev server, all looks same to me
    I suspect the label printing size is used somehow when the report is previewed in pdf format, not normal A4 size although I have selected a normal window printer as a default printer on the window,what else should i check?
    Could you please shed some light on this?
    Thanks!
    Li

    I found the issue is from label printer that is setup on the production server. After I removed the label printer from the server, then error message is gone, all report running fine.
    This label printer is not the default window printer, it is a network printer but is configured as a printer using local port on the server.
    I think for some reasons, crystal report alway picks up the label printer page size, not the normla page size, I am not sure why and how crystal report do this, it should pick up the default printer, which is a normal printer.
    There is no error when I run report within CR. The error happens only when I try to generate crystal report from our application.
    I do have logo in page header/footer, subreports in report footer, but I don't think they cause the problem, because I can run same report without any problem in dev system.
    Any idea what I should check next?
    Thanks

  • Wrong PDF page size in Excel

    When I use PDFMaker to "print" the print area of one particular spreadsheet, the Adobe PDF page size is 11.18 x 14.47 inches.
    When I use Adobe PDF printer, the Adope PDF page size is 8.5 x 11.0.
    Excel Page size = Letter (8.5 x 11.0)
    Excel Page orientation = Portrait
    Excel Page Parameter = Fit print area to 1 page x 1 page
    Selected Printer = Adobe PDF
    Selected Paper size in Adobe PDF dialog boxes = Letter
    Selected Paper size in PDFMaker Preferences = Letter
    When I change the Excel Page Size to Tabloid (11 x 17):
    Adobe PDF printer creates a page size of 11.0 x 17.0
    Adobe PDF Maker creates a page size of 11.0 x 17.0
    Can anyone shed light on the problem experienced by PDFMaker on the Letter sized request?
    I am running:
    Windows XP, SP3
    MS Excel 2007
    Acrobat 9.1.2
    PDFMOfficeAddin.dll version 9.1.0.0
    PDFMExcel.dll version 9.1.0.0

    Hello everyone!
    It's been long since this topic was active but I just wanted to share my solution to a similar problem.
    I was trying to use the built-in Save as PDF function of Excel 2007 and my sheet which also had some headers and footers was not coming out correctly.
    From Page Layout tab, I clicked the small icon on the corner of the Page Setup. Then I clicked the Header/Footer tab and removed the tick next to where it says "Scale with document" and viola! I miraculously could export my sheet in the correct page size.
    May this be helpful to not just who have had this problem before, but also the ones that will come afterwards!
    Cheers!
    Avni

  • PDF Report Header

    Hi -
    I am using the basic PDF report server (Apache-APEX listener) to print a SQL report displayed on the screen. The report comes up fine. But now I wanted to display some page header information. These page header values that needs to be displayed are from the page item value available on the page. How do I show these values in the page header i.e. how do I access the page item value in "Page Header" region of the "Print Header"  tab?
    Please share your expertise.
    Thanks,
    Seenu

    I think you need to create your own custom xsl-fo layout for that. Either you do with notepad or you use a third party tool like Altova or J4L FO Designer

  • Different Page Header

    Hi,
    I am working in AR Invoice Report. The requirement is to print the invoice along with terms and condition, which is the last page. We don't require the logo and company information to appear on the terms and condition page. For this we have used page header in invoice page. But how can I remove the page header in the last page. Or can use a different page header in the last page.
    We tried <?start@last-page:body?><?end body?> and section break before that in the last page. But the problem is when the invoice information overflows, it appears in the terms and condition page. and the header information is lost for that. and a page break before <?start@last-page:body?><?end body?> raises an error.
    Any help will be apprciated.
    Satyajit

    Nice little guide to "different first page", vetsrini. Do you know if this is supported with RTF output? I have no problem getting a different header, when the output is in pdf, but when I try to output in RTF, the first header is repeated on the following pages. Is this not supported for RTF?

  • Getting fast PDF page count (without opening file)?

    I’ve got a menu with about 100 PDFs and for various
    reasons I’d like to display the page count for each. I could
    enter the page count by hand but that becomes a maintenance
    nightmare as the PDFs are updated and someone (myself included)
    will forget to update the count. Opening each PDF in an xtra to get
    the page count would be too slow for 100 documents . I’ve
    found a dll that claims to parse the PDF header and quickly count
    PDF pages which might work (we’re already using dllBinder for
    MAPI access) although I haven’t started experimenting with
    it. Has anyone tried something similar? Can I parse the header with
    lingo/Buddy API and avoid working with the dll black box?

    I would take an approach in between the extremes you listed.
    Consider
    this. Make a list of all the documents, and make an automated
    process
    using Impressario or something to get the total pages in all
    100
    documents. Save this list. It will take a bit to open and
    close all
    the docs, but it only need to be done once. From then on,
    compare to
    the saved list. Whenever a doc gets changed use your
    automated
    Impressario process to update the list.
    If the DLL route doesn't pan out, then that is how I would go
    about it.
    You;d still need to remember to update your list after every
    change,
    but at least it is an automatic process.

  • Export excel setting Page header once per report not working

    Hi All,
          I am having a java web application which creates the predefined template reports in pdf or xls or rpt format. I have a requirement where in case of XLS format, the page header should be displayed ONCE PER REPORT. I have Crystal Reports XI release 2 and Java 1.5.
        I am setting from java code
         formatType = IReportFormatOptions.CeReportFormat.EXCEL;
         reportFormat.setFormat(formatType);
         IExcelFormat formatExcel = (IExcelFormat)reportFormat.getFormatInterface();
         formatExcel.setExportPageHeaderFooter(IExcelFormat.CeReportExportHeaderFooterOption.ONCE);
    I have installed a patch named Excel Export patch which basically sets some registry entries
    Set HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal
    Reports\Export\Excel\PageAreaExportType to 0 for default behavior, 1 to display no page area, 2 to display page area once per report, and 3 to show the page area once per page.
    Set HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal
    Reports\Export\Excel\ColumnWidthBaseArea to 0 for default behavior, 4 for column width based on detail
    section.
    I have set PageAreaExportType to 2 and ColumnWidthBaseArea to 0 and 4.
    Still i see the page headers repeating on every page. Could you please help me in resolving the issue?
    Thanks in advance.

    Currently in our new version of java application, we are not using DHTML viewer. Predefined report templates are published on crystal server and from Java application, we send the report parameters to the crystal and also specify the format type.
    Exporting excel from the crystal template is working fine with the page headers repeating only once (have set the page header show once per report option before exporting it to excel). But the same is not happening from the Java application. i have attached the required files to the message that i posted. If you have the access you can take a loot at them.

  • How To place two images in a obiee 11g Report Page header

    Hi ,
    Greetings for the day!.
    I want to place two images (one at top left and another at top right ) above the table view . I am not sure how it is called as. i think it is page header . Can anyone let me know how to accomplish this ?
    Kind Regards
    Sudarshan

    Hi,
    Will you pls let me know the best pixel size can be given for both images ?
    Also how can i make the images left and right aligned .Formatting option is not allowing to move the images left or right.
    Pdf output of the report header should display images one at extreme left and extreme right.
    Will you pls let me know whether i can try in single view(title/static/narrative) with html code like below :
    <img src="smiley.gif" alt="Smiley face" align="middle" />
    If so pls provide the details.

  • PDF - Page Number Bug

    I put a PDF document into Books folder of iTunes and synced to both my iPhone 4 and my iPad. I first opened in iPhone - no problem, although the text was small.
    iBooks on the iPad crashed everytime I tried to open the PDF. I broke the PDF into sections and learned that the Introduction section was what was causing the crash. The pages were numbered in the Introduction with roman numerals - eg i to xx. When I re-formated the PDF by printing to PDF the page numbering changed to arabic er 1-20 and displayed fine in iBooks.

    Pages -> Header & Footer

  • How do I: put multiple PDF pictures into one PDF page?

    I have just installed Adobe Acrobat Pro Ver 9 - so this apllication and its associated SDK are the only applications available to me for use.
    Adobe Acrobat was chosen because of its AutoCAD capabilities (when AutoCAD is not present). i.e.  Using Acrobat & AutoCAD's plot configuration files & Pen / colour selection table ensures the output has correct line thicknesses (sometimes colours in CAD are used to represent a line's thickness) - this is preserved when using Acrobat.
    The generated output is fantastic. However, when I try to print the output via Excel / Word (used for layout) - my perfect output is reduced to imperfect results.
    So: is it possible to layout multiple PDF pictures inside one PDF entity for printing purposes such that the original output is not distorted?
    I have in the past put pages in front or behind other pages but cannot find any references or code that works with Pro 9 nor indeed the manual way to insert PDF pages at any location on a single PDF Page?
    I'll try and explain.  My template coud consist of 6 boxes on a single A4 page thus:
    My base PDF Page (can be thought of as a template - ideally it wont be printed - but even if it is - it wont be printed on any media material) has 6 areas (any number of areas up to 100) on it.  In each area, there is a box.  It is within these boxes that I wish to place a PDF Picture.  Not all pictures will be the same.  How can I do that?  Ideally I'd like some example C# code - though doing it as a user will suffice, for now.
    Is there a way of programmatically selecting each of the above boxes on the base PDF Document?
    I do know of one manual method (though it seems long winded) and it is not accurate enough in that (even though the layers are deselected) - the hidden layers are subsequently outputed too - not good!
    Uses a button icon over each box.
    All the current Adobe help for the SDK refers to Pro 8 and previously - which all seems to have now been replaced in Pro 9
    This question will be placed in the Developer & User Forums - as it pertains to both.
    Thankyou in advance for anyone that either knows any workarounds or any ways to affect a solution. 

    Picture of what I want to see:
    What I get, and don't want to see is:
    The PDF was generated using Adobe Acrobat Pro 9 from an AutoCAD LT (DWG) file without AutoCAD being present but making use of a plot configuration (PC3) file & pen table (CTB) file.  The resultant file [WhatIWantToSee.pdf] is perfect - all the lines are the right thickness & colour and are perfect vectors (with no construction / proofing layers visible).  When you view that file in Acrobat and show the "Layers" property box, you see that the correct number of layers whilst are still present are indeed turned off.
    However, when I add a forms-button to one of the rectangles (please refer to initial post - where there are 6 rectangles), and display same file as icon display.  The resultant view is the one shown above named [ What I get and don't want to see].  It seems the saved layer settings are all ignored?
    I generated the PDF file through Adobe Acrobat Pro 9  Menu | File | Create PDF | From File (Files of type Autodesk) | Options | Selected Layers | Layout | Last Active Layout.
    Rectangles are regular content elements - not fields (in the general meaning of form-fields).

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • Master Page Header and Footer in Page Viewer Web Part

    Hi.
    I created a View in Pages Library to view specific folders.
    After that i added one Page Viewer web part to one of the aspx page.
    There in the Page Viewer web part properties Link i have provided the url of the view.
    It is displaying the folders but at the same time it is displaying the master page header and footer inside the web part.
    Now i need to display the folders alone inside the Page Viewer web part.
    Please let me know how to exclude the master page header and footer inside the Page Viewer web part?
    Regards,
    Sudheer
    Thanks & Regards, Sudheer

    I think that is the default behavior of the page viewer webpart.
    In the page viewer web part,your just enter the url of the website.So that is treated as webpage and it is displaying as per page.
    http://meritsolutions.com/meritmatters/archives/576-Displaying-a-File,-Folder-or-Web-Page-in-the-Page-Viewer-Web-Part.html
    If you want to display a folder, type in a network path to that folder under Link and the folder content will be displayed. 
    Find the more details about page viewer webpart in msdn
    http://office.microsoft.com/en-in/sharepoint-server-help/page-viewer-web-part-HA010024045.aspx

Maybe you are looking for