Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print image
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01253570
Message ID:
01253633
Vues:
22
Thanks for help. I will try it as soon as I can. One question though. How do I specify a printer to print to?


>>>>I am converting GIFs encoded data into an unencoded and create a GIF file. Then I print it out. How can I print unencoded data directly to a printer?
>>>
>>>What do you mean by "encoded data"? It it base-64, or something like that?
>
>>Yes it is. I am decoding it and then I am creating a gif file. I want to skip file creation and print decoded data directly to the printer.
>
>You can use GDIPlusX for this. Download the library from here: http://www.codeplex.com/VFPX/Release/ProjectReleases.aspx
>
>Sample code:
>
>DO (LOCFILE("system.prg"))
>loStream = _SCREEN.System.IO.MemoryStream.New(STRCONV(lcEncodedGIF,14))
>loImg = _SCREEN.System.Drawing.Image.FromStream(loStream)
>loImg.ToPrinter()
>
>loImg = NULL
>loStream = NULL
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform