Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error loading printer driver
Message
De
31/10/2010 06:02:13
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
30/10/2010 21:32:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01487656
Message ID:
01487686
Vues:
65
>Here is more:
>
>I downloaded pdfx class just to see if I understand how to implement based on the object assisted style.
>Incorporated it in my program, no problem
>
>
> Local locListener As "PdfListener" Of "Pdfx.vcx"
> locListener = NewObject('PdfListener', 'PDFx.vcx')
> locListener.cCodePage="CP1252" &&CodePage
> locListener.cTargetFileName = Alltrim(lcTFile)
> locListener.QuietMode=.T.
>
>
>and guess what... I get the same error 1958 Error loading printer driver...

Was the report converted from a FPD report? If you sure it was not, skip this.

In the DOS days, every app had its own set of printer drivers, and Fox was no exception. There was a _pdriver array of 51 elements, related to the report editor in some weird way, and setting it up took hours. Luckily, the removal should be a snap.

Once you set up a _pdriver for a report, it would complain with error 1958 if it couldn't find it ("it" being the array, I guess). Just open your report (in the editor and/or as a table) and look for anything that looks like _pdriver. Then clean it out - by either removing the record where it's mentioned, or clearing the memo in which it was stored. Backup frequently.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform