Can't convert certain hyperlinks..

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
CS
Posts: 1
Joined: Wed Apr 12 2006

Can't convert certain hyperlinks..

Post by CS »

Just got the latest product downloaded and playing with it a bit.

dim cdi As New CDIntfEx.CDIntfEx
dim NoPrompt = &H1&
dim ConvertHyperlinks = &H100000

cdi.PDFDriverInit(sPrinter)
cdi.EnablePrinter(LicensedTo, License)
cdi.SetDefaultPrinter()
cdi.FileNameOptionsEx = NoPrompt + ConvertHyperlinks
cdi.HorizontalMargin = 0
cdi.Orientation = 2
cdi.PaperSize = 5
cdi.SetDefaultConfigEx()

cdi.BatchConvert("c:\docs\test.doc")

cdi.RestoreDefaultPrinter()
cdi.DriverEnd()
cdi = Nothing

The only thing the test.doc file has in it is some text and 2 hyperlinks like so:
Here are some links:
Hyperlink 1 is like so: http://www.amyuni.com
Hyperlink 2 is like so: Amyuni Tech
Hyperlink 1 works when using the above code.
Hyperlink 2 does NOT.

Am I missing something here?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Convert Hyperlinks converts only explicit links, the text hyperlinks are not supported.

If you are printing from Word however wehave a mcro that you can use to convert internal hyperlinks and table of content.
Post Reply