Embed External CF Generated PDF

I currently run CFMX and generate PDF's from our development
server running CF7.x The data, etc is on the same server as CFMX.
This works OK. However, I need to embed the resulting PDF in a page
on the CFMX site. I've tried iframe, div and embed tags, but the
url.id variable is not being passed.
Any ideas? Thanks in advance, MGrey

Hello Ivaylo Mutafchiev,
                                       There is no way we can control the fonts in the created PDF / while creating the PDF using the class cl_document_bcs in your PDF creation logic.
You can try some other approach of creating PDF from the Smartforms OTF stream data .
Try using the follosing FM for the PDF creation and sending email:
CONVERT_OTF_2_PDF
CONVERT_OTF_AND_MAIL
SO_OBJECT_SEND
CONVERT_OTF_AND_MAIL_NEW (Try this but this FM still uses  the class that you are using currently. But give it a try and see the results)
Hope this answers your question.
Thanks,
Greetson

Similar Messages

  • How to embed font into generated PDF?

    Hi,
    I have an issue with cyrillic fonts in PDF-file, generated from smartform using the following mechanism:
    1. Run FM for smartform with ==> getotf = 'X'
    2. Perform CONVERT_OTF retrieving result into a XSTRING.
    3. Converting xstring content into a table using "cl_document_bcs=>xstring_to_solix).
    4. Creating mail to an external internet user with attached pdf ==> using "cl_document_bcs=>create_document..."
    Smartform contains cyrillic content, based on HELVCYR (Helvetica cyrillic) font. Application server is based on Windows.
    Everything worked well (for months!) for allmost all of the clients of our customer. Of course, some of clients have different OS-es (such as Linux, Mac OS, etc.), and then the problem starts - they doens't view properly the cyrillic content. English content (even numbers, etc.) are properly displayed. We found what fonts are used in the PDF, but my questions are:
    1. Is it possible to embed the font into generated PDF-content?
    2. If no, is it possible to generate PDF-content non-selectable (i.e. in some image mode) ?
    If yes, how to do this?
    Or is there any other way to workarround this issue - to be able to display mail with attached PDF-content with cyrillic on different OS-es? It would be better if it is possible without calling external converter...
    Any help would be highly appreciated.
    Thanks in advance.
    Regards,
    Ivaylo Mutafchiev

    Hello Ivaylo Mutafchiev,
                                           There is no way we can control the fonts in the created PDF / while creating the PDF using the class cl_document_bcs in your PDF creation logic.
    You can try some other approach of creating PDF from the Smartforms OTF stream data .
    Try using the follosing FM for the PDF creation and sending email:
    CONVERT_OTF_2_PDF
    CONVERT_OTF_AND_MAIL
    SO_OBJECT_SEND
    CONVERT_OTF_AND_MAIL_NEW (Try this but this FM still uses  the class that you are using currently. But give it a try and see the results)
    Hope this answers your question.
    Thanks,
    Greetson

  • Generate PDF file from sql query

    I have a table having some now i want to perform some calculation on tht data and then want to export it into a 
    pdf file.
    All this thing thing i want to write in a sql query so tht i can put it in a stored procedure .
    Kindly suggest.

    timberwoods,
    One way is to use SSRS. You may embed a query and it generates the report which you can always download as pdf, excel etc. Look up on the net for this - that shud probably solve your requirement!!
    If not, found this at codeproject - allows you to generate pdfs - again using SSRS !
    http://www.codeproject.com/Articles/19236/Create-data-driven-PDF-on-the-fly-by-using-SQL-ser
    http://www.sqlservercentral.com/articles/Miscellaneous/creatingapdffromastoredprocedure/1104/
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • How to embed fonts in a PDF

    I have a book which uses Garamond Light Italic and Helvetica light Oblique. Only 2 styles of 2 fonts.
    The printer wants me to embed the entire font families with the PDF files.
    My problem is that I don't know how.
    All I know is that it will only embed the files being used in the document.
    Should I include one letter of each style of each of the 2 fonts, so that the computer will know which fonts to embed?
    Or, is it as simple as entering 100% in the Subset font below window?
    I'm certain there must be a better and easier way.
    Also, it there a way of verifying that the proper fonts have been embeded?
    Please, I need your advise.

    LilyLC, All seems to have come to a conclusion this afternoon.
    It seems that when I create individual pages, make PDFs of them and then merge them with PDF merge, what's happening is that the fonts are being embeded with each page. Apparently the RIP gets confused with all the fonts embeded and substitutes courier.
    The printer recommends that I save the entire book as one document, and convert that document into one PDF file, thereby, embending the fonts once.
    They guarantee that the book will print properly if I follow the above.
    I had been reading through the printers vast instructions and noticed the paragraph relating to this problem, and they confirmed it.
    They sent me a print out of the fonts embeded in my book and the 2 fonts were repeated for each page, 32 times.
    I called Quark about a distiller (whatever that is) and the Custom and Roman encoding. Their answer was that none of it was Quark related. I would have to speak to Adobe.
    I was made to understand that the only reason I would need a distiller is if I had postscript files to convert into PDFs. Since I was generating PDFs directly there was no need for the distiller.
    I don't know how they print these books, other than the covers print RGB and the inside in CMYK. I always convert the CMYK photos.
    I've been satisfied with the quality of their printing and the people, that's why I went through all the trouble to solve the problem.
    I enjoy writing books for my 2 grandchildren. I've done 8 books in the past year.
    You've been a big help, in that you persevered and explained in easy to understand language.
    Again, thanks for all your help and to Limnos who made the original suggestion. I guess you can go back to enjoying the rest of the summer.
    I will now make some reference notes for the future use.
    If, by any chance this doesn't work out I'll will be posting back for additional help.

  • Flex 4 - Generate PDF - AlivePDF

    Hello all.
    I am in need of creating PDF documents from a flash project.  THe flash project needs to be using the latest flex 4. And i will be sing the <s:Application> tags.
    I grabbed an example from "Tour de Flex"  but it was built using <mx:Application>. The code for this example is here
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application  xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"
         viewSourceURL="srcview/index.html" backgroundColor="0x000000" layout="absolute">
        <mx:Script>
            <![CDATA[
                import org.alivepdf.pages.Page;
                import org.alivepdf.pdf.PDF;
                import org.alivepdf.layout.Orientation;
                import org.alivepdf.layout.Size;
                import org.alivepdf.layout.Unit;
                import org.alivepdf.display.Display;
                import org.alivepdf.saving.Method;
                import org.alivepdf.fonts.FontFamily;
                import org.alivepdf.fonts.Style;
                import org.alivepdf.colors.RGBColor;
                import mx.utils.UIDUtil;
                protected var claimPDF:PDF;
                [Embed(source="assets/Insuricorp-Logo.jpg", mimeType="application/octet-stream" )]
                protected var jpgBytes:Class;
                protected function savePDF(e:MouseEvent):void
                    claimPDF = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
                    claimPDF.setDisplayMode (Display.FULL_WIDTH);
                    claimPDF.addPage();
                    claimPDF.addImageStream(new jpgBytes() as ByteArray, 5, 5, 0, 0, 1);
                    claimPDF.setFont(FontFamily.ARIAL , Style.NORMAL, 12);
                    claimPDF.addText("Claimant Name: " + this.firstName.text + " " + lastName.text,10,40);
                    claimPDF.addText("Date: " + this.date.text,10,50);
                    claimPDF.addTextNote(48,45,100,2,"Claim Filed on: " + this.date.text + " today's date: " + new Date());
                    claimPDF.addText("Policy #: " + this.policyNum.text,10,60);
                    claimPDF.addText("Contact #: " + this.contact.text,10,70);
                    claimPDF.addText(this.claimNum.text,10,80);
                    claimPDF.addText("Claim Description:",10,90);
                    claimPDF.setXY(10,95);
                    claimPDF.addMultiCell(200,5,desc.text);
                    // HERE IS HOW TO SAVE FROM FLASH PLAYER 10 OR GREATER. THIS IS USED FOR THIS SAMPLE.
                    var bytes:ByteArray = claimPDF.save(Method.LOCAL);
                    var f:FileReference = new FileReference();
                    f.save(bytes,"tourdeflex-pdf-sample.pdf");
                    // HERE IS HOW TO SAVE FROM AN AIR APP
                    var fs:FileStream = new FileStream();
                    var file: File = File.desktopDirectory.resolvePath("tourdeflex-pdf-sample.pdf");
                    fs.open(file, FileMode.WRITE);
                    var pdfBytes:ByteArray = claimPDF.savePDF(Method.LOCAL);
                    fs.writeBytes(pdfBytes);
                    fs.close();
                     // HERE IS HOW TO SAVE FROM FLEX APP RUNNING FLASH PLAYER < 10
                     /* NOTE: To save the PDF from a Flex application if running Flash Player version < 10, you need to call a server-side
                              script as the 2nd parameter of the save call. More information about this can be found here:
                              http://alivepdf.bytearray.org/?p=17
                    claimPDF.save( ethod.REMOTE, "http://alivepdf.bytearray.org/wp-content/demos/create.php", "tourdeflex-pdf-sample.pdf");*/
                protected function submitClaimNum():void
                    claimNum.text='Claim # Assigned: '+ UIDUtil.createUID();//just generate a random id for sample purposes
                    this.savePDFBtn.visible=true;
            ]]>
        </mx:Script>
        <mx:Style>
            FormItem, Label, Button {
                color: #FFFFFF;
            TextInput, DateField {
                color: #000000;
        </mx:Style>   
        <mx:Label top="10" left="10" text="Input information and press 'File Claim' to get assigned claim #, then press Save to PDF." color="0xCCCCCC"/>   
         <mx:Label fontSize="18" text="Insurance Claim Form" left="10" top="30"/>
        <mx:HBox width="100%" height="100%" top="40" left="10" color="0x000000">
            <mx:Form id="form1" width="283" height="300">
                <mx:FormItem label="First Name:">
                    <mx:TextInput id="firstName"/>
                </mx:FormItem>
                <mx:FormItem label="Last Name:">
                    <mx:TextInput id="lastName"/>
                </mx:FormItem>
                <mx:FormItem label="Date:">
                    <mx:DateField id="date" />
                </mx:FormItem>
                <mx:FormItem label="Policy #:">
                    <mx:TextInput id="policyNum" />
                </mx:FormItem>
                <mx:FormItem label="Contact #:">
                    <mx:TextInput id="contact" maxChars="12"/>
                </mx:FormItem>
            </mx:Form>   
            <mx:Canvas top="10" left="10" width="300" height="100%">
                <mx:Label text="Description:" y="2"/>
                <mx:TextArea id="desc" y="18" height="133" width="205"/>   
            </mx:Canvas>
        </mx:HBox>
        <mx:HBox top="205" left="185">
            <mx:Button label="File Claim" click="submitClaimNum()"/>
            <mx:Button horizontalCenter="0" click="savePDF(event)" label="Save to PDF" id="savePDFBtn" visible="false"/>
        </mx:HBox>
        <mx:Label id="claimNum" top="238" left="83"/>
    </mx:Application>
    SO i tried changing it to <s:Application>  but i get a load of errors saying stuff isnt supported etc etc.
    My main question is -  Does flex 4 and <s:Application> support AlivePDF or is there another way to create PDF documents?
    My code for the application where i have tried to change it to the latest flex version is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
            import org.alivepdf.pages.Page;
            import org.alivepdf.pdf.PDF;
            import org.alivepdf.layout.Orientation;
            import org.alivepdf.layout.Size;
            import org.alivepdf.layout.Unit;
            import org.alivepdf.display.Display;
            import org.alivepdf.saving.Method;
            import org.alivepdf.fonts.FontFamily;
            import org.alivepdf.fonts.Style;
            import org.alivepdf.colors.RGBColor;
            import mx.utils.UIDUtil;
            protected var claimPDF:PDF;
            [Embed(source="assets/Insuricorp-Logo.jpg", mimeType="application/octet-stream" )]
            protected var jpgBytes:Class;
            protected function savePDF(e:MouseEvent):void
            claimPDF = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);
            claimPDF.setDisplayMode (Display.FULL_WIDTH);
            claimPDF.addPage();
            claimPDF.addImageStream(new jpgBytes() as ByteArray, 5, 5, 0, 0, 1);
            claimPDF.setFont(FontFamily.ARIAL , Style.NORMAL, 12);
            claimPDF.addText("Claimant Name: " + this.firstName.text + " " + lastName.text,10,40);
            claimPDF.addText("Date: " + this.date.text,10,50);
            claimPDF.addTextNote(48,45,100,2,"Claim Filed on: " + this.date.text + " today's date: " + new Date());
            claimPDF.addText("Policy #: " + this.policyNum.text,10,60);
            claimPDF.addText("Contact #: " + this.contact.text,10,70);
            claimPDF.addText(this.claimNum.text,10,80);
            claimPDF.addText("Claim Description:",10,90);
            claimPDF.setXY(10,95);
            claimPDF.addMultiCell(200,5,desc.text);
            // HERE IS HOW TO SAVE FROM FLASH PLAYER 10 OR GREATER. THIS IS USED FOR THIS SAMPLE.
            var bytes:ByteArray = claimPDF.save(Method.LOCAL);
            var f:FileReference = new FileReference();
            f.save(bytes,"tourdeflex-pdf-sample.pdf");
            // HERE IS HOW TO SAVE FROM AN AIR APP
            var fs:FileStream = new FileStream();
            var file: File = File.desktopDirectory.resolvePath("tourdeflex-pdf-sample.pdf");
            fs.open(file, FileMode.WRITE);
            var pdfBytes:ByteArray = claimPDF.savePDF(Method.LOCAL);
            fs.writeBytes(pdfBytes);
            fs.close();
            // HERE IS HOW TO SAVE FROM FLEX APP RUNNING FLASH PLAYER < 10
            /* NOTE: To save the PDF from a Flex application if running Flash Player version < 10, you need to call a server-side
            script as the 2nd parameter of the save call. More information about this can be found here:
            http://alivepdf.bytearray.org/?p=17
            claimPDF.save( ethod.REMOTE, "http://alivepdf.bytearray.org/wp-content/demos/create.php", "tourdeflex-pdf-sample.pdf");*/
            protected function submitClaimNum():void
            claimNum.text='Claim # Assigned: '+ UIDUtil.createUID();//just generate a random id for sample purposes
            this.savePDFBtn.visible=true;
            ]]>
        </fx:Script>
        <mx:Label top="10" left="10" text="Input information and press 'File Claim' to get assigned claim #, then press Save to PDF." color="0xCCCCCC"/>   
        <mx:Label fontSize="18" text="Insurance Claim Form" left="10" top="30"/>
        <mx:HBox width="100%" height="100%" top="40" left="10" color="0x000000">
            <mx:Form id="form1" width="283" height="300">
                <mx:FormItem label="First Name:">
                    <mx:TextInput id="firstName"/>
                </mx:FormItem>
                <mx:FormItem label="Last Name:">
                    <mx:TextInput id="lastName"/>
                </mx:FormItem>
                <mx:FormItem label="Date:">
                    <mx:DateField id="date" />
                </mx:FormItem>
                <mx:FormItem label="Policy #:">
                    <mx:TextInput id="policyNum" />
                </mx:FormItem>
                <mx:FormItem label="Contact #:">
                    <mx:TextInput id="contact" maxChars="12"/>
                </mx:FormItem>
            </mx:Form>   
            <mx:Canvas top="10" left="10" width="300" height="100%">
                <mx:Label text="Description:" y="2"/>
                <mx:TextArea id="desc" y="18" height="133" width="205"/>   
            </mx:Canvas>
        </mx:HBox>
        <mx:HBox top="205" left="185">
            <mx:Button label="File Claim" click="submitClaimNum()"/>
            <mx:Button horizontalCenter="0" click="savePDF(event)" label="Save to PDF" id="savePDFBtn" visible="false"/>
        </mx:HBox>
        <mx:Label id="claimNum" top="238" left="83"/>
    </s:Application>
    If anyone can help that would be great

    Flex 4 supports alive pdf generation.
    Follwing is the sample code of generating pdf.
    var newPDF:PDF =
    new PDF(Orientation.LANDSCAPE, Unit.MM, Size.LETTER);newPDF.setDisplayMode (Display.FULL_WIDTH);
    newPDF.addPage();
    newPDF.setFont(FontFamily.ARIAL , Style.BOLD, 18);
    newPDF.addText(
    "TITLE" ,100,10);newPDF.setFont(FontFamily.ARIAL , Style.NORMAL, 16);
    newPDF.setXY(10,95);
    newPDF.addImage(orderDG,50,20);
    newPDF.addText(
    "TEST 1 " ,50,120);newPDF.addText(
    "TEST 2 ",150,120); 
    var fileREf:FileStream = new FileStream();var file:File = File.applicationStorageDirectory.resolvePath('Test.pdf');
    var stream:FileStream = new FileStream()
    stream.open(file,FileMode.WRITE);
    stream.writeBytes(newPDF.save(Method.LOCAL));
    stream.close();

  • Generating PDF file using FOP API in Web Dynpro

    Hi experts,
    I would like to generate PDF files from a WebDynpro application without using Adobe Interactive forms.
    I think that I can export context data to XML stream and then apply XSLT transformation to produce XSLFO format and then pass it to xlfo processor i.e FOP to generate the PDF file.
    Has someone already try this way of generating PDF files?
    Is it a good way of processing ?
    Thanks in advance.
    Thomas.

    hi Thomas,
    You can make use of the iText API to create pdf documents through webdynpro.
    For this you'll have to download  the Itext api jar file.
    Right click your webdynpro project include this jar file using the 'add external jar files'.Now you'll be able to make use of this api in your webdynpro project.
    http://javaboutique.internet.com/tutorials/iText/ .
    The above link will help you in using iText API.
    hope this one helps you.
    Regards,
    Rahul.

  • Generated pdf file from oracle reports show bad characters

    Hello all,
    Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
    I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
    NLS parameters are set like this
    server:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY AMERICA
    NLS_LANGUAGE AMERICAN
    client:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY SLOVAK
    NLS_LANGUAGE SLOVAKIA
    When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
    I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
    Martin

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • Finder crashes while generating PDFs in preview

    Hi guys,
    i've got a little problem.
    Everytime i browse with the finder to PDFs it chrashes, while generating PDFs in preview.
    Also it takes ages to generate the preview for a PDFs with about 1MB.
    any hints and tipps about that problem ?
    thanks in advance.
    cheers

    Hello sponger:
    If no one posts a fix for you, I would consider an archive and install (NOT an erase and install):
    http://docs.info.apple.com/article.html?artnum=107120
    Be sure you have a good backup/retreat strategy before you proceed. In my case, I make bootable clones of my iMacs on an external firewire drive using a little program called SuperDuper (www.shirt-pocket.com).
    Barry

  • Generated PDF Filesize Concerns

    Hello,
    I have am creating PDFs by generated XDP files from ColdFusion. Each PDF could have different sections that would appear or not based on the XML data passed in with the XDP file. I am concerned that having all of the sections in one file may bloat the generated PDF filesize? Is this true or is the PDF filesize only dependent upon the information that is actually displayed when it is generated (rather than both the displayed and hidden design elements)?
    Are there any resources that folks have found useful for PDF file size optimization techniques?
    Thanks.
    Lisa Backer
    The Kennedy Center for the Performing Arts

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • Generated PDF file...TOC Items Not Linked

    Been racking my brain all day trying to figure out how the heck I created a PDF document TOC with hot links to the document pages from FM 9...and now all of a sudden when I save as a PDF from FM 9 my PDF document TOC is not linked to the document.  Help in FM 9 is not very helpful.  I'm using FM 9, Structured.  Help please.
    Thank you,
    Eric G.

    Hi Art, thank you for responding so fast.  My TOC is being generated by an external source (ATA iSpec2200 app), so I don't have a "TOC" FM file to view properties on.   At one time I was saving docs to PDF and having the TOC links active.  Do you think the problem lies in my external TOC generator?
    Eric

  • Generate PDF from Java

    Is there any way to generate PDF directly from any kind of Pane (especially JEditorPane or JTextPane) in Java (Swing) application? I would like to write a program, that shows the user a document summarizing user's actions and allows to print it or save as a PDF file.
    If you know any external library or extension that make my dreams come true, please let me know :)
    Andrew Orkan

    I use this library for many years. It`s realy very good. I`ve never had any problem with it. It's extremly easy to use. Many of examples are included.
    http://www.lowagie.com/iText/

  • Generating PDF with Flex App (swf) embedded

    Hi,
    Does anyone has the experience in developing a Flex Application that is to be
    embedded into a PDF and open in the Reader/Acrobat for data capturing?
    How to embed the Flex Application (swf) into a PDF in a Livecycle process?
    With the XML data prepopulated into the PDF (embedded with a schema) and
    accessible by the Flex Application when open in Reader/Acrobat.
    Users will still be able to save the data filled in the Flex Application into the PDF
    and also to generate a XML data (with data capturing in the Flex App) to be
    submitted back to the server.
    How can these be achieve? Any example?
    Thanks alot.

    Just wondering, am I in the correct section of the forum? it seems like most of the discussions listed here are related to form designing rather than form rendering.
    I know this is FORMS ES section, just that i come across something that might related to the topic.
    Has anyone try out Adobe LiveCycle PDF Generator ES2 new features?
    Based on Adobe Upgrade Center http://www.adobe.com/products/livecycle/upgrade/pdfgenerator.html, it mentioned that PDF Generator ES2 has the ability to embed SWF files in PDF.
    But is this also applicable to Flex Application compiled SWF file?
    Does the generated PDF function as a normal interactive form?
    Able to retain its embedded schema and objects (scripts)?
    I will try to install LC ES2 to try out but need sometime to setup the system, really appreciate if someone can give me a head start.
    Thanks.

  • Crystal Report generate PDF with J2EE problem

    Dear All
    I am having a great problem on generating PDF file by Crystal Report in J2EE.
    I have my J2EE application runs Crystal Report to generate PDF files.
    However for a report, i hit the following error (red color) when the PDF is generating.
    But is no problem for the other reports.
    Here is the code  that i used to generate the PDF
    My OS and Java version as follows
    Window 2003 server.
    Java 1.4.2_04
    Please Kindly Help
    Thanks very much
    public static void export(HttpServletRequest request, HttpServletResponse response, String reportPath, ArrayList paramList, ReportExportFormat outFormat) throws Exception{
         System.gc();
      HttpSession session = request.getSession(false);
      Object reportSource = getReportSource(request, reportPath);
      ReportExportControl exportControl = new ReportExportControl();
      if(paramList != null && paramList.size()>0){
       exportControl.setParameterFields(getParamFields(paramList));
      ExportOptions exportOptions = new ExportOptions();
      exportOptions.setExportFormatType(outFormat);
      PDFExportFormatOptions pdfexpopts = new PDFExportFormatOptions();
      exportOptions.setFormatOptions(pdfexpopts);
      exportControl.setReportSource(reportSource);
      exportControl.setExportOptions(exportOptions);
      exportControl.processHttpRequest(request, response, session.getServletContext(), null);
      exportControl.dispose();
        public static IReportSource getReportSource(HttpServletRequest request, String reportPath) throws Exception{
      ReportClientDocument oReportClientDocument = new ReportClientDocument();
      HttpSession session = request.getSession(false);
      oReportClientDocument.open(reportPath, 0);
      return oReportClientDocument.getReportSource();
    00:57:08,671 ERROR reportdefinition Thread-28 - Report printer was not valid, switching to default printer.
    00:57:08,687 ERROR objectformatter Thread-28 - com.crystaldecisions.reports.dataengine.k: |Y
    00:57:09,343 ERROR b Thread-28 - Disk Exporter: no output file was created by an exporter
    00:57:09,343 ERROR b Thread-28 - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); java.lang.IllegalArgumentException

    Hi,
    I have tried this code but stil the same.
    However i tried setup another tomcat and application in the other machine and the only job for  the application is exporting the report that has problem, then the error is gone.
    So i guess that is the memory size problem.
    Thanks for this
    One more question about the memory size between Tomcat and Crystal report.
    I have set in catalina.bat as
    set JAVA_OPTS = "-Xms2048M -Xmx1024M"
    and CRConfig as
    <JVMMaxHeap>1024000000</JVMMaxHeap>
    <JVMMinHeap>512000000</JVMMinHeap>
    1. Is that the correct setting.?
    2. The memory in the JAVA_OPT and is the MAX and MIN memory that java would use,
        then is the Max memory in CRConf is 1024M out of the java heap size or the application use another 1024 memory

  • "Error while generating pdf" error come when clicking on "Print Version "

    Hello ,
    When we execute Query in the Portal there is a 'Print version' button.
    When you select it, it opens up print dialog and click OK
    It is supposed to send 'pdf' stream to  Web browser client on end user but it is not able to generate the pdf .
    getting ' Error while generating pdf '
    I am working on BI 7.0 .
    The same is running fine in the Q Environment .But in Production we are getting this error .
    Thanks ,
    Rahul

    Hi,
    I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
    You can check your installation:
    Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
    SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
    Exceptions: Prerequisites for messages in the area BI Java
    SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
    Solution in our case was to update the SAPADS package to 7.00 17.1
    Regards
    Andreas

  • Error while generating PDF ( BEx Web Analyzer )

    Hi,
    Is there any limit to the number of pages we can print using ADS? We always get
    " Error while generating PDF" Error when we try to print reports with more than 500 lines.
    Thanks
    Niveda

    Great. It worked.
    Points assigned.
    Niveda

Maybe you are looking for

  • How to edit iphone contacts in itunes? (Windows 7)

    Hello people! i've just got an iphone 4, and its my first iphone, i've synced all my facebook contacts with the iphone, but now i've got loads of contacts which just have an email, and not a phone number. is there a way to edit them on my computer in

  • Mix Cd Project

    I am completely new to audio development on the MAC. My employer has set me up Logic Pro and Final Cut Pro which includes Soundtrack. To accommodate myself with my new tools and environment I am doing a simple mixing project that will include taking

  • OSB and SOA Suite on same home

    Hi, Which version of Oracle Service Bus can be installed on existing middleware home? The target platform is - Oracle SOA Suite + Oracle service Bus. My assumption is it should be possible to "share" same m/w home (WLS10.3.5) between SOA Suite and OS

  • Convert Indesign CS2 plugin to Xcode 3?

    Hi all, I want to compile a sample plugin project given in the InDesign CS2 SDK using xcode 3. How can i go about this? Any documentation about porting InDesign CS2 plugin code to Xcode 3? I want to do this since im not able to get CW 9.3 to develop

  • Error Connecting to remote sql server database

    The sql server database is hosted on Godaddy hosting service. I am able to connect with many other remote computers so the issue resides on the remote computer. The remote computer is windows 7 32 bit 2009 service pack 1 using the ODBC administrator