Convert rtf to pdf with good font and sharp images

I can convert rtf to pdf in Microsoft Word (2004) using the Print function but the resulting document doesn't maintain the same font and the images look a bit hinky as a result.
I tried to convert from rtf to pdf in Acrobat 9 but it sez unsupported file type.
I just want a really clean conversion that keeps the images sharp and the fonts looking good.  Am I out of luck?

<!--- source:http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=ColdFusion_Documentation&file=00001585.htm ---> 
<cflock scope="Application" type="exclusive" timeout="120">
<cfif not StructKeyExists(application, "MyWordObj")>
 <!--- First try to connect to an existing Word object --->  
<cftry>
<cfobject type="com"
action="connect"
class="Word.application"
name="Application.MyWordobj"
context="local">  
<cfcatch>
<!--- There is no existing object, create one --->  
<cfobject type="com"
action="Create"
class="Word.application"
name="Application.MyWordobj"
context="local">  
</cfcatch>
</cftry>
<cfset Application.mywordobj.visible = False>
</cfif>
</cflock>
 <!--- Convert a Word document in temp.doc to an HTML file in temp.htm. --->
<!--- Because this example uses a fixed filename, multiple pages might try
to use the file simultaneously. The lock ensures that all actions from
reading the input file through closing the output file are a single "atomic"
operation, and the next page cannot access the file until the current page
completes all processing.
Use a named lock instead of the Application scope lock to reduce lock contention. ---><cflock 
name="WordObjLock" type="exclusive" timeout="120">
<cfset docs = application.mywordobj.documents()>
<cfset docs.open("c:\ColdFusion8\wwwroot\RTFtoPDF\temp.rtf")>
<cfset converteddoc = application.mywordobj.activedocument>
<!--- Val(8) works with Word 2000. Use Val(10) for Word 97 --->
<cfset converteddoc.saveas("c:\ColdFusion8\wwwroot\RTFtoPDF\temp.htm",val(8))>
<cfset converteddoc.close()></cflock>
<!--- Read the HTML file ---><cffile 
action="read" file="#expandPath('temp.htm')#" variable="fileToConvert">
<!--- Convert from HTML to PDF---><cfdocument 
overwrite="yes" filename="#expandPath('temp.pdf')#" format="PDF"><cfoutput>#fileToConvert#</cfoutput></cfdocument>
<p>Conversion from temp.rtf to temp.pdf complete</p>

Similar Messages

  • Is it possible to create a .pdf with BOTH color and grayscale images?

    Hello,
    I am in the final phases of a book project (4 years in the making!) that has both grayscale and color graphics. When I save as a .pdf via the Adobe PDF printer driver and distill, I end up with a .pdf that only has color graphics despite the fact that some images were grayscale to begin with. I'd like the grayscale images to remain graysale in the pdf. Is that possible?
    I am using older software framemaker 6.0 and acrobat & distiller 6.0 and am reluctant to change now, I will upgrade for a second edition, but not now.
    Thanks.

    Create the document in layers with the background on a seperate layer than the text. Export the PDF with"Create Acrobat Layers" selected (it will need to be at least version 1.5).
    Open the PDF in Acrobat, choose the background layer then Options>Properties>Initial State and under "print" choose "Never prints".

  • Why do fonts and vector images look broken in Acrobat Pro (on retina display)

    I often get scared of doing something horribly wrong every time I export to PDF from Indesign CC. I know I didn't mess up but my scariness is the effect of the terrible graphic support in Acrobat when viewing the pdf's. Fonts and Vector images look broken and the look of fonts only gets better after zooming in at an incredible 6400% ! Are my preference settings in Acrobat wrong or is it because Acrobat doesn't support Retina yet?

    Moving this discussion to the Acrobat Installation & Update Issues forum.

  • Can not copy text from pdf with unicode font embedded.

    Hello,
    I have a pdf with unicode font embedded in it. The pdf has no restrictions. When i try to copy some text text fro m pdf and then paste itin word, the text is not the same which i copied from the pdf. it changes.
    I have tried multiple softwares which converts pdf to word or pdf to excel. but none can do my job. what should be the problem? Kindly guide me.
    Thanks & Regards-
    rashmi

    Thanks for your prompt reply.
    As i said i have the font installed on my system. for your reference,
    following is the link to the pdf file. also the second link is the link to
    the fonts used. Kindly help me to sort this issue.
    https://www.yousendit.com/download/T2dkcHBEVEh0QTIwYjhUQw
    https://www.yousendit.com/download/T2dkcHBFQXBrYUJYd3NUQw

  • Bulk convert text to PDF with Acrobat

    Hi. When I convert a text file to PDF with Acrobat X Pro the character spacing in the resulting file is incorrect.  The columns of numbers which do correctly line up in the text file, do not line up correctly in the PDF file.  I adjust the settings for the conversion in the CREATE PDF FROM WEB PAGE box and I choose a fixed-width font.   If I use Adobe PDF Converter (the printer driver) the result is perfect.  If I open the text file with Microsoft Word and then convert it to PDF with PDFMaker, it is also perfect. I want to use Acrobat so that I can bulk convert my 300 text files to PDF.   Can you please help as I have tried everything?  Thank you.  Paul Pontikis (Deakin University)

    Thank you for responding LoriAUC.  I have 300 (*.txt) files that I only ever open with Notepad. I don't every open them in a web browser.  I want to bulk convert them to PDF.  The orientation of the resulting PDFs must be landscape.  It appears that the only way to select LANDSCAPE in Acrobat is to adjust the settings in the CREATE PDF FROM WEB PAGE box.  It seems that Acrobat uses its HTML Conversion Engine to convert text files to PDF.  When I do this and then bulk convert them using Bulk Convert Files to PDF, the orientation is correct, that is, landscape instead of the default portrait setting, however the character spacing is imprecise and the columns of data are wavy.
    Message was edited by: paulatdeakin

  • I have a Word file in square format. Converting it to PDF wipes the format and produces a document in portrait format.

    I have a Word file in square format. Converting it to PDF wipes the format and produces a document in portrait format.

    Create a Custom Page Size with the same dimensions as your document within a new Joboptions file and then use that new Joboptions file when you convert your square document to PDF.

  • Converting WordPerfect to PDF with desktop printer tool: Not working

    I have been a monthly subscriber to Adobe CreatePDF for many years! I work mainly with Correl WordPerfect, but with the change to the Pack version it is not supported. I downloaded the desktop printer tool; it is installed. However, when I follow instructions and print, I get nothing. Where does the PDF go? What can I do? Please help! I cannot continue to pay monthly if I don't get service.

    Thank you very much. I have uninstall adobe desktop printer tool and my wordperfect. Next step is follow your suggestions but I am no computer anything, lol. 1. How do I know if I have a win 7 sp1? I have win 7 that much I know. 2. Where can download the hotfix? 3. With adobe createpdf, I didn't need adobe ps printer setup, I don't have a laser printer at home, I have an hp inkjet printer.
    Please help again and soon, :).
    Date: Tue, 7 Jan 2014 11:52:08 -0800
    From: [email protected]
    To: [email protected]
    Subject: Converting WordPerfect to PDF with desktop printer tool: Not working
        Re: Converting WordPerfect to PDF with desktop printer tool: Not working
        created by H.Spector in Adobe PDF Pack (formerly CreatePDF) - View the full discussion
    Please do following
    (A). If your system is Win 7 SP1 then install a hot fix to correct inetpp.dll version at C:\Windows\System32 folder.After installing the hot fix version will be 6.1.7601.21819 from 6.1.7601.17514.
    Note please uninstall CreatePDF Desktop printer then reinstall after applying the hot fix
    (B). If you have not installed Adobe Postscript driver yet then please install one as below:
    How to Install PS printer:
    1. Open Start menu > Devices and Printer ( or from control panel) and select "Add a printer"
    2. Select "Add a local printer"
    3. Select "Use an existing port: LPT1: (Printer port)
    4. Select any company and any PS printer with Adobe PS printer driver(not clone) such as Xerox and Xerox Phaser 6120PS
    Adobe PS driver files:
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5989811-532123/450-202/PagesfromHowToInstall_PS_PrinterDriver_onWin7.jpg
    (C) Go to the printer configure port and verify your Adobe ID and password
    1. Goto Start> Devices and Printers > Adobe CreatePDF Desktop Printer
    2. Click right mouse to open “Printer properties”.
    3. Select “Ports” tab
    4. Select ”Internet Port: Adobe CreatePDF Desktop printer”
    5. Click “Configure Port…” button at the bottom
      http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5989811-532115/410-417/IPP_Scr eenshot.png
    When printing to PDF you will see below and an email is delivered to your email inbox.  The converted PDF file will be stored at https//files.acrobat.com.
      http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5989811-532116/395-199/IPP_Scr eenshot_Queue.png
    Thank you
    Hisami
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5989811#5989811
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5989811#5989811
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5989811#5989811. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Adobe PDF Pack (formerly CreatePDF) at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • PDFs with Arabic fonts

    I got problems with PDFs with Arabic fonts?
    Is it  a frequent??

    What specific problems are you having? In the general case, we know that Hebrew, Arabic, and other non-Latin fonts do properly display with the Adobe Reader assuming of course that the fonts are properly embedded in the PDF files.
              - Dov

  • Report to Purchase Orders with Good Receipt and pending for Invioce Receipt

    Hello,
    I'm looking a report bring me Purchase Orders with Goods Receipt and waiting for Invioce Verificacion (MIRO).
    I appreciate any help.
    Regards,
    Hector

    Hi,
    ME2N - In selection screen, enter Selection parameters as
    WE102 i.e. Goods receipt exists and in output screen put a filter on "Still to be invoiced (qty)" and "Still to be invoiced (val.)" as not equal to zero OR greater than Zero.
    OR use RECHNUNG i.e. Open invoices and execute the report
    OR Use MB5S - GR/IR Balances

  • Unable to send mail with different fonts and colors

    Hi All,
    here is the explanation for my problem:
    I am sending mail using javamail. when i send the text with different font and color its not received in the same way. it is simply sending as plain text.
    Please help me on this issue.
    Thanks
    NG

    Hello,
    I am trying to develop an email application. It consists on sending email from [email protected] to [email protected]
    How can I do this in java ?
    I am using this software but it works only with gmail !!
             * Send Email to the webmaster
             String  d_email = "[email protected]",
                     d_host = "smtp.gmail.com",
                     d_port  = "465",
                     m_to = "[email protected]",
                     m_subject = "Email from user";
             Properties props = new Properties();
             props.put("mail.smtp.user", d_email);
             props.put("mail.smtp.host", d_host);
             props.put("mail.smtp.port", d_port);
             props.put("mail.smtp.starttls.enable","true");
             props.put("mail.smtp.auth", "true");
             props.put("mail.smtp.debug", "true");
             props.put("mail.smtp.socketFactory.port", d_port);
             props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
             props.put("mail.smtp.socketFactory.fallback", "false");
             SecurityManager security = System.getSecurityManager();
             try
                Authenticator auth = new SMTPAuthenticator();
                Session session = Session.getInstance(props, auth);
                //session.setDebug(true);
                MimeMessage msg = new MimeMessage(session);
                msg.setText("This is a message from: "+UserEmail+"\n "+UserMessage);
                msg.setSubject(m_subject);
                msg.setFrom(new InternetAddress(d_email));
                msg.setSentDate(new Date());
                msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
                Transport.send(msg);
             catch (Exception ex)
                ex.printStackTrace();
                out.println("Messaging ERROR: " + ex);
                out.println(stack2string(ex));
                    if(ex.getMessage().compareTo("")!=0)
                        check = "Message NOT SENT " + ex.getMessage();
        private class SMTPAuthenticator extends javax.mail.Authenticator
            public PasswordAuthentication getPasswordAuthentication()
                return
    new PasswordAuthentication("[email protected]", "pwd");
        }please advice

  • Exporting to pdf with page marks and color separations

    Hi All.,
    I have a requirement to export the current document as PDF file. I am using the export provider with the service registry to export the document as pdf file. The code works successfully. Now I have a requirement where I need to save the pdf with color separations and page marks. First I need some information on what does page marks and color separations actually mean for a pdf file. And second I need to know how this could be achieved. Do I have to set some preferences? I have tried setting preference for color , bleed and it works. But I am not sure whether this satisfies the requirement. I would be thankful if someone would suggest me on the same.
    Thanks in Advance
    Vishnu

    Hi,
    In my experienced it cant, you can export it to pdf but you dont have the ability to make it fillable, unless doing it manually, from the exported pdf, install an Adobe Professional software to have capability to save data's.
    Regards,
    Clint

  • Why does Illustrator CS4 save pdfs with clipping paths and make rasters of gradient areas

    I am on a IMAC and upgraded to 10.6.8 Jan 2014. I am using CS4 Illustrator to create with. When i save my work as a pdf then reopen the pdf in Ill to make changes, the whole page has:
    A.) Multiple clipping paths around it
    B.) Most text has now become outlined. Not editable anymore.
    C.) Gradient areas have multiple clipping paths of the single gradient area
    D.) The gradient areas now become rasterized.
    This is very frustrating as now all of my marketing files, some 300+, are worthless. I don't know where to look anymore to find the problem.
    Please help.
    Thank you very much

    John,
    I have the presets as you have shown. I had been editing the supplied items as you suggested. Then figured i should ask the questions of those who are better than I.
    But still a bit confused as to why the new save places clipping paths around the document.
    Thank you John and Monika for your help.
    why does Illustrator CS4 save pdfs with clipping paths and make rasters of gradient areas
    created by John Mensinger in Illustrator - View the full discussion
    I do a save as "pdf" in the format pull down tab. I save to a folder on the hard drive. Where is the "Illustrator editability" check box? I presumed it is in Acrobat some where
    but i seem to be lost.
    It is in Illustrator's Save Adobe PDF dialog, which pops up before the saved file is written.
    https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6439399-644928/450-397/Untitl ed-1.jpg
    Sorry i didn't mention this, but this seems to have occurred when using images and text from provided pdfs.
    That's a critical fact. If you didn't do the original save, the above is moot, and it's too late to exercise any control over the save process. Someone else failed to save for editability. The only thing you can do is clean up/repair the content, (release clipping masks, rebuild rasterized elements, expand objects, etc.), and save correctly as AI. Then, if necessary, re-save as PDF with the correct settings.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6439399#6439399
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Illustrator by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • SUS POs update with Goods Receipts and Invoices Information

    Hi SRM Experts,
    We have a SRM - SUS - R/3 landscape.
    1. We create POs in SRM (extended classic scenario) and transfer them to R/3 (via RFC) and to SUS (via XI – Interfaces PurchaseOrderRequest_Out and PurchaseOrderChangeRequest_Out).
    2. We post Goods Receipts into SRM (or alternatively into R/3).
    3. We post Invoices into R/3.
    Is it possible to update SUS POs with Goods Receipts and Invoices Information?
    If yes, what do we have to do to update this information into SUS POs?
    Thank you very much and kind regards,
    Marco.

    Hi Marco,
    you want to update SUS POs with GR / IV data?
    In a SUS environment each document counts as an own document and needs to
    be customized. I am not sure about understanding your requirement.
    Using the SUS-MM scenario in a classic environment enables the exchange of
    documents for PO / GR / IV in a "ping-pong" mode. SUS always needs a document,
    on which the next action can be based on.
    Thanks,
    Claudia

  • I'm trying to replace a missing font and apparently it's a graphic.  It's not letting me replace with another font and click change.  I can't export until it's fixed and I need to fix / bypass as soon as possible.

    I'm trying to replace a missing font and apparently it's a graphic.  It's not letting me replace with another font and click change.  I can't export until it's fixed and I need to fix / bypass as soon as possible.

    Go find the graphic in question, and open it in its native program. The problem will have to be fixed there.

  • Office365 macbook air while copy paste and change font to tahoma forarded message remain with different fonts and size not accepting change

    office365 macbook air while copy paste and change font to tahoma forarded message remain with different fonts and size not accepting change
    mac yosemite
    office365

    Also here's the log before it happened. As you can see there is no activity from 9:48 to 10:00 am when the sound occurred.
    23/02/2014 9:48:12.792 am ntpd[52]: FREQ state ignoring -0.145411 s
    23/02/2014 9:48:15.258 am WindowServer[96]: _CGXHWCaptureWindowList: No capable active display found.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000280
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319378: AirPort_Brcm43xx::powerChange: System Sleep
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319390: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
    23/02/2014 10:00:04.000 am bootlog[0]: BOOT_TIME 1393167604 0
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.appstore" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl".
    Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".

Maybe you are looking for

  • SAP R/3 Mapping with EDI IDOC's 846 and 852 (Outbound)

    Hi: How are the following EDI IDOC Types mapped in SAP - R/3? 1. Inventory Inquiry / Advice (846) 2. Product Activity Data (852) What is the basic type, message type, idoc type that has to be used in both the cases - outbound based ones. This is a co

  • Premiere Elements 11 will not install in win7 64-bit

    I am trying to install Premiere Elements 11 on a Win7 64-bit machine. I did it last year on another machine just like it, but now I get an error message saying it won't work in 64-bit. The license is valid and paid up. Can I get a new link to a fresh

  • How do I download Photoshop CS6

    I am very discouraged right now.  I am a student and last semester I needed Adobe Photo shop. It was CS6.  It worked great then my trial expired.  So I paid for Adobe Creative Cloud and when I downloaded the programs that I needed the photo shop woul

  • Pictures do not appear in webpages.

    I have many webpages containig picture links. They are linked by <img src="URL/*.JPG"> I did not have any troubles with this for many many years. This morning while I was editing one of the pages, all of a sudden the pictuers stopped appearing. The t

  • Out of Range devices shown as connected

    I use my MacBook Air in clam-shell mode at home and in the office with the following devices, Apple Wireless Keyboard, Apple Magic Mouse, and Apple LED Cinema Display. Very often my mouse either at home or in the office will fail to connect even afte