Problems with pdf-export / Probleme beim PDF-Export

Hi,
I tried to export a pdf from the "report" as portrait. It came out as a landscape. The left side of the pdf showing my exported report (as portrait), the right half of the page empty...
Not exactly what I meant to do!
Wenn ich ein pdf im Hochformat aus "Report" exportiere, erhalte ich ein PDF im Querformat. Auf der rechten Seite ist mein exportierter Report (im Hochformat), die linke Hälfte der Seite ist leer.
Kann mir jemand weiterhelfen?

Moritz -
Did you mean to post this question in the "Feedback" board?  I would be happy to move it for you to the appropriate product board, but I'm not exactly sure which language you are programming in.  Can you let me know where you intended for this to go?
Thanks,
Molly K.
Web Support & Operations Manager
National Instruments

Similar Messages

  • Problem with PDF 1.3-Export: Photoshop-Files with transparency over InDesign colored objects

    Hello!
    I'm using InDesign CS6.
    I'v finished now a layout for a folder, and I put a photoshop-image with transparency over a InDesign-rectangle which I have filled with a cmyk-color in yellow.
    When I export a PDF with the Settings "PDF X-3:2002" (with PDF-Standard 1.3) the Photoshop-image shows uggley jagged edges at the border to the InDesign-colored background. However, the Photoshop-images which are over another bitmap-image (as background), this images don't show this annoying edges.
    When I export to PDF-Standard 1.4 the problem doesn't occor, however my printing-service requests PDF 1.3.
    I know, the workaround for this problem is, to replace the yellow background-color with an bitmap-file with the same color, but is there any other option to get a correct result without this more time-consuming image trick?
    I think it has to do with the transparency reduction which is necessary if using PDF 1.3. When I examine the PDF-File in Illustrator, this edges occurs mostly at the borders from the tiles in which the image is cut during the transparency reduction process. Although, if I open the rendered PDF in Photoshop this jagged edeges are visible, so it is definitly a render error.
    I would be glad if someone of you has a solution for this problem, in the attachment is an image which illustrate the problem.
    Best wishes

    Find another printer.
    End of problem. It really saddens me to think that these Luddites are
    still in business making no effort to move into the 21st century.
    Bob

  • Acrobat 9 pro and problems with pdf made by photoshop cs4

    Hello,
    I have encountered a problem when viewing pdfs exported from photoshop cs4 using acrobat pro 9. If I open single pdf, it's ok, but whenever I open another pdf, all text is jagged. Then if I close all pdfs and try opening the second one, it's ok again. It looks like acrobat is not able to render texts correctly in newly opened pdf when another pdf is already opened.
    This happens only with pdfs exported from photoshop (file->save as->pdf). It does not really matter if the first opened pdf is from photoshop or not, all other opened pdfs from photoshop are crapy.
    I tried different settings when saving pdf but the results are always the same - jagged type (it does not even look like aliased, it's completely screwed and unreadable) in second pdf. It is funny because text present as smart object from illustrator renders fine all the time. Therefor I think the problem is between photoshop export and acrobat, vectors are rendered with no problems.
    I tried opening on different pc (also with acrobat 9 pro) with the same result. Systems are vista on exporting pc, the second pc is running windows7 beta. However on the third pc with windows XP and adobe reader 9 everything works fine.
    Any ideas how to make this work?
    regards,
    embee

    Solution found for me. From Adobe Acrobat & Reader 9.1 Release Notes:
    Roaming Profiles on Windows and Networked Home Directory on Macintosh
    are not supported configurations for 9.0 or 9.1, however we have made
    several fixes in 9.1. We are looking at the possibility of supporting
    this for the next major release.
    As I am working with roaming profiles, my current solution (which is no solution at all) is to wipe current and reinstall Acrobat/Reader 8. Among other things there are supposed console hacks to make the purchased Adobe software run at all in a group work environment. I will end up trying them later.
    Some good reads are :
    http://forums.adobe.com/thread/300660
    http://forums.macrumors.com/showthread.php?t=198512
    http://forums.adobe.com/thread/391738?start=150&tstart=0
    http://serverfault.com/questions/37805/adobe-reader-wont-launch-when-logged-into-network-u ser-accounts-open-directory

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

  • Problem with PDF extract in a report

    Hi guys,
    We are facing a peculiar problem with PDF extract in a report. When we run a report and export PDF , all the records in the result set are populated in the PDF. however, if I navigate away from the report and return back to the same report, and click on export pdf (with the result set already populated) i get a blank PDF document without any records. If i run the report again and then export the PDF it works fine.
    Export excel works fine for all cases.
    I am assuming it has got something to do with the way the system handles the cache for PDF export.
    I also found that this occurs only when we have a value list filter with "none" set as default,and in this case, initially on opening  the report for the first time the query does not get executed automatically.
    Any help on this would be highly appreciated.
    Thanks and Regards,
    immanuel

    Hi Immanuel,
    Have you tried clearing the cache? My guess is, it is probably a defect.
    Regards,
    Vikram

  • Fonts Not Embedding Consistently with PDF Export - Inconsistent Fix and Unknown Cause

    I have had ongoing problems with PDF export from FrameMaker. Sometimes the correct fonts do not embed in the PDF and Times New Roman is substituted. The problem appears and disappears and is causing me a lot of lost time and frustration.
    I am running FrameMaker 9.0 fully patched on Windows 7 Ultimate 64-bit. I have seen people complain about this issue and am familiar with the suggested fixes. However, the exact cause and solution eludes me because the problem continues to recur and I am only able to recover with guesswork and workarounds.
    Initially I did the following:
    ACROBAT PDF SETTINGS
    - In the printer properties for Adobe PDF settings I turned off the option "Rely on system fonts only; do not use documents fonts."
    ACROBAT DISTILLER SETTING
    Under "Font" Settings I changed the following:
    - Under "Settings/Font Locations" I added the font folder for Technical Communication Suite 2.0 and made sure all the fonts existed there and in the Windows default font directory.
    - Under "Settings/Edit Adobe PDF Setting/Fonts" I changed the following options:
                - Selected "Embed all fonts"
                - Under "Embedding" chose "Always Embed" for the target fonts.
    I tweaked these settings for hours and got no results. Then I rebooted and the problem had magically disappeared. I fixed the issue in the same way on another machine and the results were permanent and I was just happy to finally have it fixed, But this time it didn't last.
    I should note that upon reboot, when I used the stock "PDF Job Options," the correct fonts still embedded, leading me to believe that the fix had nothing to do with the changes I made to Distiller settings.
    After reboot I generated PDFs with the correct fonts embedded. Then I shut down FM, but left the system running. The next morning I opened FM again and the same problem occurred.
    So I rebooted again -- and the problem disappeared again. I therefore thought maybe the issue fixes on reboot but recurs when you shut down FM and reopen. So I shut down FM again and reopened, but it is still working fine for the moment.
    I verified that the Adobe PDF settings under "Printers & Devices" that I turned off (Rely on system fonts only; do not use documents fonts) remained correctly unchecked through all these changes.
    I would really like to know why this happens so I can resolve it permanently and avoid more lost time.
    Thanks in advance,
    Douglas

    The common theme I'm seeing here is that the setting edits you make in
    Distiller through the FM "Save As PDF" option don't seem to take effect.
    Do you know if that is true or could you elaborate on the notorious nature
    of this method for me?
    >
    There are too many potential and transient problems to list. The only thing
    I can say is that I've been an active member of the FrameUsers listserv
    (http://lists.frameusers.com/mailman/listinfo/framers) since FM version 6.0,
    circa 2001, and probably 95% of the PDF problems reported there have been
    fixed simply by using print to Adobe PDF (or to Acrobat Distiller in older
    PDF versions), instead of using Save as PDF. Common advice there has always
    been to avoid Save as PDF and even some Adobe employees have recommended
    against using it. It doesn't matter which FM version.
    The once-busy FrameUsers listserve has been fading away, recently, as this
    new Adobe forum software allows reading via e-mail, and attachment of
    screenshots.  Even if you look around on this forum now, you'll probably
    find that there are two main fixes for issues with PDF. One is NOT using
    Save as PDF, which seems to fix a whole bunch of issues. The other is the
    use of a Windows hotfix to squash a Windows OS bug that causes dropped
    characters in PDFs.
    In the rare instances that someone has issues with printing to PDF, they are
    almost always related to errors in settings. Or occasionally someone can't
    embed fonts because they are trying to the embed the virtual fonts that come
    with their printer driver instead of fonts that have actually been installed
    on their computer. (The fonts are hard-wired on their printer, so the system
    can use them but not embed them.)

  • Trouble with PDF Export from ID CS6

    I am having the following problem with PDF exported from an ID CS6 document. I have a couple of pages where a b&w photograph is partly covered by a non-wrapping text frame and in that text frame there is blue text. In ID it looks like this:
    It also looks like this in the exported PDF in Apple Preview.app and for most of these pages they also look good in Acrobat Pro. But two are giving me trouble. They look like this:
    and sadly, they also look that way when Ingram tries to use them. I export using the typical print format PDF/X-1a:2001
    I have a minimal ID document that shows the problem with 3 such pages, one with the problem.

    Select one of the troublesome objects and open the attributes panel as well as the effects panel.
    Give us a screenshot.

  • A big problem of Generate report with PDF format....Urgent

    I want to generate a report with pdf format through one java file, it have two page 1)gen_report.jsp 2) report_gen.java , the compliation was failed. However, i don't what the problem is .... i hope anyone can help me as it is very argent for me ....Thanks a lot
    1)gen_report.jsp
    <table  id="AutoNumber1">
       <tr>
         <td background="images/top5movie.png">
         <p align="center"> </p>
        </td>
       </tr>
       <tr>
       <td >
          <div align="center">
            <table id="AutoNumber2" >
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr1(this)">
                    <tr>
                      <td ><b>Report Description:</b></td>
                      <td >This report is to show the top five popular movies in cinemix for a period </td>
                    </tr>
                    <tr>
                      <td><b>Data scope:</b></td>
                      <td >Start from
                      <input type="text" name="start" value="2003-1-1" >to
                      <input type="text" name="end" value="2006-1-1" ></td>
                     </tr>
                     <tr>
                      <td><b>Data processing:</b></td>
                      <td >Show
                        <select name="order_by">
                          <option value="desc" selected>top</option>
                          <option value="asc">bottom</option>
                        </select>
                      5 films</td>
                    </tr>
                    <tr>
                      <td> <p align="center">
                          <input type="submit" value="View_Report" name="subm">
                        </p></td>
                    </tr>
                    <input type="hidden" name="report" value="r1">
                  </form>
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr2(this)">
                    <input type="hidden" name="report" value="r2">
                  </form>
                </table>
         </div>
          </td>
        </tr>
      </table>Then my java code is here
    report_gen.java
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    // chart and pdf out
    import java.awt.Graphics2D;
    import java.awt.geom.Rectangle2D;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.JFreeChart;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.data.category.DefaultCategoryDataset;
    import org.jfree.data.xy.*;
    import org.jfree.data.xy.XYBarDataset;
    import org.jfree.data.general.DefaultPieDataset;
    import org.jfree.data.statistics.SimpleHistogramDataset;
    import org.jfree.data.xy.XYSeries;
    import org.jfree.data.xy.XYSeriesCollection;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.Rectangle;
    import com.lowagie.text.pdf.DefaultFontMapper;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfTemplate;
    import com.lowagie.text.pdf.PdfWriter;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.pdf.PdfPCell;
    public class report_gen extends HttpServlet
       private final String titles[] = {"Top Five popular movies ",
                        "Financial cirumstance of cinemas",
                        "Distribution of time segment",
                        "Distribution of favourite movie type"
       private final String descs[] = {"This report is to show the top five  popular movies in cinemix for a period ",
                   "This report is to show the financial circumstance of each cinema site ",
                   "This report is to analysis the customer when is the most visit time ",
                   "This report is to analysis the customer which type of movie do they watch the most"
        private final String bigTitle = "Cinemix";
        private final String driver = "org.gjt.mm.mysql.Driver";
        private final String url= "jdbc:mysql://localhost:3306/cinemix";
        private final String userID = "abc";
        private final String passwd = "abc";     
        public void init(ServletConfig config) throws ServletException
          super.init(config);
       protected void doGet(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException
          final int width = 550;
         final int height = 200;
    / title font (centre and report title)
         final Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
         final Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.BOLD);
              // centre name:
        final String title0 = bigTitle;
       // Default category for DefaultCategoryDataset
       final String cat = "data";
       Connection conn;
      JFreeChart chart;
       String title1     = "xyz Report";
       String chartDesc = "description";
       String notes[] = new String[4];
       String chartTitle = "so bad this is title";
       String chartXTitle = "this is x";
       String chartYTitle = "this is y.";
       String report = request.getParameter("report");     
       int max=-10000;
       int min=10000;
       int j=0;          
      // do some basic checking
       if (report == null || report.equals(""))
         report = "-1";  // this course unknow report error message
         String start   = request.getParameter("start");
         String end  = request.getParameter("end");
         String order_by  = request.getParameter("order_by");  // ToDo: check invalid string
           int topN  = 5;
        String order = (order_by.equals("desc")) ? "Top" : "Last";
       String inv[] = {"08:30", "09:30", "10:30", "11:30", "12:30", "11:30", "12:30", "13:30", "14:30", "15:30", "16:30", "17:30","18:30","19:30","20:30","21:30","22:30","23:30"};
         int inv_val[] = new int[inv.length - 1];
         try
            Class.forName(driver).newInstance();
             catch(Exception e)
            printE("Cannot load mysql database driver!", response);
              e.printStackTrace();
               return;
           try
                 conn = DriverManager.getConnection(url, userID, passwd);
                  if (report.equals("r1")) {  // report 1
               DefaultCategoryDataset dataset = new DefaultCategoryDataset();
              Statement stmt = conn.createStatement();
              String sql = "select *,count(f.Name),f.Name from film f, filmDetail fd, ticket t where f.startDate > '" + start + "' and f.endDate <  '" + end + "'and fd.filmID = f.filmID and fd.filmDetailID = t.filmDetailID group by f.name order by fd.filmDetailID asc limit '" +topN+"'";
              ResultSet rs = stmt.executeQuery(sql);
            while (rs.next())
           if (rs.getInt("fd.filmDetailID") > max) max = rs.getInt("fd.filmDetailID");
         if (rs.getInt("fd.filmDetailID") < min) min = rs.getInt("fd.filmDetailID");
          j++;
           ataset.setValue(rs.getInt("fd.filmDetailID"), cat,rs.getString("f.Name"));
           title1     = titles[0];
         chartDesc  = descs[0];
         chartTitle = order + " " + topN + " popular movie";
          chartYTitle = "Box Office record";
          chartXTitle = "Film Name";
          gender = " ";
          chart = ChartFactory.createBarChart(chartTitle, chartXTitle,   chartYTitle, dataset,PlotOrientation.VERTICAL, false, true, false);
        else
              print("Error: I don't inderstand your request!", response);
         return;
           catch (SQLException e)
         printE("Cannot open database connection? <br>", response);
         // printE(e.toString);
      e.printStackTrace();
      return;
         response.setContentType("application/pdf");
         Document document = new Document(PageSize.A4, 5, 5, 5, 5);
        try
             PdfWriter writer;
         writer = PdfWriter.getInstance(document, response.getOutputStream());
        HeaderFooter footer = new HeaderFooter(new Phrase("Page: "), true);
         footer.setBorder(Rectangle.NO_BORDER);
    document.setFooter(footer);
                   footer.setAlignment(Element.ALIGN_CENTER);
                   // step 3
                   document.open();
                   document.add(getHeader(title0, title1, start, end, gender, order, topN, chartDesc));
                   document.add(printChart(chart, writer));
                   document.add(getFooter(notes));
              catch(DocumentException de)
                   de.printStackTrace();
              // step 5
              document.close();
              return;
         }// end doGet()
         /** Handles the HTTP <code>POST</code> method.
          * @param request servlet request
          * @param response servlet response
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
              // processRequest(request, response);
         /** Returns a short description of the servlet.
         public String getServletInfo()
              return "Generate reports for " + bigTitle;
         /* To print en error and exit(?) */
         private void printE(Object obj, HttpServletResponse response) throws IOException
              response.setContentType("text/html");
              PrintWriter out;
              out = response.getWriter();
              out.print(obj.toString());
              out.close();
              // To-Do: how to force exiting?
         // create data chart
         private PdfPTable getHeader(String title0, String title1, String start, String end, String sex, String order, int topN, String desc)
              Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
              Font fTitle1 = FontFactory.getFont("Helvetica", 24, Font.BOLD);
              Font fTitle3 = FontFactory.getFont("Helvetica", 12, Font.BOLD);
              Font fValue = FontFactory.getFont("Helvetica", 12, Font.UNDERLINE);
              Paragraph parStartEnd = new Paragraph();
              parStartEnd.add(new Phrase("Data start from:                  ", fTitle3));
              parStartEnd.add(new Phrase(start, fValue));
              parStartEnd.add(new Phrase("     to     ", fTitle3));
              parStartEnd.add(new Phrase(end, fValue));
              Paragraph parGenerateDate = new Paragraph();
              parGenerateDate.add(new Phrase("Report generated at:         ", fTitle3));
              parGenerateDate.add(new Phrase(new java.util.Date().toString(), fValue));
              Paragraph parGender = new Paragraph();
              parGender.add(new Phrase("Current show gender:       ", fTitle3));
              parGender.add(new Phrase(sex, fValue));
              Paragraph parTopN = new Paragraph();
              parTopN.add(new Phrase("Now is showing                 ", fTitle3));
              parTopN.add(new Phrase(order, fValue));
              parTopN.add(new Phrase("  ", fValue));
              parTopN.add(new Phrase(new Integer(topN).toString(), fValue));
              parTopN.add(new Phrase("   record(s)", fTitle3));
              // Start main table
              PdfPTable tblMain = new PdfPTable(1);
              tblMain.getDefaultCell().setBorder(0);
              // Print title
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
              tblMain.addCell(new Paragraph(title0, fTitle0));
              tblMain.addCell(new Paragraph(title1, fTitle1));
              tblMain.addCell("");
              tblMain.addCell("");
              tblMain.addCell("");
              // Print headers data
              //tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_RIGHT);
              //tblMain.addCell(parInvoiceNum);
              //tblMain.addCell("");
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
              tblMain.addCell(parStartEnd);
              tblMain.addCell("");
              tblMain.addCell(parGenerateDate);
              tblMain.addCell("");
              if (sex != " ")
                   tblMain.addCell(parGender);
              else if(order != null && topN > 0)
                   tblMain.addCell(parTopN);
              else
                   tblMain.addCell(" \n");
              tblMain.addCell("");
              tblMain.setWidthPercentage(96);
              tblMain.addCell(new Paragraph("Description of this report:", fTitle3));
              tblMain.addCell(desc);
              tblMain.addCell("\n");
              // Finish main table
              return tblMain;
         // print a chart _directly_ to pdf and return a empty Pdftable...
         public PdfPTable printChart(JFreeChart chart, PdfWriter writer)
              PdfContentByte cb = writer.getDirectContent();
              int width = 550;
              int height = 450;
              PdfTemplate tp = cb.createTemplate(width, height);
              Graphics2D g2d = tp.createGraphics(width, height, new DefaultFontMapper());
              Rectangle2D r2d = new Rectangle2D.Double(0, 0, width, height); //->,
              chart.draw(g2d, r2d);
              g2d.dispose();
              cb.addTemplate(tp, 20, 170);
              // quick method to push down the footer text
              // the only things this method return
              PdfPTable tblDownDown = new PdfPTable(1);
              tblDownDown.getDefaultCell().setBorder(0);
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n");
              return tblDownDown;
         public PdfPTable getFooter(String notes[])
              Font fNote = FontFactory.getFont("Helvetica", 14, Font.UNDERLINE);
              Font fComment = FontFactory.getFont("Helvetica", 12, Font.ITALIC);
              Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.ITALIC);
              // Start footer table
              PdfPTable tblFooter = new PdfPTable(1);
              tblFooter.getDefaultCell().setBorder(0);
              if (notes != null)
                   tblFooter.addCell(new Paragraph("Notes:", fNote));
                   tblFooter.addCell("");
                   tblFooter.addCell("");
                   tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
                   for (int i=0;i<notes.length;i++)
                        if (notes[i] != null)
                             tblFooter.addCell(new Paragraph("" + (i+1) + ". " + notes[i] + "", fComment));
                             tblFooter.addCell("");
                             tblFooter.addCell("");
                        tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
                        tblFooter.addCell(new Paragraph("- End of report -", fComment));
                        return tblFooter;
    }

    Go to the cache directory and see if you can open the report directly from here (not in IE).
    I have seen posts on problems with Acrobat Reader Plugin for IE (I believe it was version 6 of Reader).

  • Problem with PDF Actions in SAP MII 12.2

    hi all,
    I'm trying to generate PDF documentation work in 12.2 version of MII. Below are the steps followed as per note 1325997
    I've downloaded the PDF Actions files:
    Downloaded the iText.jar and iTextAsian.jar files.
    Custom action updated with PDFActions.jar as the assembly .jar file, and iText.jar and iTextAsian.jar as the dependency .jar files and Deployed the custom action.
    Workbench does show up with PDF action blocks like PDF Document, PDF Table...etc but seems to be an issue as these do not look like the standard actions with no icons attached to them.
    I've tried to create a new transaction and include any actions to the sequence, but no luck as it doesn't assigns the PDF action
    i've downloaded iText.Jar and iTeaxtAsian.jar files from iTEXT website. please inform if exact version i-e 1.4.5 files
    are available on SAP downloads (if any).
    Is anything missing..?
    Appreciate any efforts.....
    Regards,
    Zaigham

    Hi Zaigham,
    Follow the steps as mentioned below.
    1. Download PDFActions.jar as per SAP Note 1109054.
    2. Download iText 1.4.5 from http://www.java2s.com/Code/Jar/i/Downloaditext145jar.htm
    3. Download iTextAsian (Latest Version) from http://sourceforge.net/projects/itext/files/
        extrajars --> extrajars 2.0.zip
        After you unzip the files take only itext-asian.jar
    4. Rename itext-1.4.5.jar to iText.jar
    5. Rename itext-asian.jar to iTextAsian.jar
    6. Zip all the three files (PDFActions.jar, iText.jar and iTextAsian.jar) to one zip file and name it PDFActions.zip
    Final Step --> upload and deploy the zip file PDFActions.zip in MII custom Actions.
    Hope it solves your problem.
    Regards,
    Firoz.

  • Problem with PDF files

    Hello Experts,
    I am having trouble with PDF files corrupting the folder in
    which they are contained. If this sounds familiar, and you might be
    able to help, please see if the following steps give you an idea of
    the problem and the fix.
    I want to link to PDF files from a web page. The copy,
    consisting of several files, was provided by my client as Word
    documents, and converted to PDF by me from within Microsoft Word.
    I copied the PDF files into their own folder in my site, and
    found later, after leaving, then reopening Dreamweaver, that the
    folder was corrupted and unreadable. I got a message to run chkdsk.
    I tried working around the folder by repeating the process
    above in a new file, with the intention of ignoring the corrupted
    one. The second folder also became corrupted.
    I don't know if chkdsk is a Dreamweaver utility, or a Windows
    utility, or if this is a Windows, Acrobat or Dreamweaver problem.
    Does anyone know how to run chkdsk?
    Does this sound familiar to anyone? Any ideas?
    Thanks so much in advance for the urgently needed support.
    Richard

    chkdsk used to be a DOS utility, now Windows. Depending on
    the OS you have
    and whether it's Mac or PC, you can run it several ways.
    If XP > Start > Help and Support, type chkdsk in the
    search
    Other OSs, search for chkdsk.
    Jo
    "RTalbott" <[email protected]> wrote in
    message
    news:e91rg5$hkj$[email protected]..
    > Hello Experts,
    >
    > I am having trouble with PDF files corrupting the folder
    in which they are
    > contained. If this sounds familiar, and you might be
    able to help, please
    > see
    > if the following steps give you an idea of the problem
    and the fix.
    >
    >
    > I want to link to PDF files from a web page. The copy,
    consisting of
    > several
    > files, was provided by my client as Word documents, and
    converted to PDF
    > by me
    > from within Microsoft Word.
    >
    > I copied the PDF files into their own folder in my site,
    and found later,
    > after leaving, then reopening Dreamweaver, that the
    folder was corrupted
    > and
    > unreadable. I got a message to run chkdsk.
    >
    > I tried working around the folder by repeating the
    process above in a new
    > file, with the intention of ignoring the corrupted one.
    The second folder
    > also
    > became corrupted.
    >
    > I don't know if chkdsk is a Dreamweaver utility, or a
    Windows utility, or
    > if
    > this is a Windows, Acrobat or Dreamweaver problem. Does
    anyone know how
    > to run
    > chkdsk?
    >
    > Does this sound familiar to anyone? Any ideas?
    >
    > Thanks so much in advance for the urgently needed
    support.
    >
    > Richard
    >

  • Problem in sending mail with PDF attachment

    Hi all,
    Kindly check this code..
    I neeed to send the smartform as a PDF attachment..
    PDF generated form of smartform is generated successfully..
    <b>but PDF  going as attachment is showing errors in opening</b> .
    Please help me to solve this issue as soon as possible
          DESCRIBE TABLE objtxt LINES tab_lines.
          READ TABLE objtxt INDEX tab_lines.
          doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
         doc_chng-doc_size = tab_lines * 255.
    Creation of the entry for the compressed document
          CLEAR objpack-transf_bin.
          objpack-head_start = 1.
          objpack-head_num = 0.
          objpack-body_start = 1.
          objpack-body_num = tab_lines.
          objpack-doc_type = 'RAW'.
          APPEND objpack.
    Creation of the document attachment
          DESCRIBE TABLE objbin LINES tab_lines.
    Creation of the entry for the compressed document
          CLEAR objpack-transf_bin.
          objpack-transf_bin = 'X'.
          objpack-head_start = 1.
          objpack-head_num = 0.
          objpack-body_start = 1.
          READ TABLE objbin INDEX tab_lines.
          objpack-doc_size =  tab_lines * 255 .
          objpack-body_num = tab_lines.
          objpack-doc_type = 'PDF'.
          objpack-obj_name = 'SMART'.
          objpack-obj_descr = 'test'.
          APPEND objpack.
    Completing the recipient list
    target recipent
          CLEAR reclist.
          reclist-receiver = '[email protected]'.
          reclist-express  = 'X'.
          reclist-rec_type = 'U'.
          APPEND reclist.
    Sending the document
          CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
            EXPORTING
              document_data              = doc_chng
              put_in_outbox              = 'X'
            TABLES
              packing_list               = objpack
              object_header              = objhead
              contents_bin               = objbin
              contents_txt               = objtxt
              receivers                  = reclist
            EXCEPTIONS
              too_many_receivers         = 1
              document_not_sent          = 2
              document_type_not_exist    = 3
              operation_no_authorization = 4
              parameter_error            = 5
              x_error                    = 6
              enqueue_error              = 7
              OTHERS                     = 99.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Regards,
    ajith

    Hello Ajith,
    Use this Code.
    Internal Table declarations
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
    i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    wa_objhead TYPE soli_tab,
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    wa_doc_chng typE sodocchgi1,
    w_data TYPE sodocchgi1,
    wa_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i,
    v_lines_txt TYPE i,
    v_lines_bin TYPE i.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZZZ_TEST1'
    importing
    fm_name = v_form_name
    exceptions
    no_form = 1
    no_function_module = 2
    others = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    IMPORTING
    job_output_info = w_return
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    i_otf[] = w_return-otfdata[].
    call function 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = v_len_in
    TABLES
    otf = i_otf
    lines = i_tline
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    others = 4.
    Fehlerhandling
    if sy-subrc <> 0.
    endif.
    loop at i_tline.
    translate i_tline using '~'.
    concatenate wa_buffer i_tline into wa_buffer.
    endloop.
    translate wa_buffer using '~'.
    do.
    i_record = wa_buffer.
    append i_record.
    shift wa_buffer left by 255 places.
    if wa_buffer is initial.
    exit.
    endif.
    enddo.
    Attachment
    refresh:
    i_reclist,
    i_objtxt,
    i_objbin,
    i_objpack.
    clear wa_objhead.
    i_objbin[] = i_record[].
    Create Message Body
    Title and Description
    i_objtxt = 'test with pdf-Attachment!'.
    append i_objtxt.
    describe table i_objtxt lines v_lines_txt.
    read table i_objtxt index v_lines_txt.
    wa_doc_chng-obj_name = 'smartform'.
    wa_doc_chng-expiry_dat = sy-datum + 10.
    wa_doc_chng-obj_descr = 'smartform'.
    wa_doc_chng-sensitivty = 'F'.
    wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt )
    clear i_objpack-transf_bin.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_txt.
    i_objpack-doc_type = 'RAW'.
    append i_objpack.
    Attachment
    (pdf-Attachment)
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    Länge des Attachment ermitteln
    describe table i_objbin lines v_lines_bin.
    read table i_objbin index v_lines_bin.
    i_objpack-doc_size = v_lines_bin * 255 .
    i_objpack-body_num = v_lines_bin.
    i_objpack-doc_type = 'PDF'.
    i_objpack-obj_name = 'smart'.
    i_objpack-obj_descr = 'test'.
    append i_objpack.
    clear i_reclist.
    i_reclist-receiver = '[email protected]'.
    i_reclist-rec_type = 'U'.
    append i_reclist.
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = wa_doc_chng
    put_in_outbox = 'X'
    TABLES
    packing_list = i_objpack
    object_header = wa_objhead
    CONTENTS_BIN = i_objbin
    contents_txt = i_objtxt
    receivers = i_reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    others = 8.
    if helped reward points
    Vasanth

  • Problem for Mail with PDF attachment

    Hello all,
    I have a problem regarding sending mail with a PDF attachment from SAP. The attachment contains Payslip of employee that is being generated from a Submit program of the respective HRFORM. I have used the Submit program within a JOB and the spool request generated. From the spool request i am extracting the pages using FM RSPO_GET_PAGES_SPOOLJOB.
    Now to convert the spool job to PDF am using FM CONVERT_OTFSPOOLJOB_2_PDF.  And after the job is being finished, am deleting both the JOB and SPOOL.
    To change the output of the FM CONVERT_OTFSPOOLJOB_2_PDF, into attachment with line width of 255 am using FM SX_TABLE_LINE_WIDTH_CHANGE. Then after filling all the required parameters for FM SO_DOCUMENT_SEND_API1, am sending the mail with the attachment. I have kept the format as PDF.
    But the problem here is, the attachment is going as .DAT file and not as .PDF file!!!
    Please help to resolve this issue.
    with regards,
    Koushik.

    Hello,
    Instead of using SO* APIs to send mail you should use the BCS classes. Anyway there is a sample program BCS_EXAMPLE_8 which is very similar to your requirement
    Cheers,
    Suhas
    PS: The sample program BCS_EXAMPLE_6 has got more to do with PDF forms as is your case

  • Problem when trying to send a mail with pdf file attached

    When I use this features from Adobe reader, a new mail is opened with pdf file but my Outlook signature is not set automatically. Note that all is right configure in Outlook 2007 for the signature option...
    Do you have a solution for this problem ?

    someone else reported this (unless it was you) You'll have to insert your sig manually.

  • Problem with PDF attachments on Leopard's mail.

    I just found a bug or something in Leoprd's mail . When I try to send a mail with PDF attachments, mail just stuck, nothing happen. The fan start to spin and mail grab all of the processors power nearly 100 %. What's weird, there aren't problem with sending other attachment like JPG for example. I tested it on all of my accounts and on all of them, situation is exactly the same.

    The same problem here! Mail.app is behaving weirdly, but eventually it stopped sending e-mail with some filetypes attachments (.doc, .xls, .pdf not working, .jpg working), app just freezes - impossible to quit! HEEEELP!!!

  • Report with PDF format in IExplorer problem

    report with PDF format in IExplorer problem
    Hi,
    when i make the desformat=PDF it gave me error
    "file does not start with '%PDF' " in the IExplorer despite i have updated version of Acrobat reader and IE.
    I'm using this URL:
    http://bss9i.stc.com.sa:7779/reports/rwservlet?destype=SCREEN&desformat=PDF&report=CR1.rdf&userid=webcr/webcr1@cr&p_cr='AP/63'.
    Any suggestion is greatly appreciated.
    Thanks.
    Kamal Khafagy

    Shouldn't destype be CACHE?

  • Printing Problems with PDF - Adobe Acrobat

    Printer - HP Deskjet 3070A
    Laptop - Asus Zenbook running Windows 7 Home Premium
    Issue: Printing problems with PDF (Adobe Acrobat Reader)
    Dear All,
    Please help!
    My printer was working absolutely perfectly until my brother in law recently needed to borrow my printer. He plugged in his laptop running Windows 8 (awful thing that is). Since he did this to print his own PDF, I cannot print mine.
    Although all the text will appear on the page perfectly both in the document view and on actual printing, it appears that some of the transparent formatting stuff on a PDF - such as boxes you have to fill in and transparent areas (such as you find on glorious tax forms) are omitted completely. In fact, in their place I was getting a single black dot. Now, after uninstalling and re-installing updates for the printer, windows 7, adobe acrobat reader, etc.etc. I get squat. Just all the text laid out but none of the shading or boxes.
    I have tried fiddling with the printer settings; the  print as 'photo' option, dpi settings, greyscale - as much as I can think of and I am thoroughly stumped.
    In a desperate attempt, I even installed the Universal Printer Drivers - thinking it might have been that. No. All I got was a page of gobbledygook. Consequently, I uninstalled and reinstalled the normal drivers again.
    If there are any wonderful people out there with any fabulous ideas about how I can get my shading and boxes back; I'd  very much appreciate it. Sadly I have a tax return to fill out (which is already fabulously late) and need my printer to work!
    Much appreciation in advance x

    Hey there @Reverie!
    Thanks for posting on the HP Forums!
    I can see that the printer is no longer printing in the correct format after it was plugged into the Windows 8 computer!  You mentioned you have run the updates and uninstalled/re-installed the printer software.  Have you uninstalled and re-installed the Adobe software? Are you getting the same issue from other programs as well? Are you getting the same issues if you are logged in as a different user on the computer? 
    I have located the HP Update Software Utility that may be able to help.  You can download an run the utility.  It may be able to locate any other updates for the printer.
    I would also recommend running a disk cleanup on the computer to clear any temporary files and junk files that may be causing some performance or software issues. If you do not know how to run a disk cleanup on the computer please follow this document regarding Delete files using Disk Cleanup.  It is recommended to restart the computer after a disk cleanup. After the restart try the print job again!
    Let me know if that helped and thanks again for posting on the HP Forums!
    Cbert
    I work on behalf of HP.
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" at the bottom of this post to say “Thanks” for helping!

Maybe you are looking for

  • List of Blocked BP Code

    How can I run a query in the system that shows me a list of BP which BP Code is blocked/disable ( in other words a list of BP that I'm not allowed to change the BP Code )

  • Does anyone have any installation information of KNOA EPM suite

    Hi folks, Does any one know about KNOA EPM suite. How it is integragted with sap and the minimum requirement for this. regards, Dhiraj

  • HTTP 403 - Forbidden.

    Hi Experts, Iam new to Web dynpro abap and doing one simple web dynpro application where i have created one view which is linked to table element on layout and having a data from table sflight. I have completed all the steps but its not showing the l

  • Where do I download Adobe Flash for IMac?

    Hello there folks. New IMac today.  Where should I download Adobe Flash/Reader from?  Does Apple have an approved third party software download site?  Do I just install from Adobe.com? Thanks, Theresa

  • Safari locks when opening PDF

    Need some help. Been looking for updates for Safari for windows no luck so far.. Now need the help of experts... Safari locks when opening a page that opens a PDF file. Is some-one able to help with info? I know I'm bad windows....