Converting multiple bmp files to PDF using acrobat 7.0 from DOS prompt

Hi,
I have a requirement to convert multiple BMP files in a folder to one PDF.
I can use multiple file conversion option in acrobat to combine and convert them to one PDF .. but I have 2000 such folder to conver to PDF.
PDF should be name after the folder name.
Is there a to automate this in acrobat.. or can we run this conversion from DOS prompt using commands.. so that I can create a bat file and have them converted. Pls let me know.
Thanks
Pugazh

I have not tried BMP files, but do JPeg, GIF, TIFF, and PNG files regularly. I simply open Acrobat, then select the graphics files in explorer and drag & drop to Acrobat. I then organize the graphics if needed (using the pages tab) and save to a PDF.

Similar Messages

  • Setting Font for converting multiple text files into PDF using VB 6.0

    Dear All,
    Am converting multiple text files into PDF using VB6.0. Currently, am unable to control the font face and size for the generated files. Below is the procedure am using for each file;
    Public Sub proc_convert_to_PDF(srcFilename As String, destFilename As String)
    Dim p_AcroApp As CAcroApp
    Dim p_VDoc As CAcroAVDoc
    Dim p_DDoc As CAcroPDDoc
    Dim IsOk As Boolean
    Set p_AcroApp = CreateObject("AcroExch.App")
    Set p_VDoc = CreateObject("AcroExch.AVDoc")
    Call p_VDoc.Open(srcFilename, "")
    Set p_VDoc = p_AcroApp.GetActiveDoc
    If p_VDoc.IsValid Then
    Set p_DDoc = p_VDoc.GetPDDoc
    ' Fill in pdf properties.
    p_DDoc.SetInfo "Title", Format(Date, "dd-mm-yyy")
    p_DDoc.SetInfo "Subject", srcFilename
    If p_DDoc.Save(1 Or 4 Or 32, destFilename) <> True Then
    MsgBox "Failed to save " & srcFilename
    End If
    p_DDoc.Close
    End If
    'Close the PDF
    p_VDoc.Close True
    p_AcroApp.Exit
    'Clear Variables
    Set p_DDoc = Nothing
    Set p_VDoc = Nothing
    Set p_AcroApp = Nothing
    End Sub
    What I need;
    1) to be able to set the font face of the destination file ( destFilename)
    2) to be able to set the font size of the destination file ( destFilename)
    Am using Adobe Acrobat 7.0 Type Library
    Kindly Help.
    Thanks in advance

    We didn't say it doesn't work. We said it isn't supported.
    There are a number of other ways to make a PDF. The one which would
    give the most control is if your application directly printed to GDI,
    controlling the font directly. This could print to Adobe PDF.
    You could look for an application that gives control of font for
    printing.
    You could use a text-to-PostScript system and distill the result. You
    could even look for a non-Adobe text-to-PDF.
    Working in the unsupported and dangerous world you chose, the font
    size for text conversion is set (and this is very bad design from
    Adobe) in the settings for Create PDF > From Web Page. There is no API
    to this.
    Aandi Inston

  • To convert multiple image files to pdf using pdfsharp in C#

    Hey guys I have this C# code to convert any image file to .pdf using pdfsharp.dll. But I want to select multiple images for conversion please help. here's my code (plz note enable pdfsharp.dll in the reference)
    usingSystem;
    usingSystem.Collections.Generic;
    usingSystem.Linq;
    usingSystem.Text;
    usingSystem.Threading.Tasks;
    usingPdfSharp.Pdf;
    usingPdfSharp.Drawing;
    usingSystem.IO;
    namespaceConsoleApplication1
    classProgram
    staticvoidMain(string[]
    args)
    PdfDocumentdoc =
    newPdfDocument();
    doc.Pages.Add(newPdfPage());
    XGraphicsxgr =
    XGraphics.FromPdfPage(doc.Pages[0]);
    XImageimg =
    XImage.FromFile(source
    path...);
    xgr.DrawImage(img,0,0);
    doc.Save(destination path...);
    doc.Close();

    try this one
    public string CreatePDF(System.Collections.Generic.List<byte[]> images)
    dynamic PDFGeneratePath = Server.MapPath("../images/pdfimages/");
    dynamic FileName = "attachmentpdf-" + DateTime.Now.Ticks + ".pdf";
    if (images.Count >= 1) {
    Document document = new Document(PageSize.LETTER);
    try {
    // Create pdfimages directory in images folder.
    if ((!Directory.Exists(PDFGeneratePath))) {
    Directory.CreateDirectory(PDFGeneratePath);
    // we create a writer that listens to the document
    // and directs a PDF-stream to a file
    PdfWriter.GetInstance(document, new FileStream(PDFGeneratePath + FileName, FileMode.Create));
    // opens up the document
    document.Open();
    // Add metadata to the document. This information is visible when viewing the
    // Set images in table
    PdfPTable imageTable = new PdfPTable(2);
    imageTable.DefaultCell.Border = Rectangle.NO_BORDER;
    imageTable.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER;
    for (int ImageIndex = 0; ImageIndex <= images.Count - 1; ImageIndex++) {
    if ((images(ImageIndex) != null) && (images(ImageIndex).Length > 0)) {
    iTextSharp.text.Image pic = iTextSharp.text.Image.GetInstance(SRS.Utility.Utils.ByteArrayToImage(images(ImageIndex)), System.Drawing.Imaging.ImageFormat.Jpeg);
    // Setting image resolution
    if (pic.Height > pic.Width) {
    float percentage = 0f;
    percentage = 400 / pic.Height;
    pic.ScalePercent(percentage * 100);
    } else {
    float percentage = 0f;
    percentage = 240 / pic.Width;
    pic.ScalePercent(percentage * 100);
    pic.Border = iTextSharp.text.Rectangle.BOX;
    pic.BorderColor = iTextSharp.text.BaseColor.BLACK;
    pic.BorderWidth = 3f;
    imageTable.AddCell(pic);
    if (((ImageIndex + 1) % 6 == 0)) {
    document.Add(imageTable);
    document.NewPage();
    imageTable = new PdfPTable(2);
    imageTable.DefaultCell.Border = Rectangle.NO_BORDER;
    imageTable.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER;
    if ((ImageIndex == (images.Count - 1))) {
    imageTable.AddCell(string.Empty);
    document.Add(imageTable);
    document.NewPage();
    } catch (Exception ex) {
    throw ex;
    } finally {
    // Close the document object
    // Clean up
    document.Close();
    document = null;
    return PDFGeneratePath + FileName;

  • Converting Multiple .EPS files into .PDF

    Dear Forum:  We have tried converting multiple .eps files into PDF using article 325977. This article in Adobe help is really designed to convert .ai files into either .eps or.pdf, our situation is to convert multiple .eps files into PDF. Everytime we run the macro, it simply takes the eps file and saves it as another eps file and does not convert. We have a "Save As" step that we have in the macro that is set to "Save As" PDF, but it still does not work. What are we doing wrong?

    Hi mephisto11757,
    You can convert the following file types to PDF with the Adobe CreatePDF service:
    Adobe Creative Suite® file formats Examples include: .psd, .ai, .indd
    Microsoft Word (2000, XP, 2003, 2007, 2010, & 2011) .doc, .docx
    Microsoft Excel (2000, XP, 2003, 2007, 2010, & 2011) .xls, .xlsx
    Microsoft PowerPoint (2000, XP, 2003, 2007, 2010, & 2011) .ppt, .pptx
    Microsoft Publisher (2000, XP, 2003, 2007, 2010, & 2011) .pub
    Text Files .txt
    Rich Text Format .rtf
    Adobe PostScript .ps
    OpenOffice Format .odt
    Star Office .sxw, .sxi, .sxc, .sxd, .stw
    Corel WordPerfect .wpd
    Image file formats .gif, .png, .jpg, .bmp, .tiff
    Regards,
    Florence

  • When I print to PDF using Acrobat 11 Pro from any application the acrobat Reader does not launch automatically. Associations are correct. Thx for your help,  Bruce

    When I print to PDF using Acrobat 11 Pro from any application the acrobat Reader does not launch automatically. Associations are correct. Happens from Chrome, IE, Word, Excel, Powerpoint. Previously had deskPDF installed but uninstalled correctly. Can't find a preference setting for the auto launch. Thx for your help,  Bruce

    A simple way is to flatten the form fields, which converts the field appearances to regular page contents. You can do this with JavaScript or PDF Optimizer (Advanced > PDF Optimizer > Discard Objects > Flatten form fields). A very nice script that adds a custom menu item can be found here: http://www.uvsar.com/projects/acrobat/flattener/

  • Can't convert files to pdf using Acrobat 8 Standard or 9 Pro

    I am having a major problem. I have tried converting both Word 2003 and Excel 2003 documents to pdf using Acrobat 8 Standard (I can't recall which version because I uninstalled and installed a trial version of Acrobat 9 Pro) and Acrobat 9 Pro. I have tried to convert directly from the open document and through Acrobat using create from file. In every instance the process starts and then stops after a few moments. When I try the conversion from within Acrobat, I get the following error message: " Pdf conversion failed, please correct the error and retry." When I try the conversion directly from Word or Excel, the conversion starts, stiops suddenly and gives no error message.  I have had Acrobat 8 Standard installed for a couple of years. It worked fine on this computer until the problem started a week ago or so. There have been no software or hardware changes that woudl trigger suspicion.
    I've tried uninstalling and reinstalling the 8 Standard version. I have uninstalled the 8 Standard version and installed the 9 Pro trial version. I have run the repair module on both versions. I'm sure it is something simple but I just can't figure out what the "error" is that I need to "correct". Any suggestions?
    As an aside, I have several Adobe programs (Photoshop CS5, Contribute 3 and Acrobat), all of them expensive. Their business model of offering no unpaid support (even for this type of problem) is one reason I hate Adobe more than Microsoft... but I rant.

    When you uninstalled, you should have used the MS Installer Cleanup utility. It cleans up a lot of the junk left over in the registry. You should have also deleted the Acrobat folder. Then you would reinstall. You did not indicate your OS and it may be that you need to update the AA8 to get it to work correctly. Also, the installs and uninstalls can mess up your registration process if you are not careful. If you uninstall the AA9 trial, you will not be able to reinstall it for use. At this point, I can only suggest you do a repair of your installation and be sure you have all of the updates.

  • Convert txt file to pdf using Acrobat Distiller

    Hi,
    We purchase years ago Distiller 8.1.0.
    Now, I try to convert txt file to pdf files, but I always get an error.
    Please Help,
    Hezi

    I have important information: Acrobat is not licensed for use server side, so you must not use it to build that solution, even if it is technically possible.
    Adobe's server side PDF creation product is LiveCycle PDF Generator https://www.adobe.com/sea/products/server/pdfgenerator/
    This comes in three editions. The "PostScript" edition is little more than a server-side version of Distiller, and will not convert TXT. However, the other two editions can convert a wide variety of formats.

  • Problems with some photos when converting Publisher files to PDF using Acrobat 9

    I tried to make a pdf of a publisher document that has a number of photographs. Two of the photographs appear grey with streaks -looks like some of the colours are not converting properly. The same document works fine with Acrobat 8 but not with version 9. Anybody have this experience?

    Graffit's suggestion did not work for me.
    I work for the Ontario government, and we are still using Office 2003. I am not sure what version of 9 we are using as we get bulk licences to use the program. I only got the program in August 2010. I used the default settings in the program.
    I try to open the publisher document in Adobe. I have also tried opening the publisher document, then converting it to the PDF. Both have two of the photos that don't convert properly. The other photos are fine.
    The two photos in question were given to us by the Communications department. I don't have the originals. The photos were copied from other document. I don't know what the format of the orginal photos were. The person in Communications has not responded to my request yet.

  • Convert a file to PDF using Acrobat

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7f73.w.h tml

    I am not that familiar with AutoCAD, but depending on the version of AutoCAD and Acrobat you may be able to create the files from Acrobat. However, you would need to have the PDF Maker plugin functional in AutoCAD and I think this may be version dependent. For those that can help with that info, you need to provide info on your OS and the versions (& subversions) of both AutoCAD and Acrobat. I have no idea what 1 year subscription you are talking about. Acrobat is a purchase item for several hundred $$.
    In terms of who is here, it is a user forum and only occasionally do Adobe emplyees drop by. This is not the place to ask questions of Adobe, but to questions that other users can answer. So again you need to provide the info on what you are working with and maybe we can help. If you have Acrobat, you can always simply print to the Adobe PDF printer.

  • Hyperlinks missing after converting Word 03 docs to PDF using Acrobat Pro 9.

    I'm having an issue when I convert a Word 2003 doc using Adobe Acrobat Pro 9 to pdf that the hyperlinks are disappearing.  I've had success with this in the past but for some reason now the hyperlinks never carry over or show up in the pdf.  I also have a good amount of bookmarks making up a table of contents within my word doc that aren't making the conversion either.
    I've spent a few hours thumbing through options in both the pdf printer and word as well as searching online with no luck.
    Kind regards,
    Tim

    Alright, I've got link creation process working again.
    However, now I have another technical issue with how the links are being handled.
    My work has an Intranet site that these Polices and Procedures are being accessed from (http://is-intranet/policiesandprocedures/).  For some reason when you open one of these forms on our Intranet site and click one of the embedded links (that are linking to another one of the Policy and Procedure PDFs) it's adding extra text to the path. i.e. open 2.01 Employee Handbook when I click a link embedded in that form to http://is-intranet/policiesandprocedures/3.01 Technology Usage Policy it's adding an extra is-intranet to the beginning of the path http://is-intranet/is-intranet/policiesandprocedures/3.01 Technology Usage Policy causing it to not open.
    I cannot seem to prevent this from happening.  Now, if I go through the form and look at the link it's correct and if re-link it to the other form everything works fine and the path of the link in the PDF doesn't change.  But now the link works correctly when opening the forms from our Intranet Site.
    It's a very confusing issue.

  • Problem converting Word 2003 document to PDF using Acrobat 8

    I have tried without success to generate a PDF from a Word document that is 191 pages long and contains many hyperlinks.
    Although I have generated similar PDF documents in the past using the Acrobat PDFMaker macro button within Word (which preserves all the links, unlike printing to PDF), the one I am currently working on does not generate a PDF document.
    It appears to follow the normal process of searching for hyperlinks, converting to PDF, etc - which takes close to 35-40 minutes, but once it looks to be done, it shows a brief Adobe splash screen and disappears entirely.
    I have searched online and through various forums and can't find any explanation.
    I would appreciate any input.
    Thank you!

    Try printing a few pages to the Adobe PDF printer to be sure the creation process works. If that works, then go back and empty your TEMP folder, particularly if your 191 pages includes many graphics. You might also want to use the Compress feature in WORD 2003 for graphics to reduce the resolution of all the graphics (it is in the lower left of the first tab of the format menu for WORD graphics).

  • Is it possible to convert a jpg file to pdf using vba?

    I have couple of image file in jpg format . I want to create pdf from these files using excel macro.

    It is true for any format and the Acrobat SDK.
    As this is the Adobe forum, we can't help you on other products.  You would need to go elsewhere for that….

  • Preview not saving when converting multiple .eps files to .pdf

    Hi,
    I have a macbook pro with snow leopard. I open a group of .eps image files using preview into the same window. I then shut the window with "cmd w". It says do you want to save all. I click save all. But then no saves are made.
    If i open the group of .eps files using preview into separate windows and click "cmd w", then click save, it tries to save as untitled.pdf as opposed to "filename".pdf.
    I previously used preview on a powerbook to convert .eps images to .pdf. In that version of preview the files would open in their own window. When i hit "cmd w" and save it would use save file as "filename".pdf.
    Why does the newer version of preview not at least do this? Preferably the new version of preview would save all the .eps files as a batch as stated in my first sentence.
    Does anyone have any ideas what i can do?

    Possibly similar problem:
    When I open a JPEG in Preview, adjust the quality, and try to Save As, it simply saves as the original, not the new reduced-quality file. This is true even if I save it in a new location.
    - open a 200kb JPEG
    - try to Save As with quality reduced to only 50kb
    - it saves as the original 200kb file

  • Automator: Cannot convert multiple .doc files to PDF

    Hi everyone!
    I can't get my automator to print PDF files correctly. Once I have run the workflow I try to open the files and they are "messed up" preview and adobe both tell me that the "File cannot be opened. It may be damaged or use a file format that Preview doesn’t recognize."
    When I go to Automator I see an error message - (1728) The object you are trying to access does not exist. However, if I manually create the PDF from Word or Pages, I have no problem.
    I really appreciate the help, I need this to grade student papers and I have 200 students. Figuring this out would really make my life better.
    Thank you for your time!
    Diana

    Here's the screenshot.
    I tried using several different files and it seems not to be the problem.
    /Users/arqanaid/Desktop/Screen shot 2011-03-04 at 2.32.46 PM.png
    Thank you all for being so helpful!

  • Converting bmp file to pdf

    Hi all,
    Please help me to solve this:
    1) convert bmp file to PDF( using FM) .
    2)There can be many such bmp files ..append them to single pdf file after converting them.
    Thanks and Regards,
    KC

    As has been discussed many times here before, you can't really merge PDF files programmatically in ABAP after they have been created.  Your best bet with this 'unique' requirement is to use a form-based approach I think.
    With a smartform one approach is to create a single page with a window with a graphics node (dynamic name) in it, with the bitmap name specified in the form interface.  Unless you have already loaded the bitmaps in the graphics manager (SE78), you would load the bitmaps at runtime from the presentation server or the application server and then create the graphics dynamically using the methods of class CL_BDS_DOCUMENT_SET prior to calling the form for each bitmap (a topic discussed recently in the ABAP forums or you can view how SE78 does it by checking the code).  Create a merged spool and then use the standard function to convert the OTF data to PDF format.
    A similar approach can be used with Adobe forms, but you would need to load the bitmaps to the web repository, not the graphics manager.
    What exactly is in the bmp files and where are they stored?  Are they form templates?  You may get a better answer with more details.

Maybe you are looking for