Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5/6 Report to Pic
Message
De
18/06/2001 20:07:13
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
17/06/2001 17:27:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00520314
Message ID:
00520811
Vues:
14
>>
>>set printer to name "WinFax" && or "Fax" for Microsoft Fax, or "Zetafax" etc...
>>REPORT FORM xyz TO FILE "MyFile.TIF"
>>
>>
>>Now, you have just created a file named Myfile in TIF format. This format is viewed by default in Win98 by Kodak Imaging Preview, and can be printed. Also, it is very compact for documents ( i.e. not images ): they weigh something like 40 to 50k / page.
>>
>
>Thanks Jaime -and Dragan. That sorts it. :)
>
>Anyone have any tips on how now to print a picture-file from within VFP? (or even to call another program which will automatically print it 'full-page' size?)

Put a FoxHWnd control on the report, and have your pictures in a general field. The file will be huge, because general fields (quite unnecessarily) contain a .bmp version of the content, so better keep them in a cursor. Point your FoxHwnd control to the general field in your cursor and that's it. Sorry, can't give you the code because it's proprietary, and, besides, we're not using FoxHwnd - it's LeadTools actually, but I did try FoxHwnd at a time and it should be different only in the Append General ... Class {name} - it should have a different name.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform