Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Amyuni
Message
 
À
05/12/2003 01:21:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Re: Amyuni
Divers
Thread ID:
00856164
Message ID:
00857857
Vues:
29
Hi Jos,

Did you install the Amyuni drivers using the included intall.exe program?

The Amyuni documentation recommends that you only call the driverinit once in the application.

We wanted to load/install the Amyuni drivers dynamically (loaded by the VFP app and unloaded when the APP ends). But there was an issue about installing printers on XP, W2K machines when the user does not have admin access. So we had to install the Amyuni drivers using the included installer.

In our app, we initialize the drivers in the beginning but never call the driverend function at all.

HTH,
Arriyel

>Hi All. Just trying Amyuni but have a strange problem. I am trying to use it in VFP8 under Windows XP/SP1. I want to convert text files to PDF by printing them to the Amyuni printer which basically works easy enough but there's a hitch.
>
>
>Scenario 1:
>
>If I use
>
>
>oPDFPrinter.PDFDriverInit( "Amyuni PDF Converter" )
>
>
>which is the name of the Amyuni printer driver under printer control panel then the printer is removed when I issue the
>
>
>oPDFPrinter.DriverEnd()
>
>
>However, the file is converted properly and as long as I remain within my current session of VFP I can process multiple files. However, when I close VFP and restart then because the printer driver is gone the program does not run again.
>
>
>Scenario 2:
>
>If I use
>
>
>oPDFPrinter.PDFDriverInit( "Some new printer name" )
>
>
>using a dummy printer name then the program works fine except that now the
>
>
>oPDFPrinter.FileNameOptionsEx = pdf_NoPrompt + pdf_UseFileName   && 1+2
>
>
>is ignored and the program prompts me for an output file name even though I have already set one using
>
>
>oPDFPrinter.DefaultFileName = "C:\Amyuni\test.pdf"
>
>
>
>How can I resolve this? In the first case the printer driver is removed and in the second the file option flags are ignored?
>
>Thanks
Speak using soft and sweet words in case you have to eat them later.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform