Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer DevMode Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01321434
Message ID:
01323053
Vues:
40
Yes I will post the code but I have been a little too busy with other projects to followup on this so I expect later this week to post the code.

Simon


>Can you post RTF printig code?
>
>>Yes it returns 1.
>>
>>Simon
>>
>>
>>>Did you check what Sys(1037,3) returns?
>>>
>>>>
>>>>I am using an ActiveX control to print RTF files. Since this will be used in an automated environment I need to be able to configure the printer settings without user intervention. So after reading articles about the WinAPI and articles by other VFP programmers such as Barbara Peisch I began testing the following code. The print parameters are contained in object (oPrintParam) which is attached to my main application object (goApp). So I wrote a program to convert the parameters into a Printer DevMode Structure which I then write to the printer using Sys(1037).
>>>
>>><snip>
Simon White
dCipher Computing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform