Unable to see bar code in generated PDF

Hi!
I'm using the Oracle BI Publisher Template for Word 11.1.15.0. I have created a template, and one of the fields on which is to be a bar code.
I've read that BI Publisher comes with three bar code fonts pre-installed, so I have installed all of those fonts in windows. In Microsoft Word, all these fonts are available and display correct.
The 'xdo example.cfg' file contains the following entry.
      <font family="3 of 9 Barcode" style="normal" weight="normal">
       <truetype path="C:\Windows\Fonts\3of9.ttf" />
      </font>The '3 of 9' font is displayed in the C:\Windows\Fonts\ folder as having the name 'BC 3of9 Regular', so I saw it fitting to add the following entry to my xdo.cfg file.
       <font family="BC 3of9 Regular" style="normal" weight="normal">
       <truetype path="C:\Windows\Fonts\B39R00_0.TTF" />
       </font>That field rendered correctly in the template builder, but when I viewed the PDF, the bar code was not generated, it displayed the value I was passing text form.
This font appears as "BC 3of9" in the font drop down in Microsoft word, so I thought I had entered the font family mistakenly, and thus also added the following entry to the xdo.cfg file.
       <font family="BC 3of9 Regular" style="normal" weight="normal">
       <truetype path="C:\Windows\Fonts\B39R00_0.TTF" />
       </font>I've tried another few changes unsuccessfully, so I guess I'm missing out something!
Help!
Edited by: Gill on Apr 19, 2012 6:53 AM

I'm using the BI Publisher add on for Microsoft word. I'm using RTF documents to generate templates to use for PDF generation. The add on has a PDF preview feature which doesn't display the barcode, and the barcode is also not generated while using the XSLT to generate the PDF.

Similar Messages

  • Can't see bar codes on PDF files

    I Received tickets to print in a PDF file but bar code did not show on ticket when opened . is there a fix for this?

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • How do I add a simple, 1D, uneditable bar code to a PDF?

    I would like to add a simple 1D bar code to an existing PDF form.  The bar code is used to identify me as the issuer of the PDF form and would not be edited by anyone else.  If it is not possible to do in Adobe X Pro,  is there a third-party software that would do the trick?  Thanks.

    Create a Form Field
    When finish get out of Forms editing.
    Place the Bar code in the field.
    now go back to Forms Editing (From Tool bar)
    Click on Field and hold down Control Key
    Choose Make Read only or Read only.
    Now see if you can password Protect the field  Or Document and allow everything to be filled out except this field.
    * Well I just tried to Password protect and individual cell but evidently I can't. Might be something I am not doing
    If its not its not very useful.

  • Unable to see print preview for Sales PDF form SLS_FORM01 SD_SLS_PRINT01

    Hi,
       I tried to use pdf forms for my sales print forms . I maintained standad driver program SD_SLS_PRINT01 and pdf form SLS_FORM01 in NACE. But i am unable to see print preview . But i am able to view standard purchase order pdf form MEDRUCK_PO . When i debugged the code, i found an excetion " %fpcomp_usage_error '039' textkey-name" , it gives style does not exists . The exception detail is as follows .
    Exception : USAGE_ERROR
    Message Id : FPUIFB  Message Number : 039 .
    Message : Text object doesnot exixts .
          Kindly guide me to overcome this issue .
    Thanks and Regards,
    S.Sivakumar

    this is no adobe specific error, it's from your application. You've some entries in your customizing so that specific texts are expected by the form.
    go to the context, search your text there and check wheter the checkbox "no error when text is missing" is activated or not...
    if the textbox is not activated but the text is missing --> thats the behaviour you have

  • How to add a working bar cod in a pdf form?

    I am able to create a bar code using adobe acrobat. It is working perfect in acrobat viewer. But when i open the same form with adobe reader, after a filling corresponding fields, the bar code disappears and a grey box appears. Here i attached an image of the pdf form. One is before i filling the form and one is after filling the form.
    What i need to do? Please help me It's urgent.Please help me.

    http://www.adobe.com/sea/products/server/readerextensions/
    I would recommend:
    1. Check the hardware requirements. (WIndows server, probably). The cost of the server is probably insignificant, even if you have to buy a new one.
    2. Estimate total usage (forms, users per form) over a year and the lifetime of the project.
    3. Contact a sales rep and get a preliminary price quote based on your usage,

  • SAPScript bar code output in PDF format

    Hi,
    I am working in 4.6D. I am trying to get the zip code bar code symbol to display in PDF as Postnet. When it displays at this point it has the numeric code that would trigger the simm module on a printer to print the corresponding bar code symbol. I need to get this to display in the PDF document as well. Does anyone have any ideas on how to do this in SAPScript?
    Any help or suggestions well be greatly appreciated.
    Mark

    Hi,
    Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/frameset.htm
    Thanks & Regards,
    Judith.

  • Unable to see Hyperion FR reports in PDF view.

    Hi All,
    We are using Hyperion 11.1.1.3 version .User can able to open the report in HTML view but not in PDF View.When users try to open the report in PDF view ,found that PDF view grayed out(disabled).we tried to change the file preference-->preview-->PDF preview,but still getting the same errror.pdf reader is installed in client machine and ghostscripts has installed in server machine.if its related to access issue ,I think there is no separate security access role for HTML View and PDF view.
    Any suggestions would be greatly appreciated.
    Thanks in Advance

    We are facing the similar issue on only one user's machine. We have exactly same kind of machine with same verison of OS and PDF softwares installed, All other users are able to view is correctly. The effect user is able to open and view all pdf document from his machine or from Internet.
    This seems to be more Individual Machine specific issue for us.
    Any idea who we can go ahead in investigating or solution to fix this.

  • Enhanced Field is Blank - Debug with RSA3 - Unable to see the code in Exit

    Hi all,
        I have created a View on a table and created the Generic Extractor on that View and enhanced the Extract Structure to add a Amount field along with Currency Key. I have added the ABAP code to fill that new field. The same code has worked fine in Sandbox and copied the same into Dev. Everything worked fine and it populated the data into that enhanced field in Sandbox, but something is wrong in Dev. I have set the Break-Point after my Generic Extractor in the Exit's Include member ZXRSAU01 and tried to debug in RSA3, but it is not going there. Some how it is not recognizing the code in the User Exit. I am doing the same that I have done in the sandbox. Only initial values (0.00) are there in that field. That field is un-hided.
       What could be the problem, please ?
      Thanks in advance.
    Regards,
    Venkat.

    HI Venkat,
    Look at ur Datasource is Trancsaction Data or Materdata Attributes/Text.If it T.Data use Incled ZXRSAU01 or For Master Data attributes use ZXRSAU02 or Text
    ZXRSAU03.
    And Observe the Exit is Active or not and Debug the code once.

  • BAR CODES in smartforms - conversion problems to PDF

    Hello,
    I have a problem. Have a look at the following points and see what I have done:
    1. I generated several different system bar codes using SM73
    2. I added those system bar codes to a smartformstyle
    3. and built a smartform using smartformstyle of system-bar codes.
    4. then I made some examples of bar codes in the smartform as text.
    5. next I sent this smartform via email as an pdf attachment using smartform mail functionality.
    6. shocking - all bar codes in the pdf-file are not readable. You can see that there is a barcode placed, but all barcodes looks like the same.
    Has somebody got a idea on what is going on here?
    I already had a look at OSS Notes 430887 and 645158.
    Greetings
    daniel

    Hi,
    Please can you have a look at Sap OSS Note 197177.
    Regards,
    Sudheer.

  • Printing scannable Bar Codes on PDF file?

    Hi:
    I am working a PO report (standard) and designing using RTF template to print as PDF output.
    I need to print the item as bar code that needs to be scanned. I downloaded a free font 39 and registered in Admin tab of XML Publisher responsibility. I also installed the font in my local machine and added it in my template.
    When I run the report and view the output, the bar code appears on PDF. When I try to scan the bar code, its not scanning the bar code.
    What is the step that I am missing? Please help ASAP.

    As a first step make sure you're using the correct start/stop characters for your barcode.
    In this case for Code 39 you would need an asterisk * at the start and end of the barcode, make sure to apply the barcode to the asterisk as well.
    sampledatafield
    Edit: If you got the free font from a vendor check the terms of use on it. Some vendors will give you a font that will show you how it should look but it will not be scanable.
    Message was edited by:
    dclarke27

  • Adding bar codes to printer device for smartforms pdf conversion?

    Hello friends,
    I would like to send a smartform as a pdf to an email recipient. The smartform shows some bar codes. The send process workes fine. But the bar codes doesn't appear on the pdf correctly. Therefore I would like to add bar codes to the printer device type in transaction SE73.
    Does somebody know the device type for smartforms pdf conversion? Or how can I add bar codes to smartforms pdf conversion process?
    greetings
    daniel

    Hello Denial,
    Try these links, this might solve ur problem
    http://www.tec-it.com//documentation/TBarCodeSAPLPD_EN.htm
    http://www.mecsw.com/info/appnote/app_024.html
    if you need any more information send me at [email protected]
    Thanks & Best Regards
    Ankur Jain

  • How to print BAR code in SMART Form

    Hi All,
    I have the requirement to print BAR CODE in Smartforms.
    For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
    Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
    If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
    PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
    Thanks
    Piyush Mathur

    Hi,
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    reward if useful
    regards,
    ANJI

  • Issue with emailing dynamically generated PDF (InteractiveForm UI element)

    Hi Experts ,
    I have a requirement according to which i need to generate PDF dynamically using webdynpro java and email the dynamically generated PDF.
    I am facing issue while emailing the dynamically genarated pdf.
    It gives me an exception :
    nested exception is: javax.mail.MessagingException: IOException while sending message;  nested exception is: java.io.IOException: no data
    This is because its unable to get the binary data (byte array) of the dynamically generated PDF which is required to send mail.
    Could some one suggest me how to fetch the binary data of the dynamically generated PDF.
    For dynamic PDF generation i am using dynamic generation of UI element   InteractiveForm UI Element 
    In case of static PDF (i.e. the PDF genarated by inserting the InteractiveFrom Ui element on the view using the insert child option) we do set the pdf source property of Interactive Form UI element to a context variable attribute of type binary but  my problem is ,how to set the PDF source of a dynamically generated Interactive form UI element to a context variable attribute of type binary ..
    Any help would be highly appreciated.
    Regards ,
    Navya

    Hi Frank ,
    the code to generate PDF dynamically is written in the WdDoModifyView section of the view as the PDF need to be generated dynamically., i.e. by adding InteractiveForm UI elements at  runtime.
    I tried the code suggested by you  but i gave mean exception.
    errorjava.io.FileNotFoundException:
    (The system cannot find the path specified)
    Kindly let me know where i am going wrong .
    Below is the code that i  had written in a separate method m_mail().
    This would take as input the name of the dynamically generated data node and is called from the wdDoModifyView section of the view
    public void m_mail( java.lang.String p_dynamicnodeName )
                   ByteArrayOutputStream templateSourceOutputStream = new ByteArrayOutputStream();
              //        This would need to have the Templatefile in the Mimes-Directory of the Webdynpro-Component
                   String templateUrl = WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), "AdobeView1_InteractiveForm.xdp");
                   InputStream templateSourceInputStream = new FileInputStream(templateUrl);
                   IOUtil.write(templateSourceInputStream, templateSourceOutputStream);
                   IWDPDFDocumentCreationContext pdfContext = WDPDFDocumentFactory.getDocumentHandler().getDocumentCreationContext();
                   pdfContext.setData(WDInteractiveFormHelper.getContextDataAsStream(wdContext
                   .nodeCtx_vn_dynmcnd()
                   .getChildNode(p_dynamicnodeName, IWDNode.NO_SELECTION)));
                   pdfContext.setTemplate(templateSourceOutputStream);
                   pdfContext.setInteractive(false);
                   IWDPDFDocument pdf = pdfContext.execute();
                   if (pdf != null) {
                    pdfArray = pdf.getPDF();
    Kindly let me know where am i going wrong.
    Regards ,
    Navya

  • How To Generate PDF File IN PHP?

    Hello.programmer.
    I am a php  beginner,I want to creat Pdf file in pHP ,but what can I do ?
    I have   found[ PHP PDF |http://www.phpkode.com/projects/category/php-pdf/]project already ,but what can I do ?

    Hi,
    Use This code to generate PDF, and Happy code.
    <?php
    // create handle for new PDF document
    $pdf = pdf_new();
    // open a file
    pdf_open_file($pdf, "philosophy.pdf");
    // start a new page (A4)
    pdf_begin_page($pdf, 595, 842);
    // get and use a font object
    $arial = pdf_findfont($pdf, "Arial", "host", 1); pdf_setfont($pdf, $arial, 10);
    // print text
    pdf_show_xy($pdf, "There are more things in heaven and earth, Horatio,", 50, 750); pdf_show_xy($pdf, "than are dreamt of in your philosophy", 50, 730);
    // end page
    pdf_end_page($pdf);
    // close and save file
    pdf_close($pdf);
    ?>
    All the Best
    Madhu....

  • 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();

Maybe you are looking for

  • SMTP in Unity 7

    Devices: Unity version 7, hosted Exchange 2010. A switch from Earthlink to TDS caused the Voicemail to Email service to break.  I'm trying to find a SMTP relay service to use to fix this as TDS states they do not offer this service.  The Exchange ser

  • Snapping not working for masked layers in Photoshop CC

    I am working with multiple layers which have been masked and I am using a grid that has been set up with the guide layout options in Photoshop CC. What I have found is that the masked layers will not snap to guides. It is as if the snapping feature d

  • How to backup outlook 2013 mail?

    Hi All, I have a question regarding how to backup outlook 2013 emails. I have a lot of emails in my Outlook 2013, it is connect to Exchange server. I want to backup the emails because I have used a lot of space. Thanks for your help!

  • Business Process in Chemical Industry.

    Hi, I want to  gain domain knowledge in Chemical Industry.So,please suggest from where should I start and how to get complete business knowledge in Chemical industry. Thanks & Regards, Divya.

  • Windows client - Linux oracle server SSO through Win2003 DC

    Hi, I'm trying to do SSO with the captioned setting, the outline can be simplified as below: windows cleint --> Win2003 DC --> Linux Oracle server Of course, the Linux server would issue kerberos ticket to the Windows client after which successfully