XSL-FO and watermark on PDF file generated.

I am using XSLT / XSL-FO to convert my XML to PDF file for the users to take a printout. Under certain conditions I need to have a watermark COPY on the printed paper . Can XSL-FO/XSLT do this for me under certain conditions? Or has this something to do with the paper in printer having the COPY watermark.
Thanks

See http://xml.apache.org/fop/output.html#pdf-watermark
I know one more solution with table occupying entire page, with minus padded repeated header:...
<fo:flow  flow-name="xsl-region-body">
    <fo:table>
        <fo:table-column column-width="170mm"/>
        <fo:table-header>
            <fo:table-row>
                <fo:table-cell padding-bottom="-257mm">
                    <fo:block>place background here</fo:block>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-header>
        <fo:table-body>
            <fo:table-row>
                <fo:table-cell><fo:block>place document content here</fo:block></fo:table-cell>
            </fo:table-row>
        </fo:table-body>
    </fo:table>
</fo:flow>Customize padding of the header cell to place your watermark where you want on the page.

Similar Messages

  • Header and footer in PDF files generated from Business Publisher

    Hi All,
    Is there any out of box feature to include Header and Footer of our choice in the Pdf file of Process Model generated from Business Publisher (from Print function in the publisher explorer)
    Thank you all in advance.
    regards,

    Hi Raja,
    Does this mean that you have been sucessful in generating the PDF from the BPublisher?
    If yes, could you please share how you achived this. Platform .. version ect. you have.
    I am trying to create the PDF , but my IE popup just ... well ... just disappears..
    thanks
    regards
    Sanjiv

  • Help - "Acrobat is being used by another application and cannot open PDF files until the other application is closed."

    Hello,
    I searched this site and google for this error terminology and come up dry.  I support a user who has been for years using Acrobat 5 (yes, I know...) to read files in a client DB program, as well as other PDF files on their PC.  In the last week or so, they have started gatting this error "Acrobat is being used by another application and cannot open PDF files until the other application is closed." any time they attempt to open a PDF file attached to an email (via Outlook).
    It is my understanding that they cannot upgrade to a newer version of Acrobat because of limitations of their client software, but had not previously had any issues viewing PDF notes from the DB, and PDF attachments in their email.
    I have tried uninstalling and re-installing, as well as tried using Adobe Reader 7 & 9 in conjunction with Acrobat to try to get around this issue, but have not been successful.
    Any ideas?
    Thanks,
    Jesse

    I don't have an answer to your technical problem. The product I assume is Acrobat that you are talking about (based on the post title), Adobe is the company name. This is a good place to ask questions on Acrobat if folks can figure out what you are talking about. They will ask for the product version number (like AA9.3.3), operating system, and other applications if appropriate. Also, just what you are doing that generates the message.
    As for Adobe, you are not likely to get an answer from them here in the user forum. You will be lucky if you can get an answer if you can contact them and not be on hold for more than an hour (sorry, this is why a lot of folks end up in the forum).
    So, to help others try to answer your question, what are the products and versions involved? What OS? What are you doing when the message comes up.

  • Store and Display doc/pdf files in the database using Forms

    Hi all,
    How can i store and display doc/pdf files in the database using Forms 10g?.
    Arif

    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.sarah

  • Problem with opening of PDF file, generated through smartform

    Recently, I have developed a new program where, the output of smartform will generate a PDF file, and then that PDF file will be mailed to concern persons,
    I have sucessuly done this in development server, and further testing I have transported this to Quality, in Quality i am able to generated a pdf file and able to send it to mail box of concern person, but when concern person tries to open the PDF file, it gives the error stating 'There was an error in opening the document, The file is damaged and could not be repaired'
    But same, I can able to read from development server.
    When I asked the Basis person, they are not aware about it, and , I have make it sure that, I have transported all request to Quality and nothing is pending in development.
    Can you please give me some idea to sort out this issue.
    Thanks in advance
    Rani

    Hi,
    I have same requirement.
    I need to cnvert smartform->pdf->send mail.
    The mail is send but the attachment is corrupted.
    Can you tell me what code you have written so its working in developement?

  • Any tricks to store pdf file generated via jasper to oracle tables.

    i need to generate pdf file ..for records in a cursor..
    So i use jasper integration kit ... to accomplish the same...
    issue is .. i need to press a button and then pdfs file shoudl be generated...and stored in a table as a blob..My process does this..
    But since the process can be fired only on condition. on load before header...
    The result is i get my pdf file generated and stored in table ..but the page is a blank page..seems like it is some jasper page..
    http://127.0.0.1:82/apex/f?p=132:267:3324851978466855::::: The page looks empty...I will not want it to look empty...
    i will like after pressing a button immediatley it shows a page processing and when processing is done... it shifts to other page...
    I am putting the part of code which generates the pdf file ...any guidance or help shall be appreciated..
    So i hope you understood the issue..*Issue is when button is pressed i see a blank page..THough the below process is fired pdf file genrated and stored in oracle tables..as blob.. I will like instead of blank page it displays me some othe page..say like processing and once done it shoudl say processing complete..*
    Any guidance will be kindly appreciated..
    Thanks paul johny
    Below you will see the stored procedure i use..to generate the pdf files...
    create or replace procedure lordslave is
    cursor c1 is select subscribe_no from subscribers
    where subscribe_no > 296;
    l_blob BLOB;
    l_mime_type VARCHAR2 (100);
    begin
    for xxx in c1
    loop
    begin
    --xlog ('PRC_GET_REPORT_TUNNEL', 'url (orig):' || 'http://localhost:84/JasperReportsIntegration/report?_repName=test_repFormat=pdf_dataSource=def1_outFilename=tes.txt_repLocale=de_DE,repEncoding=UTF-8');
    xlib_jasperreports.set_report_url ('http://192.168.1.3:84/JasperReportsIntegration/report');
    xlib_jasperreports.get_report
    (p_rep_name => 'subinvx',
    p_rep_format => 'pdf',
    p_data_source => 'default',
    p_rep_locale => 'de_DE',
    p_rep_encoding => 'UTF-8',
    p_additional_params => 'Psubscribe_no='||390,
    p_out_blob => l_blob,
    p_out_mime_type => l_mime_type
    BLOB_LOADB (mid(),xxx.subscribe_no,'SUBSCRIBERINVOICE','mfilename',l_mime_type,l_blob);
    -- release resources
    DBMS_LOB.freetemporary (l_blob);
    -- stop rendering of APEX page
    apex_application.g_unrecoverable_error := TRUE;
    EXCEPTION
    WHEN OTHERS
    THEN
    xlog ('PRC_GET_REPORT_TUNNEL', SQLERRM, 'ERROR');
    RAISE;
    END;
    end loop;
    end;

    All you need to do - is that you should use the column data type as Long Raw.Why would you recommend using LONG RAW which has been deprecated in favour of BLOB for years?
    You can find a simple example of inserting a file into a BLOB column using JDBC here. The Oracle JDBC docs are also worth a read. Find out more.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • How to passw protect my pdf files generated by Adobe Acrobat?

    I simply want to passw protect my pdf files generated by Adobe Acrobat. However the option as indicated by the helpdesk is not available in my pdf generator. I am working with apple? Can someone tell me how to pass protect my files?
    Can some one help me out here?

    Hi josr,
    You can password protect your files in Adobe Acrobat by choosing File > Properties when you have the PDF open, and clicking the Security tab. Here is a Help topic that goes into detail: Acrobat Help | Securing PDFs with passwords.
    If you don't have Acrobat, you're welcome to give it a try! Feel free to download a 30-day trial from http://www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • Problems with fast web view and really large PDF files.

    If "allow speculative downloads in background" is set then the Fast Web view becomes nonfunctional.  Reader is makeing the HTTP Byte range requests but will ask for almost the entire PDF file in one range (180 MB of the 182 MB file).
    If "allow speculative downloads in background" is not set then Fast Web view is working fine, Reader is making more HTTP Byte range requests but the larges ones are still small 20K or so.
    Is this behavior being experianced by anyone else?
    What are the disadvantages, if any, of having "allow speculative downloads in background" turned off?
    My environment:
    182 MB pdf file (Optimized) around 41,000 pages.  I have also seen this with 42 MB and 25 MB pdf files.
    IE 6
    Reader 9.2
    Apache webservers (On Solaris Apache 1.3.20 and Linux Apache 2.0)
    Thanks in advance
    Angus Laidlaw

    Hi,
    The signing tool use Capicom (Library from .NET) to generate attached digital signature. I also tried signing with .net class SignedCms but the result is the same. What I don't understand is why some PDFs are working and others are not.
    For example, I uploaded here a signed PDF which can be opened up succesfully: http://dl.dropbox.com/u/104591126/PDFs/Signed_Dummy1.pdf  (it is the same PDF but I didn't enable the fast web view)
    Can you suggest other signing method?
    Thank you.

  • Where is a PDF file, generated by Agent (BIEE11g), stored?

    Hi,
    In BIEE11g, I created an Agent for scheduling to generate PDF files from Analysis.
    In tab: "Delivery Content", I choose PDF in field "Format", and BIEE will automatically chooise option "Deliver as attachment".
    At the same time, in tab: "Destinations", I just choose "Home Page and Dashboard" for field: "User Destinations".
    After scheduling time, an Alert is generated, and there is data and graph embedded in the content of the Alert. However, I don't find any URL for downloading PDF file. I want to make use of BIEE Agent that so that I can keep snapshot data for the report.
    Anyone know where where is the PDF file, generated by Agent (BIEE11g), stored?
    Thanks

    A nice way to achieve this is to export the reports to the server's filesystem using the Actions tab > Invoke Server Script. On a Windows server you can write a little VBScript or Javascript and pass it the PDF file which then gets saved to disk. I have some code if you are interested - contact me via my blog.
    Paul

  • Reading a PDF file generated through a R/3 program

    is it possible ? From a portal application(PDK/WebDynpro..both in java language), could i call a RFC which generates and transfers a PDF file ?
    any suggestion will be welcome!
    tks!
    André

    Luis,
    Yes, you can do that. The RFC should generate the output in the form of bytes[].
    A pointer code for doing that will look like this:
    wdThis.wdGetFile_PdfCustController().getFile();
    * The previous line of code gets the output from the 
    * suitable model attribute which contains the output
    * returned by RFC.
    byte[] pdfContent= wdContext.currentOutput_PrintElement().getFile();
    try
        IWDCachedWebResource pdfResource=
               WDWebResource.getWebResource(pdfContent,WDWebResourceType.RTF);
        IWDWindow newWindow= wdComponentAPI.getWindowManager 
               ().createExternalWindow(pdfResource.getURL
               (), "ResultView", true);
        newWindow.open();
    catch (Exception ex)
        wdComponentAPI.getMessageManager().reportException
               (ex.getMessage());
    Bala
    Message was edited by: Bala Krishnan

  • How to read the and Write the PDF file give me the solution

    Hi all,
    How to read the and Write the PDF file give me the solution
    My coding is
    import java.io.File;
    import com.asprise.util.pdf.PDFImageWriter;
    import com.asprise.util.pdf.PDFReader;
    import java.io.*;
    import java.io.FileOutputStream;
    public class example {
    // public example() {
         public static void main(String a[])
              try
              PDFReader reader = new PDFReader(new File("C:\\AsprisePDF-DevGuide.pdf"));
                   reader.open(); // open the file.
                   int pages = reader.getNumberOfPages();
                   for(int i=0; i < pages; i++) {
                   String text = reader.extractTextFromPage(i);
                   System.out.println("Page " + i + ": " + text);
    // perform other operations on pages.
    PDFImageWriter writer = new PDFImageWriter(new FileOutputStream("c:\\new11.pdf"));
                   writer.open();
                   writer.addImage("C:\\sam.doc");
                   writer.close();
                   System.out.println("DONE.");
    reader.close();
              catch(Exception e){System.out.println("error:"+e);
              e.printStackTrace();
    I get the pdf content then it returns the string value but ther is no option to write the string to PDF, and we only add a image file to PDF,but i want to know how to wrote the string value to PDF file,
    Please give response immtly
    i am waiting for your reply.
    thanks,
    Suresh.G

    I have some question flow
    How library to use this code.
    I try runing but have not libary.
    Please send me it'library
    Thank you very much!

  • Hi... I would like to purchase a Tablet Sony Xperia Z 2 10.1 (the last one of the Z series) and I was told that Adobe does not support Sony anymore.... I need to be able to open and read Adobe PDF files and I would like to know if this tablet can still us

    Hi... I would like to purchase a Tablet Sony Xperia Z 2 10.1 (the last one of the Z series) and I was told that Adobe does not support Sony anymore.... I need to be able to open and read Adobe PDF files and I would like to know if this tablet can still use Flash Player...
    Is there anyo who can help me with this? I asked in the shop and I was told "yes of course" , but when I contacted Sony directly I was advised to check with Adobe as apparently in the recent months Adobe and Sony haven't been getting along anymore...

    You may be mixing up two entirely different Adobe products.
    1. Adobe Flash Player. Needed to view web pages designed with Flash. Not needed to view PDF files. Not available for Android (not just Sony).
    2. Adobe Reader. Reads PDF files. However, the Android can also read most PDF files without needing Adobe Reader.

  • How do I download and print a pdf file in osx mountain lion

    How do I download and print a pdf file?

    control click on your PDF to download option
    Open it on your desktop Command-P is the short cut for print option.

  • How to create a table with datatype blob and insert a pdf file (ravi)

    how to create a table with datatype blob and insert a pdf file,
    give me the explain asap
    1.create the table?
    2.insert the pdffiles into tables?
    3.how to view the files?
    Thanks & Regards
    ravikumar.k
    Edited by: 895044 on Dec 5, 2011 2:55 AM

    895044 wrote:
    how to create a table with datatype blob and insert a pdf file,
    give me the explain asapPerhaps you should read...
    {message:id=9360002}
    especially point 2.
    We're not just sitting here waiting to answer your question as quickly as possible for you.

  • How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file?

    How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file? I could not find this option under Preferences tab? Thanks

    Hey there,
    Thanks for your reply. That works for the files I do what you said. However, for files I have not done that, It still shows the navigation bar. Any idea, how to do it default for any files?
    Thanks agian

Maybe you are looking for

  • Certain PDFs cause Mail

    Hi Everyone, I have been having an issue, along with several colleauges in my department that a certain type of Adobe PDF causes Lion 10.7.2 to crash when switching from the message or opening it in MacOSX mail or in Preview.  These PDFs are are sent

  • Transfer Requirement not getting created

    Hi All, My query as below; Production order is created using KANBAN (Control Cycle/Supply Area is defined) using classic KANBAN. WM is in place and all the setting related to TR/TO creation for WM movement type 103 is in place. When i am trying to re

  • Problème lors de l'extinction de mon Mac Book Pro.

    Bonjour, Lors de l'extinction de mon Mac Book Pro, l'écran blanc avec la molette de chargement s'affiche et le mac ne s'éteint pas ! La seul solution que j'ai est de forcer l'extinction en restant appuyé sur le bouton de démarrage. Que faire?

  • Itunes cannot back up my iphone during sync

    It stops syncing after it tells me that it cannot back up. The sync will also not finish so only the recently purchased songs show up, not any ong I bought 6+ months ago. All apps seem to be fine as well as everything else

  • How to connect to sqlplus through Unix

    Hi , Any body can help me how to connect sqlplus from the shall script(.ksh) I am using below command, but nor working VAR=`$SQLPLUS -s id/password << EOF SQL Query EOF`