Generating Accessible PDF's

On a daily basis I'm sent 100's of Word and PDF documents, which need to be make into accessible (i.e. tagged) PDF's.
I've been searching for some now looking for a solution to automated this process, using acrobat, distiller and other products but have not found anything that can generate tagged PDF documents.
All advice is greatly appreciated.
Sam.

Hi Sam_Ham,
Unfortunately, at this time, there is no "automated process" for delivery of accessible PDFs.
Even if you use NetCentric's "PAWS" add-in for Word or their CommonLook plug-in for Acrobat Professional
a knowledgeable "warm body" is required to "bring it home".
Do note that "tagging" a PDF does *not* make the PDF accessible.
It is a required step; the first of several others that are critical.
Using Adobe's PDFMaker, tag management is possible for MS Word.
For  Excel or PowerPoint, any output other than the most elementary of content will require manual post processing
with Acrobat Professional.
While the current Office suite offers a Save As to PDF/XPS that permits tagging the content the goes to PDF,
it is, currently, rather inadequate in providing a functional, well formed structure tree (essential for PDF Accessibility).
As PDF is an ISO standard, I suspect this may change in the future; but, for now - only adequate for very simple content.
You may find the Accessibility resources available at the Acrobat Users Community (AUC) helpful.
Two Accessibility related on Demand eSeminars are available here:
http://www.acrobatusers.com/learning_center/eseminars_on_demand
A number of Accessibility related tutorials are here:
http://www.acrobatusers.com/topics/accessibility
Additionally, the Accessibility Forum at AUC provides reference and "how-to" resources.
http://www.acrobatusers.com/forums/aucbb/viewforum.php?id=18
Be well...

Similar Messages

  • How do I create an accessible PDF that doesn't generate a "tagged annotations - failed" error on the Accessibility Checker?

    I just reported this as a bug to Adobe, as I think it is.
    ******BUG******
    Concise problem statement: URLs generated from InDesign CC failed on Accessibility Checker (problem also exists in 2014)
    Steps to reproduce bug:
    1. Generated URLs using hyperlinks panel in InDesign. When accessibility report is run, they are flagged as "Tagged annotations - Failed," listed as Element 1, 2, etc. The links are live and clickable.
    2. To test, I removed all hyperlinks in Acrobat. It passed the test.
    3. Then I used "Create Links from URLs." The links were re-created. Running the accessibility report brought up the same error message.
    Results: The links created by Acrobat that actually do work fail the "tagged annotations" report. You have provided the tools to check accessibility, but the program itself can't generate URLs that pass the report.
    Expected results: I should be able to easily create an accessible pdf, as your documentation says I can. This, along with the failure of your "articles" panel detailed in another bug report, strike me as a serious problem with InDesign that should be fixed soon, especially given that designers are required more an more to adhere to accessibility guidelines.

    I have call out boxes like this:  All the links work correctly but they are divided with a tag for each line:

  • Create accessible pdf from html pages dynamically

    Hello,
    I am trying to create a 508 compliant Pdf from a simple HTML page using the HTML to Pdf feature in Livecycle ES4 server. I was able to configure the service to generate tabbed Pdf, but the created Pdf has multiple accessibility issues.
    Some of the issues encountered are:  incorrect tab order,  some links are not tabbable while others are,  link text is being read “Blank”,  some text is skipped while tabbing,  missing alt text for images,  page being rendered in the responsive(mobile) view,  etc.
    I have tried both the available approaches, of 1) providing a URL to create the PDF, and 2) to send the html document as a zipped file, with same results.
    Attached is a sample PDF generated from a simple HTML page I created for demo.
    My questions are:
    Is it possible to generate 508 compliant (accessible) Pdf documents using Html to Pdf service from Pdf Generator? If yes, which settings might I be missing?
    Is there any other service provided by Adobe Livecycle Server that can generate 508 compliant Pdf documents from a 508 compliant HTML page?
    Your help is much appreciated.
    Thanks,
    Anup

    I created a tool that does just that (only you will need to enter the page numbers as text, it does not work by selecting them):
    Acrobat -- Extract Non-Sequential Pages: http://try67.blogspot.com/2011/04/acrobat-extract-non-sequential-pages.html

  • Create accessible pdf from html page

    Hello,
    I am trying to create a 508 compliant Pdf from a simple HTML page using the HTML to Pdf feature in Livecycle ES4 server. I was able to configure the service to generate tabbed Pdf, but the created Pdf has multiple accessibility issues.
    Some of the issues encountered are:  incorrect tab order,  some links are not tabbable while others are,  link text is being read “Blank”,  some text is skipped while tabbing,  missing alt text for images,  page being rendered in the responsive(mobile) view,  etc.
    I have tried both the available approaches, of 1) providing a URL to create the PDF, and 2) to send the html document as a zipped file, with same results.
    Attached is a sample PDF generated from a simple HTML page I created for demo.
    My questions are:
    Is it possible to generate 508 compliant (accessible) Pdf documents using Html to Pdf service from Pdf Generator? If yes, which settings might I be missing?
    Is there any other service provided by Adobe Livecycle Server that can generate 508 compliant Pdf documents from a 508 compliant HTML page?
    Your help is much appreciated.
    Thanks,
    Anup

    I don't think it's possible to do this using a standard JavaScript script in Acrobat, since the newDoc function doesn't work with URLs.
    The only option I can think of is to use an external automator that will call the Create PDF From Web Page dialog, paste the address from a file, and after the PDF file is created will continue to the next line.
    I might be able to create such a tool for you. If you're interested, contact me by email (click my username for the address) or PM.

  • Alt tag rollovers in accessible pdfs

    How can I make the alt tags for vector images (paths) show up upon rollover in my accessible PDF files. My alt tags show up for all raster images, but not for any eps, ai or png files... Is there a fix for this, either in InDesign or in Acrobat XI... a fix that does not involve using raster for everything please!

    UPDATE:
    I have spent a long time trying to find an answer to this to no avail. I have finally contacted Adobe Tech Support and explained the issue that concerns me and I have had a response from a senior expert on InDesign/Acrobat/Accessibility.
    The issue is as follows:
    When you prepare an InDesign document so that the generated tagged pdf is fully accessible for screen readers and the like (create TOC, include bookmarks, add document structure, tag untagged items, map styles to tags, tag uneccessary content as artifacts, include alt tags for images etc.) the bullets in bulleted lists cause the pdf to fail the Full Accessibility Check in Acrobat Pro. The full accessibility report will flag bullets as 'Inaccessible Page Content - the element is not contained within the document structure tree'. This is acceptable from the targeted end user audience (viz those with impaired vision using screen readers) because , as Acrobat states "Content that is not attached to the structure tree will not be available via assistive technology like screen readers." Well you don't really want the screen reader saying "Bullet" or similar everytime it comes across one, do you?
    The problem is that the pdf "fails" the full accessibility check and when you are being paid to create fully accessible pdf's, this scares the client somewhat.
    The solution:
    I explained the above to the Adobe expert and asked if there was an efficient way, in InDesign CS2, to tag all "bullets" as artifacts so that they would be ignored by screen readers AND be seen as artifacts by the Acrobat Pro Full Accessibility Checker and hence pass the check. His answer was NO. I said in the past I had tediously, laboriously gone through the documents in Acrobat pro and marked every bullet as 'background' (= an artifact) to make it pass the Full access checker successfully. Surely, I asked, there must be a simpler way to do this? No, was his answer! "It's extremely cumbersome... but it's the only way"
    Aaaahhh.

  • XML Publisher Report not generating the PDF output.

    Hi,
    I am trying to develop a XML Publisher Report in R12 Vision Instance.
    I have developed the rdf report and concurrent program with XML as output format. Ran the concurrent program and I got the XML output. Based on XML output I have created the rtf template. Using both the template and xml output I have created in Data Definition and Template in XML Publisher Administrator Responsibility. Now I am comming to the concurrent program and running the program, here instead of generating the PDF output it is generating again the XML output and concurrent program completing with warning status.
    When I am trying to do the same in 11i Vision Instance, Concurrent Program completing with normal status and when trying to view the output it is saying "Unable to Publish output for the Processed Request".
    Kindly please help me out in this issue.
    Thanks,
    Manasa.

    Hi Mahesh,
    Here the concurrent programs are not erroring out. It is completing with Warning status and when we click on View Output the output is coming in XML format instead of PDF, this is in R12 Vision Instance.
    In 11i Vision Instance, concurrent program is completing with Normal Status but when we click on View Output it is saying "Unable to Publish output for specified request".
    Thanks,
    Manasa.

  • Getting "SYSTEM ERROR" while generating a PDF in a Workflow method.

    Dear All,
    I'm getting a "SYSTEM ERROR" when I'm calling the below function module in a Workflow BO Method.
    CALL FUNCTION wa_funcnm
       EXPORTING
         /1bcdwb/docparams  = fp_docparams
         invoice                     = invoice
       IMPORTING
         /1bcdwb/formoutput = fp_formoutput
       EXCEPTIONS
         usage_error        = 1
         system_error       = 2
         internal_error     = 3
         OTHERS             = 4.
    The aim is to generate the PDF and store it in DMS. Please let me know, if I'm going wrong somewhere. Any kind of inputs would be sincerely appreciated.
    Regards,
    Tushar.

    Hi Tushar
    You need to the following parameters when calling FM. Background WF process cannot handle dailog.
    fp_outputparams-nodialog = 'X'.
    fp_outputparams-getpdf   = 'X'.
    Refer to Thread below
    Creating Attachments to Work Items or to User Decisions in Workflows
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
    i_name     = l_formname
        IMPORTING
    e_funcname = l_fm_name.
    *   E_INTERFACE_TYPE           =
    fp_outputparams-nodialog = 'X'.
    fp_outputparams-getpdf   = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
    ie_outputparams = fp_outputparams
    EXCEPTIONS
    cancel          = 1
    usage_error     = 2
          system_error    = 3
    internal_error  = 4
    OTHERS          = 5.
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN OTHERS.
    ENDCASE. " CASE sy-subrc
      ENDIF.
    fp_docparams-langu = 'X'.
    fp_docparams-country = 'US'.
      fp_docparams-fillable = 'X'.
      CALL FUNCTION l_fm_name
        EXPORTING
    /1bcdwb/docparams  = fp_docparams
    emp_info           = fs_per_info
        IMPORTING
    /1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
    EXCEPTIONS
    usage_error        = 1
          system_error       = 2
    internal_error     = 3
    OTHERS             = 4.
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN OTHERS.
    ENDCASE. " CASE sy-subrc
      ENDIF.                               " IF sy-subrc <> 0
      CALL FUNCTION 'FP_JOB_CLOSE'
    *   IMPORTING
    * E_RESULT             = result
       EXCEPTIONS
    usage_error          = 1
    system_error         = 2
    internal_error       = 3
    OTHERS               = 4
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN OTHERS.
    ENDCASE. " CASE sy-subrc
      ENDIF.                               " IF sy-subrc <> 0.
    ENDFORM.                    " GET_FUNCTION_MODULE
    *& Form  CONVERT_PDF_BINARY
    FORM CONVERT_PDF_BINARY .
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
    BUFFER                = FP_FORMOUTPUT-pdf
    *   APPEND_TO_TABLE       = ' '
    * IMPORTING
    * OUTPUT_LENGTH         =
        TABLES
    BINARY_TAB            = t_att_content_hex .
    ENDFORM.                    " CONVERT_PDF_BINARY
    Regards
    Sandy

  • R12 : System Failed to generate the PDF Document.

    I am trying to create a PO thru auto create but I hit inquire > View Document , I encountered an error: System Failed to generate the PDF Document. Please contact your system administrator. We just updgrade our instance from 11.5.2.10 to r12.1.2. Any thoughts?
    Thanks,
    Leo

    Please see if these docs help.
    System Fails To Generate PDF Document After Clicking "PDF Document" On Supplier Notification When Different Languages Are Used [ID 1078546.1]
    PO Email From Tools>Communicate At Same Time of Approval Corrupts PDF File Transmits As .HTML & System Failed to Generate PDF [ID 1287488.1]
    Thanks,
    Hussein

  • How to preserve a background color, when generating a PDF file

    I am trying to create a PDF file from some application. Please note that the picture in this application has the black background. So I invoke a Print command and set a printer as "Adobe PDF". As a result, I have generated
     a brilliant PDF file of my picture, but on the WHITE background. When selecting the Adobe PDF printer, I have looked through all its settings ( in the Adobe PDF settings, I have found several tabs: General, Images, Fonts, Color, Advanced, PDF/X), none of them generated the original background color. 
    So how can a generate a PDF file, having the original background color (black, in my case) ?
    Oleg

    Now I feel that the background definition in the Adobe PDF printer and the background definition in the application the Adobe PDF printer is invoked from -- two different things. So I guess how can I define the black background in the Adobe PDF printer? I cannot find such settings.

  • How to generate a PDF output using batch file in 10G

    Hello,
    I am using .bat file to generate a report PDF output. I have done this many times in 6i but for 10G I am unable to do the same.
    Can someone please look at the syntax below and let me know where I am going wrong.
    I understand that reports are different for 6i and 10G specially .rep file but I am sure we should be able to generate a PDF file using 10G. Please let me know.
    Thanks
    IQ
    Contents of .bat file follow
    ECHO Opening parameter form. Please do not close this window.
    C:\
    FOR /F "tokens=1 " %%I IN ('time /t') DO (SET _TIME=%%I)
    FOR /F "tokens=2 " %%I IN ('date /t') DO (SET _DATE=%%I)
    SET EXP_DATE=%_DATE:~6,4%%_DATE:~0,2%%_DATE:~3,2%_%_TIME:~0,2%%_TIME:~3,2%
    SET FILENAME=SEND_EMAIL_%EXP_DATE%_%USERNAME%.PDF
    CD C:\Users\Documents
    RWCONVERTER REPORT=C:\Users\Documents\send_email.rep USERID=scott/tiger@ORCL1 ORIENTATION=LANDSCAPE DESFORMAT=PDF DESTYPE=FILE
    DESNAME=C:\Users\\%FILENAME% PRINTJOB =NO

    Rwconverter is not used to run reports:
    rwconverter (Reports Converter) enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another.
    I think you mean rwrun:
    rwrun (Reports Runtime) runs a report by starting its own in-process server (not to be confused with the default in-process Reports Server), which runs in the same JVM as the rwrun process.
    This bat file has to run on the server. There is no Reports installation on the client anymore.
    If you want to run a report from a client, you can make a bat file that calls the report url
    See: http://download.oracle.com/docs/cd/E14571_01/bi.1111/b32121/pbr_cla002.htm#i634710

  • Accessible PDF files and forms

    I am beside myself with the lack of help and/or interest in the Accessiblity area. We have been mandated to make all our PDF files accessible on our Web site. We have been able to master many of the issues regarding tags and form fields, but still have questions regarding updating the original PDFs without loosing the tag structure.
    Is there any options on the Adobe site that may concentrate on this area? I called tech support yesterday (Bronze contract), was on hold for 10 mins and got disconnected. After leaving my number, they never called me back again.
    HELP
    KEN PANTHEN, Albany, NY

    Bill
    The point was not having to create the tags again in a new file before
    replacing the pages containing the form fields in the old file. We have
    many forms that get updated right up to the last minute and to go through
    the tagging process is too time consuming. We do not use PDF Maker, but
    produce all the PDFs directly out of InDesignCS3 to Adobe Acrobat
    Professional (Distiller).
    Thanks for your reply.
    KEN PANTHEN
    NYS Tax Department
    Information Technology Specialist 2
    FPM - Composition Services Unit
    (518) 457-1425
    (518) 485-7828 (fax)
    From:
    "Bill@VT" <[email protected]>
    To:
    Kenneth Panthen <[email protected]>
    Date:
    06/24/09 11:19 AM
    Subject:
    Accessible PDF files and forms
    I am really suggesting replacing all of the pages. I was thinking that the
    tag structure would go with the replacement and you would need to create
    the other PDF with PDF Maker to keep the tagging. I may be wrong, but that
    was the view I had. If you replace a single page, I am not sure what might
    happen since that would generally not be done with PDF Maker.
    Since you already have the application process going, it is probably
    easiest for you to try the variations on replacing pages and such --
    basically what I would be doing.

  • Not able to generate PO Pdf attachment

    Hi,
    I encountered one problem of po pdf cannot be generated in oracle.
    When this happened, i had rebounced server and restart workflow, but problem still not solving..
    Steps to duplicate:
    1. Go to Purchase Order Screen
    2. Click Inquiry->View Document to generate pdf document.
    3. Error message below appear in screen
    Problem: The system could not generate the PDF document.
    Reason: The system detected an error in the following code/object.
    Code: XML
    Object: PO
    Action: Please contact the system administrator and try again.
    4. i try again to run concurrent program PO Output for Communication with parameter test = debug
    there is error message as below:
    Retrieved the Document XSL Tue May 24 19:22:34 MYT 2011
    Calling the getPOXml method
    GenerateDocument::getPOXml() : l_exists 1
    GenerateDocument::getPOXml() : m_whichTables MAIN
    GenerateDocument::getPOXml()- Calling the POXMLGEN method Tue May 24 19:22:34 MYT 2011
    GenerateDocument::getPOXml() - Exception
    genDoc() : PoPDFExceptionoracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED
    oracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED
    oracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED
         at oracle.apps.po.communicate.PoGenerateDocument.getPOXml(PoGenerateDocument.java:1045)
         at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:1989)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:323)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    May i know how i can solve this problem as this affect to all POs in oracle
    Thanks a lot

    Please see these docs.
    PO_PDF_XML_FAILED Exception When Running POXPOPDF PO Output For Communication [ID 434128.1]
    POXPOPDF oracle.apps.po.communicate.PoPDFException: PO_PDF_XML_FAILED [ID 437288.1]
    POXPOPDF:PO Output For Communication fails with Missing Expression Error for Blanket Releases [ID 889904.1]
    How To Debug The Issues With 'PO Output for Communication' For PDF Generation [ID 1273801.1]
    PO Output For Communication Fails For 11i Purchase Orders Revised In R12 [ID 966502.1]
    Thanks,
    Hussein

  • Parameter issue - report not generating any pdf files

    Hi All,
    I'm trying to run a report which generates pdf files. Is there any limitation on the parameter string size? For one of the parameter values - '11F EA Accept nonhonor ASnSOMnSON_20091201090150846' the report is not generating any pdf files. I assumed the reason is of the keyword 'AS' in it and created another parameter value - '11F EA Accept nonhonor AnS-SOM-SON_20091202074331997', but it is also not generating any pdf files. I get this message from Adobe Reader " There was an error opening this document. This file cannot be opened because it has no pages. " The report is working normally when i hardcode the same parameter values into the logic. Any suggestions on this?
    Thanks.
    Edited by: user1049091 on Dec 2, 2009 9:17 AM
    Edited by: user1049091 on Dec 2, 2009 12:37 PM

    Tim,
    That report is working normally for all the parameter values, except this one. It is not working only if i pass the value - ''11F EA Accept nonhonor ASnSOMnSON_20091201090150846' as a parameter. It is generating the pdf files when i hardcode the same value into sql query logic in the data template, instead of passing it as a parameter. Please advise.
    Thanks.

  • How do I create an accessible PDF for Thesaurus with many chapters, from InDesign CS 5.5 and Acrobat

    Hi folks,
    I have redesigned a Thesaurus (controlled vocabulary for an Agency's archives) in InDesign CS 5.5. I am now preparing an accessible PDF from the many files (using a Book created in InDesign). The front cover, front matter and back cover are not part of the Book, to keep the page numbering simple.
    The Book includes two main sections, an Alphabetical display and a Hierarchical display of terms and their relations. I created chapters per alphabet listings, i.e. Alphabetical Display A, B, C, etc. So there are over 50 chapters, including cover, front matter, etc.
    I've successfully made the front cover and front matter PDFs after viewing videos here: http://tv.adobe.com/watch/accessibility-adobe/preparing-indesign-files-for-accessibility/ and downloading and using this recommended Action for Acrobat: InDesign CS5_5 Accessibility Touchup.sequ
    Several questions specific to this project don't seem to be addressed in the videos, however.
    First, I'd like to know if I can create an accessible PDF using the Book function > Export Book to PDF. Or do I need to make a PDF per chapter? The book has over 50 chapters (by alphabet, twice), so creating them one by one will take a lot more time, but I'll do it if that's the best practice.
    After creating the PDFs, if I use (in Acrobat): Create > Combine Files into PDF to make one full PDF (over 600 pages BTW), will the final PDF retain accessibility settings? Do I need to run the Accessibility Report again for the combined PDF?
    I used InTools.com Power Headers plugin to add a page header that automatically shows the new first term used per page. So, one chapter (with Chapter Title as H1) will have a different page header (which will be H2) per page, however the text flows through the whole chapter. I don't see where to add the page headers to the Article Window in InDesign. Do I add in this order: H1, H2, text (for whole chapter), H2, H2, H2, etc. Will I need to work on the PDF in Acrobat, where pages will be shown, in order to get the correct H2 with the correct text on the page? Am I missing something?
    Will I have any issues with Bookmarks that requires a specific workflow?
    I think that's about it, though I might run into more questions as I progress through the project.
    Thanks, Marilyn

    I understand why you need updated running headers in your book. To a sighted reader these serve as a guide to where you are and help you find things quickly.  In addition, if you are exporting your data to XML or HTML from the tagged PDF it would also be important to have these in the proper location. 
    But for accessibility purposes, it doesn't have to be there because the screen reader reads everything in linear order, line by line.  No one is looking at the page.  A user listening to the screen reader read the page is going to hear this heading, just before the actual word itself. So they will hear the first word on the page twice.  It's not the end of the world if it's there, but such headings are not necessary for accessibility unless they are not repetitive and contain information that is not otherwise available.
    So I would say, fine if you need them or want them there, it's just one word. 
    I think you should try exporting your book to PDF (or even just a chapter of the book) and look at the tags panel in Acrobat to see if you are getting the result you want.  I can't tell you exactly what you should do to get those results, you are using a plug-in I don't have. 
    I can tell you I didn't have to add the headers to any article at all, they just automatically export if the other articles in the file are added and you don't select the header style option "not for export as XML."
    You may not experience the same results with your plug-in, but I think it will probably work the same way. 
    Give it a try and best of luck.

  • Images present in datagridview not exporting to file only text contents are generating into PDF file..

    Hi Everyone,
       I have created simple Desktop app in that I trying to generate PDF file from Datagridview...when I click on ExportPDf button Pdf file is generation successfully but the issue is in that pdf whatever the images has present in datagridview that images
    are not generation into PDF only the text contents are Present in PDF file.
      Does any one can tell me how to generate the PDF file along with images.
    Here is my code:
      private void btnexportPDF_Click(object sender, EventArgs e)
                int ApplicationNameSize = 15;
                int datesize = 12;
                Document document = null;
                try
                    SaveFileDialog savefiledg = new SaveFileDialog();
                    savefiledg.Filter = "All Files | *.* ";
                    if (savefiledg.ShowDialog() == DialogResult.OK)
                        string path = savefiledg.FileName;
                        document = new Document(PageSize.A4, 3, 3, 10, 5);
                        PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(path + ".pdf", FileMode.Create));
                        document.Open();
                        // Creates a phrase to hold the application name at the left hand side of the header.
                        Phrase phApplicationName = new Phrase("Sri Lakshmi Finance,Hosur-560068", FontFactory.GetFont("Arial", ApplicationNameSize, iTextSharp.text.Font.NORMAL));
                        // Creates a phrase to show the current date at the right hand side of the header.
                        Phrase phDate = new Phrase(DateTime.Now.ToLongDateString(), FontFactory.GetFont("Arial", datesize, iTextSharp.text.Font.NORMAL));
                        document.Add(phApplicationName);
                        document.Add(phDate);
                        iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance("D:\\logo.JPG");
                        document.Add(img);
                        iTextSharp.text.Font font5= iTextSharp.text.FontFactory.GetFont(FontFactory.TIMES_ROMAN, 5);
                        iTextSharp.text.Font font6 = iTextSharp.text.FontFactory.GetFont(FontFactory.HELVETICA_BOLD, 6);
                        //float[] columnDefinitionSize = { 2.5f, 7.0f,6.6f, 8.6f, 6.6f, 5.0f, 4.5f, 7.0f, 6.3f, 7.0f, 3.5f, 6.0f, };
                        PdfPTable table = null;
                        table = new PdfPTable(dataGridView1.Columns.Count);
                        table.WidthPercentage = 100;
                        PdfPCell cell = null;
                        foreach (DataGridViewColumn c in dataGridView1.Columns)
                            cell = new PdfPCell(new Phrase(new Chunk(c.HeaderText,font6)));
                            cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
                            table.AddCell(cell);
                        if (dataGridView1.Rows.Count > 0)
                            for (int i = 0; i < dataGridView1.Rows.Count; i++)
                                PdfPCell[] objcell = new PdfPCell[dataGridView1.Columns.Count];
                                for (int j = 0; j < dataGridView1.Columns.Count - 0; j++)
                                    cell = new PdfPCell(new Phrase(dataGridView1.Rows[i].Cells[j].Value.ToString(), font5));
                                    cell.HorizontalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.VerticalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.Padding = PdfPCell.ALIGN_LEFT;
                                    objcell[j] = cell;
                                PdfPRow newrow = new PdfPRow(objcell);
                                table.Rows.Add(newrow);
                        document.Add(table);
                        MessageBox.Show("PDF Generated Successfully");
                        document.Close();
                    else
                        //Error 
                catch (FileLoadException fle)
                    MessageBox.Show(fle.Message);
                    MessageBox.Show("Error in PDF Generation", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    Runtime Gridview content:
    Generated PDF File:
    Thanks & Regards RAJENDRAN M

    Hi Everyone,
       I have created simple Desktop app in that I trying to generate PDF file from Datagridview...when I click on ExportPDf button Pdf file is generation successfully but the issue is in that pdf whatever the images has present in datagridview that images
    are not generation into PDF only the text contents are Present in PDF file.
      Does any one can tell me how to generate the PDF file along with images.
    Here is my code:
      private void btnexportPDF_Click(object sender, EventArgs e)
                int ApplicationNameSize = 15;
                int datesize = 12;
                Document document = null;
                try
                    SaveFileDialog savefiledg = new SaveFileDialog();
                    savefiledg.Filter = "All Files | *.* ";
                    if (savefiledg.ShowDialog() == DialogResult.OK)
                        string path = savefiledg.FileName;
                        document = new Document(PageSize.A4, 3, 3, 10, 5);
                        PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(path + ".pdf", FileMode.Create));
                        document.Open();
                        // Creates a phrase to hold the application name at the left hand side of the header.
                        Phrase phApplicationName = new Phrase("Sri Lakshmi Finance,Hosur-560068", FontFactory.GetFont("Arial", ApplicationNameSize, iTextSharp.text.Font.NORMAL));
                        // Creates a phrase to show the current date at the right hand side of the header.
                        Phrase phDate = new Phrase(DateTime.Now.ToLongDateString(), FontFactory.GetFont("Arial", datesize, iTextSharp.text.Font.NORMAL));
                        document.Add(phApplicationName);
                        document.Add(phDate);
                        iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance("D:\\logo.JPG");
                        document.Add(img);
                        iTextSharp.text.Font font5= iTextSharp.text.FontFactory.GetFont(FontFactory.TIMES_ROMAN, 5);
                        iTextSharp.text.Font font6 = iTextSharp.text.FontFactory.GetFont(FontFactory.HELVETICA_BOLD, 6);
                        //float[] columnDefinitionSize = { 2.5f, 7.0f,6.6f, 8.6f, 6.6f, 5.0f, 4.5f, 7.0f, 6.3f, 7.0f, 3.5f, 6.0f, };
                        PdfPTable table = null;
                        table = new PdfPTable(dataGridView1.Columns.Count);
                        table.WidthPercentage = 100;
                        PdfPCell cell = null;
                        foreach (DataGridViewColumn c in dataGridView1.Columns)
                            cell = new PdfPCell(new Phrase(new Chunk(c.HeaderText,font6)));
                            cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
                            table.AddCell(cell);
                        if (dataGridView1.Rows.Count > 0)
                            for (int i = 0; i < dataGridView1.Rows.Count; i++)
                                PdfPCell[] objcell = new PdfPCell[dataGridView1.Columns.Count];
                                for (int j = 0; j < dataGridView1.Columns.Count - 0; j++)
                                    cell = new PdfPCell(new Phrase(dataGridView1.Rows[i].Cells[j].Value.ToString(), font5));
                                    cell.HorizontalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.VerticalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.Padding = PdfPCell.ALIGN_LEFT;
                                    objcell[j] = cell;
                                PdfPRow newrow = new PdfPRow(objcell);
                                table.Rows.Add(newrow);
                        document.Add(table);
                        MessageBox.Show("PDF Generated Successfully");
                        document.Close();
                    else
                        //Error 
                catch (FileLoadException fle)
                    MessageBox.Show(fle.Message);
                    MessageBox.Show("Error in PDF Generation", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    Runtime Gridview content:
    Generated PDF File:
    Thanks & Regards RAJENDRAN M
    Hello,
    Since this issue is mainly related to iTextSharp which belongs to third-party, I would recommend you consider posting this issue on its support website to get help.
    Maybe the following forum will help.
    http://support.itextpdf.com/forum/26
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Witholing tax configuration issue

    Hello Cosultants I am doing the configuration of WT and facing the problem in transaction J1INCHLN The error is - <b>No unpaid tax lines exist for the given selection criteria.</b> Message no. 8I702 Diagnosis The corresponding withholding tax line  &

  • Query in Unmarshaling using JAXB

    Hi, I have some chinese characters in my xml. When i try to read those string from XML using JAXB Unmarshaling and print the same, it is getting changed to some unicode character. Help me in this regard. As the chinese characaters are getting changed

  • Not able to activate Java even after clicking "allow and remember"

    Hi, After opening a website in Mozilla Firefox it shows "Activate Java(TM) Platform SE 7 U. This plugin has security vulnerabilities" and after clicking "allow and remember in red plugin icon in the address bar" the website closes automatically. Agai

  • EHSM Login / T.codes for Incident Management

    Hi All, I am a BW Consultant & got the requirement to develop the Incident Management Reports. we have SAP standard Extractors for Incident Management to load the Data. I want to know 1. I need to reconcile my bw report, what are the T.codes for Inci

  • Various installation errors

    These don't appear to be serious, but several programs (notably photoshop, illustrator) installed with similar errors. 1) are these a big deal/something to worry about? 2) what can I do to fix these types of errors? a full listing of the errors from