Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amyuni
Message
From
01/12/2006 14:50:22
 
 
To
01/12/2006 10:44:34
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Re: Amyuni
Miscellaneous
Thread ID:
01174099
Message ID:
01174240
Views:
12
From VFP you print the report (I assume you mean PDF, not TIFF) using REPORT FORM just like you would print to any other printer. There is some code at http://fox.wikis.com/wc.dll?Wiki~UsingAmyuniPDFConverterWithVFP~VFP that might be helpful.


>I am evaluating the Amyuni activex controls to convert a tiff file to pdf using the Amynui controls.
>
>I was looking at the examples at the website but could not get any one to accomplish this one.
>I just do not know how to print the tiff file.
>
>Here is what I am trying to do :
>
>
>
>cdi = CREATEOBJECT("CDIntfEx.CDIntfEx")
>TRY
> cdi.DriverInit("Amyuni PDF Suite")
>CATCH
> =MESSAGEBOX("Sorry, printer not found")
>ENDTRY
>
>cdi.FileNameOptionsEx = NoPrompte + UseFileName
>cdi.DefaultFileName = MyDirectory + "teco.pdf"
>cdi.EnablePrinter(LicensedTo,ActivationCode)
>
>******** HOW DO I READ THE TIFF FILE TO SEND IT TO THE PRINTER?????????
>
>cdi.SetDefaultPrinter()
>cdi.RestoreDefaultPrinter()
>cdi = null
>
>
>
>
>
>Any help is appreciated.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform