Converting Frame files to PDF adds carriage return in code snippets

Our writing group is using FrameMaker 7.2 with Acrobat 9. The documentation we write includes code snippets. Conversion from Frame to PDF adds a carriage return to the end of any line of code. This causes any snippet containing a wrapped line to be incorrect if it is copied and pasted directly from the PDF.  Does anyone knopw if there's a fix for this?
Thanks,
George

Dear Alexander,
Thanks for the reply.
In this I am using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF'. I have checked the settings from SPAD that is also same in both servers for particular output device. But the patches are diffrennt in both the servers, the server from which layout is not coming properly having the high level patches in compare to the other server(which is working fine).

Similar Messages

  • Add carriage return in XML file

    Hi,
    I found a topic that correspond to my requirement :
    [Add carriage return in XML file|https://wiki.sdn.sap.com/wiki/display/XI/HowtoappendCarriageReturnintheendofeachtagofxml+file]
    But i don't know where created this udf, which input parameter pass?
    Thank you for your help.

    Hi Frantzy,
    The link does not give enough explanation. What I am assuming is if you have xml string in one field then if you need to add new line after each tag then you can follow that.
    If you want a udf where you want to insert a new line use this udf:
    Create a Value UDF with one input argument 'a' and name the udf as addnewline. Then add this code:
    Imports: java.*;
    String lines;
    lines = "";
    lines = lines.concat(a + '\n' );
    return lines;
    Then where ever you want a new line just add this udf in your mapping. If you want a new line for 10 fields then you can put in all the 10 fields.
    Example:
    Source field --> logic --> udf (addnewline) --> target.
    So after logic if you have the value as 123 then in the target you will see 123 followed by a carriage return.
    Regards,
    ---Satish

  • Importing XML Text files with Indesign friendly 'Carriage Returns'

    Hi,
    I have a question wrt importing XML into Indesign.  I have my text stored in Excel (Fig A) and intend to export as an XML file where each line will represent each page.  However, my first attempt failed to treat the 'carriage returns' as I'd envisaged:
    The 'carriage returns' used within an Excel cell (ALT-ENTER) are maintained when transforming to a CSV file (Fig B).  However, when converting to an XML file, the conversion only takes place on a line by line basis and hence the XML file becomes incomplete (Fig C).
    So, it appears I need to make sure that the CSV file contains one line per entry, while also maintaining the actual carriage returns in my source spreadsheet and for Indesign to recognise them.  In order to do this, I'll need to substitute the 'carriage returns' in my excel column to be represented by a new set of characters.  My question is how can I let Indesign know to recognise this set of characters to be converted to a carriage return, when importing text.
    For example, if this set of characters was '%%%%%%', then my new csv file would look like Figure D and the XML would be produced correctly, like Figure E.  Then importing this XML file to InDesign, the carriage returns would automatically be reinstated, hopefully.
    I hope someone can help me as I am only starting out in Indesign and feel Im running before I can walk by venturing into the XML/Indesign arena too soon.
    Best Regards
    Luke

    Hi,
    Thanks for all the responses.
    With regard to XML, it could well be an issue has crept in because I am using another utility to convert my csv's to xml and maybe there are better options out there. I will take a look for other utilities and try that (Its not possible from Excel easily, even though there is an option to save as an XML file).
    Secondly, because the XML was readable by internet explorer, I assumed it had a satisfactory standard XML format which would be accepted by any program, including InDesign.  This proved true, since the XML file i generated was actually recognised by my Indesign document and populated the tags correctly, albeit without any carriage returns. 
    When I save my excel sheet as a csv, it does actually hold the carriage returns causing multiple lines per entry, hence why I need to substitute the actual carriage returns in my excel sheet to a alternative character set so that the entry remains on one line.
    Re: Double quotes on text fields.  Im sorry, I didnt realise I had commas in my sample csv example.
    I should have corrected it, but I intend on using semi-colons as my csv delimiter and don't intend on having semi-colons in my excel sheet itself, so I possibly won't need any double-quotes.
    So, it looks like this is what I need to do ;
    i)   Add a column in Excel which substitutes all the carriage returns with a line break identifier (^n).
    ii)  Convert Excel file to a semi-colon csv holding this new column,
    iii) Convert csv file to XML using a good CSV->XML utility,
    iv)  Add the respective XML tags to my INDD document,
    v)   Add a GREP rule which does a find/replace on all instances of ^n and replace with a line break,
    vi)  Import the XML file,
    vii) Apply the find/replace GREP rule on the whole document. Carriage returns on my text fields should be consistent with my original excel sheet.
    Thanks for all your help fellas.  Will report on how I get on once Im done.
    Best Regards
    L

  • Converting Framemaker files into PDF progaramatically using publishing server

    Hi All
    Background:
    We are going for upgrade of  Frame maker 8 which is on unix system  to FM 10 or 11. We are using Framemaker mainly for renditions, i.e to convert the fm documents to PDF. To convert fm document to PDF we are using the below mentioned command line utility available in FM 8.(on unix). /opt/app/frame8.0/bin/fmprint -i -p Sample.fm.fmtpl Sample.fm Currently the the fm file which need to converted to PDF and the FM 8(installed) are available on the same unix system ,so we were able to initiate/use the command line utility of FM 8. The rendition of the FM to PDF is On -Demand.( We are not running any batch activities/ bulk renditions).We are rendering the document as soon as the document  is available.
    Requirement:
    As we are going to  upgrade the FM to newer versions which would be installed on the Windows machine as Frame maker 10 or 11 will not support unix plat form, so can you please let us know which option is better to use i.e we want to convert fm file to PDF using java program without any manual intevention using publishing server/client version.
    can any one help us as it is very urgent for us.
    please let us know the ways to do and links for helpful documents .
    thank you very much for your help in advance!!\
    Best reagrds
    Ramesh babu

    Hi Ramesh...
    Another alternative (if you need more control over the doument creation) is to use Leximation's AutoFM ..
        http://leximation.com/tools/info/autofm.php
    Cheers,
    ...scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • How to batch convert Word files to pdf

    How do I batch convert Word files to pdf using Automator

    Here is a drag/drop AppleScript solution that uses the command-line LibreOffice capability to convert MS Word (.doc, .docx) files into PDF. Drag/Drop a single file, or a folder of Word documents, and it will write the respective PDF back to the original file location. When it is done, an OS X Notification will slide out onto the Desktop and provide the count of processed files.
    Save this AppleScript as a Desktop application that remains open after running. If you ignore the latter, the notification will not show when it is done. Tested on Mavericks 10.9.5.
    property name_extension : {"doc", "docx"}
    global fileCnt
    on open of finderObjects
        set fileCnt to 0
        repeat with i in (finderObjects)
        if folder of (info for i) is true then
            tell application "Finder" to set temp to (entire contents of i)
            repeat with j in (temp)
                process_files(j)
            end repeat
        else
              process_files(i)
        end if
        end repeat
        display notification "Processed Files: " & fileCnt with title "Word2PDF" subtitle "Processing Complete"
    end open
    on process_files(fname)
         set cmd to "/Applications/LibreOffice.app/Contents/MacOS/soffice "
         set cmdArgs to "--headless --convert-to pdf:writer_pdf_Export --outdir "
         tell application "Finder"
              set nameExt to name extension of fname
              set outDir to do shell script "dirname " & POSIX path of (fname as alias)
              if name extension of fname is in name_extension then
                   try
                        do shell script cmd & cmdArgs & outDir & space & POSIX path of (fname as alias)
                        set fileCnt to fileCnt + 1
                   on error errorMessage number errorNumber
                        display alert "Processing Error: " message "[ " & errorNumber & " ] " & errorMessage
                        error number -128
                   end try
              end if
         end tell
         return
    end process_files

  • Error: EXOpenExport() while converting xlsb file to PDF

    I am getting this error while converting .XLSB file to PDF using IBR :Step PDFExport forced conversion failure by conversion engine because of error: EXOpenExport() failed: no filter available for this file type (0x0004). Can anyone tell me how to resolve this issue.
    Thanks in advance.

    Thank you for all your intrest.
    The error message I get is... "an unexpected error occured. PDFMaker was unable to process the request".
    When I then try to convert again, the system opens the ppt, but then does not do anything, and the error message does not show, for all presentations I try to convert.
    I have also tried using the ribbon, but the button does not do anything once I have clicked.
    I can print to PDF, but this provides an output which is not suitable, because it shows as if it each slide was printed on to paper and then put in PDF.
    I have also uninstalled and reinstalled Acrobat to make sure nothing was corrupt.

  • When I converted a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How can I solve this problem?

    When I tried to convert a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How do I solve this problem?  I don't know how to change it from Read Only.

    Dear Sara
    Thank you very much for sending the converted file.  Yes, I am able to edit it - that will be very useful to me and I appreciate your help.
    Referring to your previous message when you said you'd converted via Acrobat and not Acrobat.com, I'm converting via Acrobat.com because that's the only option that is shown (how do I convert via Acrobat? - perhaps that would be more successful).  I'm using the Export PDF website, and the OCR is enabled to "Recognize text in English UK".  However, I've just tried converting a different LPA pdf form, this time for Health & Welfare https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/245571/LPA114_He alth_welfare_LPA.pdf and again I have the same problem as before.  I've altered it from "Read only" and thought I'd then be able to enter text, but "Drawing Tools" is shown in the pane and I'm unable to enter anything onto the form - everything appears to be in images.  Also, the lettering on the heading of' page 1 has become jumbled, with the word "Public" overlaying the word "Guardian."  Any suggestions as to what it is I'm doing wrong would be welcome - I don't like to be beaten!
    Regards,
    Judith.

  • Not able to convert word file to PDF using Adobe Acrobat 9 Standard

    Hi,
    I am not able to convert word file to PDF using Adobe Acrobat 9 Standard. When I try to convert, it starts the process and in between I am getting this prompt, as shown in figure below and the conversion process stops. The PDF is not created.
    Note: The filename 'Acr85.doc' in the above prompt keeps changing and is random.
    I tried clicking Yes, No and Cancel on the above prompt, but the conversion process just stops and PDF is not getting generated.
    I am able to create PDFs from web pages. No issues with that. Not working only with Word.
    Can someone help me with this.
    Thanks,
    Vinay Jaassiel Kankipati
    Technical Writer

    In MSWord please changes the settings as "Adobe PDF" menu => "Change Conversion Settings" goto Tab Bookmark and clicks the option Convert Word Bookmarks. Now you convert the Doc to PDF you can achieve the Bookmark.
    Hope this help you
    Sudhakar

  • Acrobat XI Pro successfully installed, but it failed in converting word files into PDF, why?

    I just installed Adobe XI Pro through the download assistant, it looks the installation went well, but when I tried to convert word files into PDF (tried many times), it failed. Anyone has the same problems, any solutions?

    Please reply with more information - what your operating system is, do you have Office installed, and what exactly is happening. Is there an error message, does the application crash, and from where are you starting the conversion (using Word and PDFMaker, using Acrobat's Create button, or batch processing).

  • How do I convert a file to PDF without subscribing?

    I just downloaded Adobe Reader X, I'm running Windows 7, When I try to convert a file to PDF I'm required to subscribe? I thought this was free? Any ideas?

    Adobe Reader is free - and it reads PDF files; it doesn't create them.
    Adobe CreatePDF and ExportPDF are online subscription services for people who don't want to buy Acrobat. There are links from inside Adobe Reader so users can find those services more easily, but functionally they're unconnected to Reader.

  • I purchased the Adobe PDF Pack but it won't allow me to convert any files to pdf or combine multiple files to into 1 pdf form. It keeps saying "Error occurred while trying to access the file". WHY

    I purchased the Adobe PDF Pack for $7.50/month (or $89.99/yr) but it won't allow me to convert any files to pdf or combine multiple files into 1 pdf form. It keeps saying "An error occurred while trying to access the service". WHY is this happening & How can I fix it?

    Hi hpmg,
    It seems you are trying to access the service via Adobe Reader. Make sure you are signed in with your Adobe ID. Is Reader updated to the latest patch v 11.0.09?
    It might be possible that a firewall or antivirus might be breaking the connectivity from Reader to the server.
    Try accessing the service from the browser: https://cloud.acrobat.com/exportpdf  and check if that works for you.
    Regards,
    Rave

  • How to convert a file from pdf to txt in java

    hi,
    in my project ,I want to convert a file from pdf to txt using java api. If anyone
    have any idea about it plz help me.

    Google has several ideas. :)

  • When i convert any file to pdf, date is automatically added in the header in pdf file. How to change

    When i convert any file to pdf, date is automatically added in the header in pdf file. How to change that?*

    heres a screenshot
    heres a screenshot of how i convert them

  • Converting XPS file to PDF

    Hello, 
    I need to write program which automatically convert all xps files from foler into pdfs. One of my ideas is using pattern -> Opening XPS file, then printing it with "Adobe PDF" printer. 
    Can you give me any help how I can write a program to do it? Or maybe you have another idea how I can do it? 
    Thank you for your help. 
    Best regards,
    Robert

    Hello, 
    Thank you for your answer. I really appreciate your help, but I need to write this conversion part manually and put into my macro (which is making a lot of more stuff, and this will be one of it functionality). Do you have any idea how I can do it?
    Basically, write I wrote before it just need to open a file, and print it with "Adobe PDF" printer. Unfortunately, I don't know how to do it.  
    Hello,
    For converting xps file to pdf, if your pc installed Office, then you could consider the way shared in the following thread.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/4301147c-cc84-43ed-993f-691a8cb682b1/convert-xps-to-pdf-file-in-vs-2008?forum=vbgeneral
    something like  (don't forget to reference Microsoft.Office.Interop.Excel)
    Dim Exapp As New Microsoft.Office.Interop.Excel.Application
    Dim ExWB As Microsoft.Office.Interop.Excel.Workbook = Exapp.Workbooks.Open("yourfilename")
    ExWB.ExportAsFixedFormat(Microsoft.Office.Interop.Excel.XlFixedFormatType.xlTypePDF, "yourexportedfilename")
    and
    Hi narayanan_1983,
    This article will tell you how to convert XPS file to PDF in vb.net:
    http://www.aspose.com/docs/display/pdfnet/Convert%20XPS%20files%20to%20PDF%20format
    From this article, we know that you could use  a class named
    [{{XpsLoadOptions}}] which is used to initialize a LoadOptions object. Later, this object is passed as an argument during the
    Document object initialization and it helps the PDF rendering engine to determine the source document's input format.
    ' Instantiate LoadOption object using XPS load option
    Dim options As Aspose.Pdf.LoadOptions = New XpsLoadOptions()
    ' Create document object
    Dim document As Aspose.Pdf.Document = New Aspose.Pdf.Document("D:\source.xps", options)
    ' Save the resultant PDF document
    document.Save("D:\resultant.pdf")
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Advice needed for converting AI file to PDF

    I'm working on some 11x17 page size illustrator files that are of aerial photo maps (with a legend).
    Can someone offer me some advice on how to best convert these files to pdfs and keep the photo quality high and keep the file size as low as I can get it??? I basically can convert it to a pdf but I don’t understand the compression settings section (assuming that’s what needs to be changed in order to accomplish this?).
    Thanks

    This is a trick I find works well.
    Just save it as a pdf and open in Acrobat, then (Acrobat X) go to tools and then Prepare for Web Publishing, use all the default settings.
    This should reduce the file as much as 1/3 the size sometimes even more.
    It has no effect on the qquality.

Maybe you are looking for

  • Changing Tax Code in Sales Order

    Hi All, I've a requirement to change the tax code of MWST CT from normal value XX to a new tax code in sales order for few excpetion cases. For normal cases the tax code will always be XX for MWST CT in the sales order. However for very specific busi

  • What Apple app is required to open .pdf files arriving by e-mail?

    Attachments to e-mails are frequently in .pdf format. I'm unable to open them in Pages, iPhoto or Keynote. Help would be appreciated.

  • Nokia Belle Browser Issues

    Hello Again,  I have just encountered another problem with my Nokia N8 after the update to Belle.  My browser is just horrible - I can hardly see images on it because they are too blurry. My facebook dialogue boxes are too small and the pictures and

  • Connecting Monitor to Xbox

    I just bought a HP 2311x 23" Led Monitor with the sole purpose of using it with my xbox 360 for gaming.  I am having difficulty in getting the signal from the xbox to the monitor. I have the hdmi cable hooked in from the monitor to the xbox but nothi

  • Setting up a Proxy

    Hi, I've done some looking around recently and I'd like to make a proxy for myself. All of the Mac-Oriented websites I've looked at are confusing at best. I would like to know if it's possible to set up my own proxy server. If browser type has anythi