Hi,
I'm trying to create a RTF file with the RTF converter but it always creates a pdf instead. It seems like the FileNameOptionsEx property doesn't work... here's my code.
thanks
Daniel
-------------------------------------------------------------------------------
Const gcCDIntfEx_CompanyName = "MY COMPANY NAME"
Const gcCDIntfEx_ActivationKey = "MY ACTIVATION KEY"
Private Sub Command1_Click()
Dim cdRTF As New CDIntfEx.CDIntfEx
' Initialize the printer
cdRTF.DriverInit "Amyuni RTF Converter"
cdRTF.EnablePrinter gcCDIntfEx_CompanyName, gcCDIntfEx_ActivationKey
cdRTF.Orientation = 1
cdRTF.PaperSize = 1
cdRTF.SetDefaultConfigEx
' Set the RTF Converter as the default printer
cdRTF.SetDefaultPrinter
' Set the default directory and filename
cdRTF.DefaultDirectory = "c:\Temp"
cdRTF.DefaultFileName = "c:\Temp\AnalysisRpt.RTF"
' Set print options
cdRTF.FileNameOptionsEx = 1 + 2 + &H8000000
' Print the report into the RTF file
Me.PrintForm
' Reset the printer
cdRTF.FileNameOptionsEx = 0
cdRTF.RestoreDefaultPrinter
End Sub
-------------------------------------------------------------------------------
Creating an RTF file with converter
-
- Posts: 21
- Joined: Tue Apr 29 2003
- Location: Montreal, Quebec
-
- Posts: 21
- Joined: Tue Apr 29 2003
- Location: Montreal, Quebec
-
- Posts: 21
- Joined: Tue Apr 29 2003
- Location: Montreal, Quebec
pdf to rtf?
Doing a pdf to rtf conversion, instead of creating an rtf text file it appears to create a frame for every line, configured for text embedding not wrapping; and attempting any manipulation such as inserting a paragraph ahead of the document results in unpredictable outcomes. Word 2000, WinXP.
Am I wrong?
Am I wrong?
Hello JonW,
The rtf output depends on what is the option you are using when generating the file. If you are using 'Advanced RTF' than the text will be in frames. If you choose other options like Full RTF, Formated text or Plain text the output will be as text but pictures may not be converted properly.
Depending on your document you need to choose the more convenient option of the RTF Converter.
For more details please check our product manuals ("Amyuni PDF Converter.pdf" for End Users and "Common Driver Interface 210.pdf" for Developers).
Hope this helps
The rtf output depends on what is the option you are using when generating the file. If you are using 'Advanced RTF' than the text will be in frames. If you choose other options like Full RTF, Formated text or Plain text the output will be as text but pictures may not be converted properly.
Depending on your document you need to choose the more convenient option of the RTF Converter.
For more details please check our product manuals ("Amyuni PDF Converter.pdf" for End Users and "Common Driver Interface 210.pdf" for Developers).
Hope this helps