Automated report/ PDF conversion with AppleScript

Hello-
I am attempting to PDF a spreadsheet from Dropbox, and email it to a set list of recipients with AppleScript.  Much of this I have been able to figure out, but I am having some issues with the PDF conversion.  As you can see below, I am still working on sending the xls file, and have not yet been able to get AppleScript to convert a specific tab of the file to aPDF.  I expect scheduling to be handled theough crontab.
Current script is as follows:
tell application "Finder"
          set folderPath to folder "Macintosh HD:Users:user:Dropbox:folder:Calculated PO Sheet"
          set theFile to first file in folderPath as alias
          set fileName to name of theFile
end tell
set theSubject to "Current PO Report" date
set theBody to "See attached."
set theAddress to "recipient email"
set theAttachment to "CALCULATED PO SHEET.xlsx"
set theSender to "sender email"
tell application "Mail"
          set theNewMessage to make new outgoing message with properties{subject:theSubject, content:theBody & return & return, visible:true}
          tell theNewMessage
                    set visibile to true
                    set sender to theSender
  make new to recipient at end of to recipients with properties {address:theAddress}
                    try
  make new attachment with properties {file name:theAttachment} at after the last word ofthe last paragraph
                              set message_attachment to 0
                    on error errmess -- oops
  log errmess -- log the error
                              set message_attachment to 1
                    end try
                    log "message_attachment = " & message_attachment
  #send
          end tell
end tell

Hi,
there is a special setup for this requirement. Please see the following support note
Reference
Oracle Reports Output For Indian Languages Like Gujarati, Marathi [ID 980554.1]
Roberto

Similar Messages

  • Export PDF Workflow with Applescript and CS3

    Hello,
    I am setting up some PDF workflow with Applescript.
    On a given moment, as my script runs and after getting some user-input answers to questions in some dialogs, my script tells InDesign CS3 to open the Export Adobe PDF window for the current document. I copied and pasted that small part of the script:
    tell application "Adobe InDesign CS3"
    tell document 1
    export format PDF type to "Macintosh_HD:Test01.pdf" using "somePreset" with showing options
    end tell
    end tell
    When you run this small part of my Applescript, InDesign opens the Export Adobe PDF window (as expected) waiting for me to click on "Export". That is exactly what I want, since the user is given here a last opportunity to change some values (for example page range, or spreads). When all is set, the user can click on Export to close the dialog and finish the script.
    Problem: I was hoping that the Adobe PDF Preset "somePreset" would be selected in the first pull-down menu of the Export Adobe PDF window when this window is opened by the script. Unfortunately the last used preset is always selected by default. Anyone suggestions or help?
    Kind regards,
    Bertus Bolknak.

    My operators enter the page range and filename into a dialog box. Then I set those in the script. I use the Press Quality preset to start with and then set the changes I want into a export variable. I set things like bleed, marks, page range, etc.
    Here is an example:
    set theProps to properties of PDF export preset "[Press Quality]"
    try
    delete PDF export preset "Schmidt PDF"
    end try
    set theStyle to {name:"Schmidt PDF", acrobat compatibility:acrobat 7, bleed top:"0.125i", bleed bottom:"0.125i", bleed inside:"0.125i", bleed outside:"0.125i", page marks offset:"0.125i", include ICC profiles:Include None, effective PDF destination profile:use no profile, effective PDF X profile:"No Color Conversion"} & theProps
    make PDF export preset with properties theStyle
    set properties of PDF export preferences to theStyle
    set color bitmap sampling of PDF export preferences to none
    set grayscale bitmap sampling of PDF export preferences to none
    set page range of PDF export preferences to (item i of myPageList) as string
    export document 1 format PDF type to (PrinergyFolder & myJobNumFinal & "_" & VerCode & ".pdf") as Unicode text without showing options
    I am also doing this in Quark.

  • PDF conversion with PDF2ID; Hypertext not working when exported back to pdf.

    I have done a PDF conversion with PDF2ID, however Hypertext is not working when I exported it back to pdf. I am using the PDF2ID plug-in program to redo all the product booklets for our company as the hypertext did not work when downloaded to any smart phone. All that appeared were blank placeholders in each booklet index page.
    According to the PDF2ID people the program plug-in recovers all URLs static and dynamic and bookmarks and local links and suggested I check with Adobe ID5 for help, but Adobe says my $1,000 ID5 is no longer supported and that I should go to the forums.....so here I am.
    This is the first time I've even opened my ID5, so I'm a bit lost. Now I need to improve the quality of the PDFs, as we also need to convert all images to TIFF-CMYK in order to have the booklets printed & bound professionally. they tell me ID can do that.
    Any help is greatly appreciated.
    David

    Daveorne wrote:
    they tell me ID can do that.
    Ugh...in some companies, that is training.
    Don't take this the wrong way David, but of course ID can't do anything. PDF2ID conversions can be sketchy in the hands of the experienced. The same can be said of properly preparing matials for print. As Bob has already alluded, you're in an unfair position there. It's not uncommon for "management" types to just throw some sophisticated tools at a need and expect someone to make it work. In order to do what's being asked of you, you'll have to learn a fair bit about InDesign and production. It's too soon to ask about the output when you haven't learned to manage the input.

  • Automator for PDF merge with variable

    Hi - very new to automator, but now very motivated to find a solution to this annoying problem.
    I have to scan expense receipts each week and upload them 1 by 1 into a client time & expense system. I don't think Automator can help me with this one.
    A second system requires all the expense receipts to be merged into a PDF and a 3rd copy emailed to an approver.
    This is what I would like automator to do:
    From my Expenses folder, where all my individual PDF's are located
    I select all my distinct PDF's for a particular week
    Using an automator service, right click style
    Using 'Ask for Text', I would enter the "Week of"
    My selected PDF's are merged into 1 PDF, with the name = "Week of <VAR>"
    Mail starts (can't figure out how to use Gmail in a browser in Automator)
    Creates a message to the approver guy with the merged attachment from #5 above
    Sends the message
    Quits Mail
    I can get the automator to run without the variables trick...but it really would save a lot of time if I could just key it in once (instead of #filename, #email subject, #body of the message).
    I also tried looking up the UUID for the variable and inserting it into the email body and subject line - but it didn't take.
    Can anyone help with this?
    Many thanks
    bforeste

    Can't help you with automator, but you can create an app with the applescript below that will do what you want.
    Procedure:
    1. Open the Applescript Editor by typing Apples in the spotlight search field and hitting 'return' on your keyboard.
    2. Copy the entire script below and paste it into the Editor window.
    3. Hit 'Command-K' on the keyboard and ensure there are no compiler errors. If there are, please look at the script and see if one part of it was highlighted. Report back what part of the script was highlighted and any error messages.
    If the compile didn't produce an error, then:
    4. Hit 'Command-S' on the keyboard, choose a snazzy name ("PDF merger" or something...) and a location to save it in (your Apps or Desktop folders).  Be sure to change the 'File Format:' to Application at the bottom of the Save screen before hitting 'Save'.
    5. The first time you run the app (you run it by double-clicking on it, like any other App), you'll be asked to put in the details manually. On subsequent runs, it will fill in the defaults for you. I haven't set up the default locations for looking and searching for the files as I'm not sure where they would be on your system. I can do that if you tell me the path from your 'home' or user directory.
    Also note, I've written the script so that it doesn't send the message until you've reviewed it. i.e., you might want to double check you've attached the correct file, or add a message. If you want it to send automatically without review change the following lines near the end of the script:
    change the line 'set visible to true' to 'set visible to false'
    change the line 'save' to 'send'
    property defaultFolder : ""
    property msgSubject : ""
    property theRecipient : ""
    property theWeeklyname : ""
    property outputFile : ""
    getInfo()
    mergePDFS()
    sendMail()
    on getInfo()
              display dialog "Type the recipient's email address: " default answer theRecipient
              set theRecipient to the text returned of the result
              delay 0.25
              display dialog "Set the subject of the message: " default answer msgSubject
              set msgSubject to the text returned of the result
    end getInfo
    on mergePDFS()
              display dialog "Please choose the files to merge…" default button "OK"
              set inputFiles to choose file of type "PDF" with multiple selections allowed without invisibles
              delay 0.25
              display dialog "Please choose a folder to save the merged PDF…" default button "OK"
              set outputFolder to choose folder
              delay 0.25
              display dialog "Type the name of the combined pdf (without the .pdf extension): " default answer theWeeklyname
              set theWeeklyname to text returned of the result
              set outputFile to (outputFolder as text) & theWeeklyname & "(" & (count of inputFiles) & ").pdf"
              set pdfFiles to ""
              repeat with p in inputFiles
                        set pdfFiles to pdfFiles & " " & quoted form of POSIX path of p
              end repeat
              do shell script "/System/Library/Automator/Combine\\ PDF\\ Pages.action/Contents/Resources/join.py " & "-o " & quoted form of POSIX path of outputFile & pdfFiles
              return outputFile as alias
    end mergePDFS
    on sendMail()
              tell application "Finder"
                        set theAttachment to outputFile as alias
              end tell
              tell application "Mail"
                        set newMessage to make new outgoing message with properties {subject:msgSubject, content:"" & return & return}
                        tell newMessage
                                  set visible to true
      make new to recipient at end of to recipients with properties {address:theRecipient}
                                  tell content
      make new attachment with properties {file name:theAttachment} at after the last paragraph
                                  end tell
      save
                        end tell
              end tell
    end sendMail

  • ALV to PDF conversion with a page break

    Friends,
        I have a need where I need to print ALV in PDF format with a page break. Any advice on how to do this ? Is it possible to print in PDF format in ver ECC 6.0 without using OTF conversion routine ?
    I tried to create a new device type PDF got an error in the spool when tried to print ?
    Thanks,
    Abap PM

    Hi,
    Check the below links.
    [LINK1|https://wiki.sdn.sap.com/wiki/display/Snippets/SaveReportOutputtoaPDFFile]
    [LINK2|Convert ABAP Report's Output into PDF Format..;
    [LINK3|https://wiki.sdn.sap.com/wiki/display/ABAP/PDF%20Downlaod%20By%20Creating%20Spool%20Request]
    Thanks,
    Sreekanth

  • Automated screen/window capture with Applescript?

    Is it possible to automate screen capture in an automated, non-interactive way, using Applescript?
    I know it is possible to use the terminal screencapture command in an Applescript to capture the whole screen, but the screencapture options to either select an area of the screen or a particular window require user interaction at run time to select the screen area or the target window.
    What I need is to be able to specify - in the script itself - the area of the screen to capture, or the name of the window to capture, and have this happen without user interaction.
    Is this possible? Are the undocumented ways of passing area or window information to screencapture? Or some other Finder/System way of doing it?
    (with some research I found references to an app called FreeSnap which is allegedly scriptable - but it had been removed from all the usual sources as well as the original developer site. If there's no direct Applescript/Finder/System way to do the above, are there any third-party scriptable screenshot Apps which can do it?)
    Thanks.

    Hi brendan
    Here is the code:
    set tmpPath to ((POSIX path of (path to desktop)) & "screenpic.png") as string
    do shell script "screencapture " & quoted form of tmpPath
    delay 1.5
    set this_file to tmpPath
    try
    tell application "Image Events"
    launch
    set this_image to open this_file
    set {docWidth, docHeight} to the dimensions of this_image
    crop this_image to dimensions {400, 200}
    save this_image with icon
    close this_image
    end tell
    on error error_message
    display dialog error_message
    end try
    Hope this helps

  • How to determine the page count of the front document (pdf-Preview) with applescript?

    Hello, I'm a beinnger apple scripter, and I have 2 questions. First, im trying to find the code to generate a page count for the front document of preview. I tried something like this:
    choose file with prompt "Count the number of pages in this PDF file:" without invisibles
    do shell script "/usr/bin/mdls -name kMDItemNumberOfPages " & quoted form of POSIX path of result & " | /usr/bin/grep -o '[0-9]\\+$'"
    But I dont want to have to choose a file with the prompt, and Im not sure how to get the path or POSIX path of an open pdf that is the front document in prievew to then use that directory to select the file to run the shell script on. This is one step in a much larger sequence of automator/apple script commands for large print jobs.
    The large scale view is:
    1. seleting a group .musx Finale 2014 files and creating pdfs of all the documents
         -Achieved with Automator stuff: [Get selected finder items] [open finder items with Finale 2014] [run applescript to convert to pdf all the open files] (which I have working but without a proper repeat condition)
    2. sorting those those exports into even/odd groups
    3. making the even pages 2 up with a create booklet plugin
    3. combinging even/odd group pdfs in their respective folders
    4. sending the 2 up evens to 1 printer, and the singes to another printer.
    but at this stage in the code/automator this is what i'll need to be doing:
    1. Several pdf documents will be open and I need to determine the page count of the front document.
    2. With that result I need to determine if the pagecount is even or odd.
    3. If its even, I need to save as pdf in a file folder /desktop/PDF Export/Doubles
         - if its odd, I need to save as pdf pages from 1 to (pageCount -1) to /desktop/PDF Export/Doubles, and pages (pageCount) to (pageCount) to desktop/PDF Export/Singles. (example: A 5 page pdf will send pages 1-4 to folder "Doubles", and pages from 5 to 5 to Singles, A 1 page pdf will only send a copy to the folder "Singles." A 2 page pdf will send both pages to "doubles"
    4. once the even/odd pages have had pdfs made in the either or both of the folders, Im going to close the document and repeat for all other open pdfs.
    Which also brings me to my 2nd repeat condition question: how can I repeat (print, save as pdf, close) commands for open files and end the script once all files are closed? This can help me both at this stage, as well the coding stage before in creating the pdfs from open Finale/sibelius .sib/.musx files
    would it be something like this?:
    If front document exists
    try
    tell application "preview"
    <bla bla>
    end try
    end tell
    At stage 1 of the large scale i've gotten the files to export pdfs and close multiple files, but if i say "repeat 4 times" and i have 3 files it can do those commands but it gets stuck trying to repeat the code one more time. I need the repeat amount x to be the # of items in selection from the the original finder window.
    Thanks for the help!

    The following AppleScript will get the POSIX path and filename of the current PDF file. It will just return the integer value for page count. Note: The path retrieved is the actual path to the PDF file, unless it is on the Desktop. In the latter case, the path will be ~/Library/Containers/com.apple.Preview/Data/Desktop/filename.pdf.
    The script assumes that the following folders exist, otherwise you will need a try block to test for their presence.
    The AppleScript dictionary for Preview does not provide a page dictionary entry, that would make a repeat loop and page range possible for saving individual page ranges.
    set pdfDoubles to POSIX path of ((path to desktop) & "PDF Export" & Doubles)
    set pdfSingles to POSIX path of ((path to desktop) & "PDF Export" & Singles)
    tell application "Preview"
      -- gets quoted POSIX path and filename
              set pdfFile to (get path of front document)
              set pdfName to (get name of front document)
      log pdfName
              set cmdArg to "/usr/bin/mdls -name kMDItemNumberOfPages " & pdfFile ¬
                        & " | egrep -o \"(\\d+)\""
              set pageCnt to do shell script cmdArg
      display dialog pageCnt
              if pageCnt mod 2 is 0 then
      -- even
      -- save pdfName in pdfDoubles
              else
      -- save pdfName in pdfDoubles
      -- save individual pages in pdfSingles
              end if
    end tell

  • PDF conversion with windows 2000 not working

    Hello all, I have a BSP application that is up and running.  When I print with an XP machine, I have no problems.  When I print with a windows 2000 machine, I am looping and never getting to the PDF open screen.  It just keeps looping but if I try from a XP machine, everything works.
    Any help would be appreciated.  i have included some of the code.
    * Conversion of output format OTF into PDF format
    * now convert the final document (OTF format) into PDF format
      call function 'CONVERT_OTF'
           exporting
             format                      = 'PDF'
    *         MAX_LINEWIDTH               = 132
    *        ARCHIVE_INDEX               = ' '
    *        COPYNUMBER                  = 0
           importing
             bin_filesize                = l_pdf_len
             bin_file                    = l_pdf_xstring       " binary file
           tables
             otf                         = ls_output_data-otfdata
             lines                       = lt_lines
           exceptions
             err_max_linewidth           = 1
             err_format                  = 2
             err_conv_not_possible       = 3
             err_bad_otf                 = 4
             others                      = 5
      if sy-subrc <> 0.
    *   error handling
    *    message id sy-msgid type sy-msgty number sy-msgno
    *            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    * Fill HTTP request
      response->set_header_field( name  = 'content-type'
                                  value = 'application/pdf' ).
    * response->delete_header_field( name = 'pragma' ).
    * response->delete_header_field( name = 'expires' ).
    * response->delete_header_field( name = 'cache-control' ).
    * some Browsers have caching problems when loading PDF format
    response->set_header_field(
                        name  = 'cache-control'
                        value = 'max-age=0' ).
    * start PDF viewer either in the Browser or as a separate window
      if pdf_in_browser is initial.
         response->set_header_field(
                            name  = 'content-disposition'
                            value = 'attachment; filename=BenConf.pdf' ).
      endif.
    * finally display PDF format in Browser
      l_pdf_len = xstrlen( l_pdf_xstring ).
      response->set_data( data   = l_pdf_xstring
                          length = l_pdf_len ).
      navigation->response_complete( ).

    You must remove all the no-cache headers and definitely disable GZIP compression for PDF files.
    Look at <a href="https://wiki.sdn.sap.com/wiki/display/BSP">BSP Wiki</a>:
    Handling Binary Data
    PDF

  • No PDF conversion with FlashPaper 2

    I just installed FlashPaper 2 on my Windows PC (XP) and also
    on my Mac (OSX). On both systems the interface of FlashPaper 2 does
    not offer the conversion to PDF, which is described in the link
    "features overview" on
    http://www.adobe.com/products/flashpaper/.

    Daveorne wrote:
    they tell me ID can do that.
    Ugh...in some companies, that is training.
    Don't take this the wrong way David, but of course ID can't do anything. PDF2ID conversions can be sketchy in the hands of the experienced. The same can be said of properly preparing matials for print. As Bob has already alluded, you're in an unfair position there. It's not uncommon for "management" types to just throw some sophisticated tools at a need and expect someone to make it work. In order to do what's being asked of you, you'll have to learn a fair bit about InDesign and production. It's too soon to ask about the output when you haven't learned to manage the input.

  • Smartform to PDF Conversion with number of copies to be printed

    Hi,
       I have requirement to display pdf in an iview for which i created a smartform and converted it into PDF using the Function Module 'CONVERT_OTF'.
    Now my requirement is, when the user press the 'Print' option in the Adobe Reader, automatically 3 copies needs to be printed..
    Is there any way to do this? If so, please let me know.
    Thanks,
    Sri

    That is a question for the Adobe applications support. Regards.

  • .DOC to .PDF conversion with the format maintainence

    Hi,
    My requirement is to convert the exact text witht he formating in the .DOC file to PDF file.
    I have done this using POI and IText ar files but I am unable to maintain the formating , tried and search the net but unable to find the solution.
    Please help me in solving this issue.
    Thanks in advance.
    Pooja

    Can you please tell me how did you solve this?
    Cheers,
    Kunjal

  • Conversion with settingsDocument using PDFG Watched folder

    Hi all,
    I am creating a PDF Conversion process.
    I want to convert ps to pdf with settingsDocument using DistillerService watched folders.
    I configured inputDocument in DistillerService Endpoint to Variable:*.ps and it works. I put a ps file to input folder, then the PDF file was created in the result folder.
    Then I configured settingsDocument to Variable:*.xml.
    I expected PDF Conversion with settingsDocument when I put a ps file and an xml file which I exported from PDFG to the input folder.
    But, the created PDF seemed to be the same file as the PDF created without settingsDocument configuration and the xml file remained in the input folder.
    I made a security setting named "Security" including password security and exported a configuration xml which includes this security setting.
    I put a ps and this xml to the input folder, but the created pdf opened without password.
    If I configure securitySettings to Literal:Security , it works. The created PDF is locked with password. I want to do this using setting xml.
    Any ideas?

    When you create your watch folder endpoint, you have to map some of the input variables for your process to a file pattern.
    This will take the file matching the pattern and put it in that variable. Now the variable type needs to be the right type to receive the file.
    From your error, it looks like you're trying to put a PDF file in a xfaForm variable, which wouldn't work. You need to put the PDF in a document variable.
    So, make sure in your process that you have an input document variable. Then in your watch folder configuration, when you map your input varibale to a file pattern, make sure you select literal and a pattern like *.pdf
    Jasmin

  • Arabic PDF Report generate issue with Arabic Letters

    Hi
    I have an issue with Arabic PDF report,its display Junk characters,
    where as English PDF report is working fine and Arabic Text report is working fine.
    I need help to fix the above issue.

    970649 wrote:
    Hi
    I have an issue with Arabic PDF report,its display Junk characters,
    where as English PDF report is working fine and Arabic Text report is working fine.
    I need help to fix the above issue.Please post the details of the application release, database version and OS along with the database characterset.
    Please see these docs/links.
    Fonts Displayed As Junk Characters In PDF Report Output [ID 1218354.1]
    How To Print XML Publisher PDF Reports From The Concurrent Manager [ID 338990.1]
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    How to Generate PDF Output With UTF8 in R12? [ID 778970.1]
    Arabic Data Appears As Junk , Currently using Forms Patchset 16 & XML [ID 755786.1]
    Why Printer Print Junk characters when printing rtf Bi Publisher Report Out Put? [ID 1497767.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=PDF+AND+Junk&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Unique issue with PDF to WORD .doc conversion with Acrobat Pro - any ideas?

    I have been unable to solve the following issue when converting (save as...) PDF documents to Microsoft Word .doc using numerous methods. This could either be an issue that would be fixed in Acrobat Pro itself, or in MS Word - posting to the Adobe forums first.
    PREFACE: I am attempting to use the converted .doc file with translation applications/software. Google Translator Toolkit is what I use the most, but ALL other translators are having this very same issue with the .doc file. --The source PDFs are product information from drug manufacturers in various countries that I need to have translated to English. I do not have access to their source documents, as they do not provide their own source docs for obvious reasons.
    ALSO: I cannot use Google Translator toolkit to translate from PDFs directly - if you do that, it will attempt to translate a PDF and then export in an .html file, but it does not get the exact spacing of the sentences correctly, which leads to errors in translating - key things such as "can take with alcohol" and "do not take with alcohol". So that's out!
    I am not having any problems with the resultant .doc file in MS Word itself. It looks right, the spacing matches the original PDF source perfectly, prints correctly, etc... Reference here on a product info sheet from Austria in German:
    The problem: This is a screenshot from Google Translator Toolkit - the right side of the image - the spacing in the lettering from the .doc file I am uploading is not being read correctly, resulting in untranslated gibberish. (Note: this isn't a problem with the translation applications or software -- all are having this issue with .doc files converted from .pdf - this issue isn't present with any old .doc file that wasn't converted from a .pdf) -- It's definitely got something to do with some kind of embedded data in the .doc file that I cannot isolate!!)
    My settings in Adobe Pro (convert from PDF to .doc):
    Page layout: Flowing Text (this prevents the resultant .doc from having all of those text boxes, which also don't then work in translators)
    Include comments: True
    Include images: True
    Run OCR if needed: True
    Notes:
    -I have run OCR text recognition on the source PDF files in it's specific language.
    -I have edited the accessibilty of the PDF and have run the tag recognition and quick checks (to see if they solved the issue, which it did not - tagged or untagged, same problems!)
    -I have exported the .doc BACK to PDF using MS Word's function, which results in a great looking tagged PDF. THEN I re-saved this new PDF back as a .doc - same issue.
    -I have tried saving the PDF in all of the other formats that the translators accept. All have different issues. The only one that works consistently is saving to a .txt (plain)... The best is a .doc to .doc conversion, with all the original spacing. (I am not spending hours reformatting a .txt translation in word)...
    I can't seem to find where this spacing data is in the .doc file!!!! (Changing the fonts, sizes, margins -- doesnt fix this either). I have tried so many methods...
    Any thoughts on other things to try in Adobe Pro (or Word)?
    EDIT: Here's an additional tidbit of info that may be the key to this... There's some kind of coding that is in the .doc that Adobe Pro converted from the source PDF that doesnt display in Word, but that is being seen by the translation programs....... I have no idea what these are, but I want to remove them!
    Message was edited by: KaotikADC

    I would suggest you look at the fonts that are being used. It may be a font issue that is not properly being read by the translation program.

  • HTML to PDF conversion - problems with page-breaks and bookmarks

    Hello,
    My company is currently considering updating your software (from Acrobat 9 Pro to Acrobat XI Pro) and I’ve been assigned to research its features and make sure that it is a right fit for our goals. Basically we want to automate the whole process as much as possible and we want to create PDF directly from HTML. We’re providing a lot of content in HTML and we need a fast way to transfer it into PDF format. There are however some guidelines:
    We want page-breaks in is this kind of documents, and thus - your app needs to be able to interpret HTML and put them where we want to;
    We need to have bookmarks in there. Converter must be able to make them based on headlines from HTML source or afterwards, directly in PDF by using some auto-bookmarks feature;
    There has to be table of content generated, based on HTML Link Tags if possible. Here’s sample of TOC structure that we have currently:
    <A NAME="redirect">sample_text</A>
    <A HREF="#redirect">sample_text</A>
    Of course we can modify HTML in any way you want us to. The important thing for us is to make it work in PDF without the need to make a lot of manual changes after conversion.
    I’ve been messing with Acrobat 9 Pro and reading some documentation that you have provided and I’m convinced that point 3 is not a problem. I’m aware that Acrobat 9 Pro is not having any difficulties with links in document and they work fine in PDF format that has been created from HTML.
    Page-breaks on the other hand are bothering me. Your app is apparently ignoring every HTML code that the Internet is advising me to use to force page-break where I want. Honestly - I’ve tested like ten ways to make them and not even one was working. That’s why I’m asking for your help.
    Another problematic subject for me is the bookmarks creation. I know that they are not a problem if I’m doing DOC to PDF conversion. Then I’m able to decide what header should be used as a curtain level of bookmarks and everything is working great at the end. However - with direct HTML to PDF conversion - I really don’t know how to generate bookmarks that are based on the source of the input document. Is there any way to make fully working 2 level bookmark tree in this case? Here’s an example of the structure we want at the end:
    header1
    header2
    header2
    header1
    header1
    header2
    Could you please help me in finding the solutions? Just like I’ve mentioned - we can modify input HTML in any way, but in the end we would like to achieve our goals as quickly as possible.
    Please excuse my English.
    I am looking forward to your response,
    Lucas

    Frankly - we would like to avoid using Word. We are using it currently but there are long-term plans of improving whole conversion process, eliminate any mid-steps and automate as much as possible even though conversion is not going to be done unattended on a server. Thank you for your response, but I hope that maybe someone else would have any idea?

Maybe you are looking for